Fix placing code

This commit is contained in:
maride 2019-01-09 15:38:01 +01:00
parent 40d87fc568
commit 72b5903196

View File

@ -44,7 +44,7 @@ module generate_box(INNER_X, INNER_Y, INNER_Z, WALLSIZE, OVERLAP_Z, NOTCH_WIDTH,
union() { union() {
translate([INNER_X/2-NOTCH_WIDTH/2+WALLSIZE, 0, 0]) translate([INNER_X/2-NOTCH_WIDTH/2+WALLSIZE, 0, 0])
cube([NOTCH_WIDTH, NOTCH_DEPTH, INNER_Z+WALLSIZE*6]); cube([NOTCH_WIDTH, NOTCH_DEPTH, INNER_Z+WALLSIZE*6]);
translate([INNER_X/2-NOTCH_WIDTH/2+WALLSIZE, INNER_Y+WALLSIZE+NOTCH_DEPTH, 0]) translate([INNER_X/2-NOTCH_WIDTH/2+WALLSIZE, INNER_Y + WALLSIZE + (WALLSIZE-NOTCH_DEPTH), 0])
cube([NOTCH_WIDTH, NOTCH_DEPTH, INNER_Z+WALLSIZE*6]); cube([NOTCH_WIDTH, NOTCH_DEPTH, INNER_Z+WALLSIZE*6]);
} }
} }