parameterize the frame wall cutout for readability's sake
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
		
							parent
							
								
									aff6efebb3
								
							
						
					
					
						commit
						623118b627
					
				@ -352,14 +352,14 @@ module frame() {
 | 
			
		||||
// for cutting out slashes from the frame outer wall
 | 
			
		||||
module slash_cutout() {
 | 
			
		||||
	polyhedron([
 | 
			
		||||
		[slash_inner_displacement/2, -frame_wall/2, -slash_height/2],
 | 
			
		||||
		[(slash_inner_displacement/2+slash_width), -frame_wall/2, -slash_height/2],
 | 
			
		||||
		[(slash_inner_displacement/2+slash_width), frame_wall/2, -slash_height/2],
 | 
			
		||||
		[slash_inner_displacement/2, frame_wall/2, -slash_height/2],
 | 
			
		||||
		[-(slash_inner_displacement/2+slash_width), -frame_wall/2, slash_height/2],
 | 
			
		||||
		[-slash_inner_displacement/2, -frame_wall/2, slash_height/2],
 | 
			
		||||
		[-slash_inner_displacement/2, frame_wall/2, slash_height/2],
 | 
			
		||||
		[-(slash_inner_displacement/2+slash_width), frame_wall/2, slash_height/2]
 | 
			
		||||
		[slash_inner_displacement/2, -wall_cutout_depth, -slash_height/2],
 | 
			
		||||
		[(slash_inner_displacement/2+slash_width), -wall_cutout_depth, -slash_height/2],
 | 
			
		||||
		[(slash_inner_displacement/2+slash_width), wall_cutout_depth, -slash_height/2],
 | 
			
		||||
		[slash_inner_displacement/2, wall_cutout_depth, -slash_height/2],
 | 
			
		||||
		[-(slash_inner_displacement/2+slash_width), -wall_cutout_depth, slash_height/2],
 | 
			
		||||
		[-slash_inner_displacement/2, -wall_cutout_depth, slash_height/2],
 | 
			
		||||
		[-slash_inner_displacement/2, wall_cutout_depth, slash_height/2],
 | 
			
		||||
		[-(slash_inner_displacement/2+slash_width), wall_cutout_depth, 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]]);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -9,7 +9,7 @@ use <front-or-back.scad>
 | 
			
		||||
use <front-or-back-inner-wall.scad>
 | 
			
		||||
 | 
			
		||||
module front_stripe() {
 | 
			
		||||
	cube([frame_x-(frame_mount_column_width*1.75)*2, frame_wall, 5], center=true);
 | 
			
		||||
	cube([frame_x-(frame_mount_column_width*1.75)*2, wall_cutout_depth, 5], center=true);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
module horiz_striped_windowed_front_or_back_frame_piece() {
 | 
			
		||||
 | 
			
		||||
@ -9,7 +9,7 @@ use <side.scad>
 | 
			
		||||
use <side-inner-wall.scad>
 | 
			
		||||
 | 
			
		||||
module side_stripe() {
 | 
			
		||||
	cube([frame_wall, frame_y-(frame_mount_column_width*1.75)*2, 5], center=true);
 | 
			
		||||
	cube([wall_cutout_depth, frame_y-(frame_mount_column_width*1.75)*2, 5], center=true);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
module horiz_striped_windowed_side_frame_piece() {
 | 
			
		||||
 | 
			
		||||
@ -104,6 +104,10 @@ neutrik_d_radius = 12 + hole_tolerance;
 | 
			
		||||
decorative_radius_scale = 1.75;
 | 
			
		||||
jumbo_decorative_radius_scale = 2;
 | 
			
		||||
 | 
			
		||||
// decorative wall cutout parameters
 | 
			
		||||
// thicker than the actual base wall to account for the longish pieces
 | 
			
		||||
wall_cutout_depth = frame_wall * 3;
 | 
			
		||||
 | 
			
		||||
// decorative slash parameters
 | 
			
		||||
slash_inner_displacement = 10;
 | 
			
		||||
slash_width = 15;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user