diff --git a/src/frames/pieces/box/front-or-back-inner-wall.scad b/src/frames/pieces/box/front-or-back-inner-wall.scad index 247fc5f..1744810 100644 --- a/src/frames/pieces/box/front-or-back-inner-wall.scad +++ b/src/frames/pieces/box/front-or-back-inner-wall.scad @@ -17,7 +17,8 @@ module mount_column_cutout() { module front_or_back_inner_wall_frame_base_piece() { difference() { - front_or_back_box_frame_piece(); + // Z is scaled so that some part of the original part inner wall is retained + scale([1, 1, inner_frame_z_decorative_scale]) front_or_back_box_frame_piece(); // minus the outer wall translate([0, -(frame_y-frame_wall)/2, 0]) cube([frame_x, frame_wall, frame_z], center=true); // minus half of the mounting posts (the other half provided by the outer wall) diff --git a/src/frames/pieces/box/side-inner-wall.scad b/src/frames/pieces/box/side-inner-wall.scad index 5b7d128..596cd50 100644 --- a/src/frames/pieces/box/side-inner-wall.scad +++ b/src/frames/pieces/box/side-inner-wall.scad @@ -17,7 +17,8 @@ module mount_column_cutout() { module side_inner_wall_frame_base_piece() { difference() { - side_box_frame_piece(); + // Z is scaled so that some part of the original part inner wall is retained + scale([1, 1, inner_frame_z_decorative_scale]) side_box_frame_piece(); // minus the outer wall translate([-(frame_x-frame_wall)/2, 0, 0]) cube([frame_wall, frame_y, frame_z], center=true); // minus half of the mounting posts (the other half provided by the outer wall) diff --git a/src/parameters.scad b/src/parameters.scad index 32c80e6..578b1d1 100644 --- a/src/parameters.scad +++ b/src/parameters.scad @@ -75,6 +75,12 @@ panel_z = 5; // inside the frame inner_frame_z = frame_z - (panel_z * 2); +// "windowed" pieces chop out the inner wall of the frame as a separate piece in order +// to print it a different color/way/style. to improve friction fit, it is only the below +// value scale of the whole wall, so that the rest of the wall is retained on the outer +// piece, which helps clamp the two together (and helps the panels clamp it all) +inner_frame_z_decorative_scale = 0.95; + // how much the top plate x/y is expanded to overhang the frame // note that this is relative to the top plate (so the wall is added back) panel_overhang_amount = 8.5;