parameterize more of the slashes used for windowed walls

this was done for a probably-abandoned attempt at something, but the
parameterization is good anyway

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
Brian S. Stephan 2024-06-28 12:01:49 -05:00
parent bd7b908712
commit 9fd3658518
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
2 changed files with 9 additions and 8 deletions

View File

@ -344,14 +344,14 @@ module frame() {
// for cutting out slashes from the frame outer wall // for cutting out slashes from the frame outer wall
module slash_cutout() { module slash_cutout() {
polyhedron([ polyhedron([
[slash_inner_displacement/2, -frame_wall/2, -(frame_z-panel_z*3)/2], [slash_inner_displacement/2, -frame_wall/2, -slash_height/2],
[(slash_inner_displacement/2+slash_width), -frame_wall/2, -(frame_z-panel_z*3)/2], [(slash_inner_displacement/2+slash_width), -frame_wall/2, -slash_height/2],
[(slash_inner_displacement/2+slash_width), frame_wall/2, -(frame_z-panel_z*3)/2], [(slash_inner_displacement/2+slash_width), frame_wall/2, -slash_height/2],
[slash_inner_displacement/2, frame_wall/2, -(frame_z-panel_z*3)/2], [slash_inner_displacement/2, frame_wall/2, -slash_height/2],
[-(slash_inner_displacement/2+slash_width), -frame_wall/2, (frame_z-panel_z*3)/2], [-(slash_inner_displacement/2+slash_width), -frame_wall/2, slash_height/2],
[-slash_inner_displacement/2, -frame_wall/2, (frame_z-panel_z*3)/2], [-slash_inner_displacement/2, -frame_wall/2, slash_height/2],
[-slash_inner_displacement/2, frame_wall/2, (frame_z-panel_z*3)/2], [-slash_inner_displacement/2, frame_wall/2, slash_height/2],
[-(slash_inner_displacement/2+slash_width), frame_wall/2, (frame_z-panel_z*3)/2] [-(slash_inner_displacement/2+slash_width), frame_wall/2, slash_height/2]
], [[0, 1, 2, 3], [4, 5, 1, 0], [7, 6, 5, 4], [5, 6, 2, 1], [6, 7, 3, 2], [7, 4, 0, 3]]); ], [[0, 1, 2, 3], [4, 5, 1, 0], [7, 6, 5, 4], [5, 6, 2, 1], [6, 7, 3, 2], [7, 4, 0, 3]]);
} }

View File

@ -93,3 +93,4 @@ jumbo_decorative_radius_scale = 2;
// decorative slash parameters // decorative slash parameters
slash_inner_displacement = 10; slash_inner_displacement = 10;
slash_width = 15; slash_width = 15;
slash_height = frame_z-panel_z*3;