diff --git a/Box_Type2_Generator.scad b/Box_Type2_Generator.scad index 3358f4c..1e51b6b 100644 --- a/Box_Type2_Generator.scad +++ b/Box_Type2_Generator.scad @@ -40,7 +40,8 @@ module generate_box(INNER_X, INNER_Y, INNER_Z, WALLSIZE, OVERLAP_Z, NOTCH_WIDTH, // Box lid translate([WALLSIZE, WALLSIZE, INNER_Z+WALLSIZE*4]) { - cube([INNER_X, INNER_Y, OVERLAP_Z]); + translate([0.5, 0.5, 0]) + cube([INNER_X-1, INNER_Y-1, OVERLAP_Z]); translate([-WALLSIZE, -WALLSIZE, OVERLAP_Z]) cube([INNER_X+WALLSIZE*2, INNER_Y+WALLSIZE*2, WALLSIZE]); }