}
}
-module InterlockEdgePlan(negative, nlobes, length) {
+module InterlockEdgePlan(negative, nlobes, length, dosquare=true) {
for (lobei = [ 0 : nlobes-1 ]) {
lobex = (length - thehd[0]*2) * (lobei ? lobei / (nlobes-1) : 0);
translate([lobex, 0, 0]) {
}
}
- iadj = interlock_sq_adj;
- slotshorter = negative ? 0 : interlock_fine_lenslop;
- mirror([0, negative])
- translate([slotshorter, iadj])
- square([length - slotshorter*2, interlock_fine + iadj*2]);
+ if (dosquare) {
+ iadj = interlock_sq_adj;
+ slotshorter = negative ? 0 : interlock_fine_lenslop;
+ mirror([0, negative])
+ translate([slotshorter, iadj])
+ square([length - slotshorter*2, interlock_fine + iadj*2]);
+ }
}
module InterlockEdge(left_cnr, right_cnr, negative=0, nlobes=2) {