From ba5811ad415dcdaeb705168720c7f60f7cc0add7 Mon Sep 17 00:00:00 2001 From: maride Date: Sat, 25 Nov 2017 15:05:29 +0100 Subject: [PATCH] Add tolerance --- Box_Type2_Generator.scad | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]); }