Fix placing code
This commit is contained in:
parent
40d87fc568
commit
72b5903196
@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user