Add function to deactivate the inner overlap

This commit is contained in:
maride 2017-11-22 21:27:52 +01:00
parent ec7f33b041
commit a1df26afeb

View File

@ -3,6 +3,13 @@ INNER_Y=60;
INNER_Z=30;
WALLSIZE=4;
OVERLAP_Z=WALLSIZE;
/*
* The size of the inner overlap size
* Set OVERLAP_Z to 0 to deactivate the overlap area at all.
* In most cases, it should be enough to set it to WALLSIZE.
*/
NOTCH_WIDTH=5;
NOTCH_DEPTH=2;
/*
@ -22,8 +29,8 @@ difference() {
// Box lid
translate([WALLSIZE, WALLSIZE, INNER_Z+WALLSIZE*4]) {
cube([INNER_X, INNER_Y, WALLSIZE]);
translate([-WALLSIZE, -WALLSIZE, WALLSIZE])
cube([INNER_X, INNER_Y, OVERLAP_Z]);
translate([-WALLSIZE, -WALLSIZE, OVERLAP_Z])
cube([INNER_X+WALLSIZE*2, INNER_Y+WALLSIZE*2, WALLSIZE]);
}
}