-module InterlockLobeCore(negative=0) {
- r = negative ? interlock_negative_rad : interlock_rad;
- plusth = negative * 1.0;
- ymir = negative ? 0 : 1;
- translate([0, 0, plusth]){
- mirror([0,0,1]){
- linear_extrude(height=tile_th+plusth*2, convexity=10){
- InterlockLobePlan(r, ymir);
- }
+module InterlockEdgePlan(negative, nlobes, length) {
+ iadj = 0.1;
+
+ for (lobei = [ 0 : nlobes-1 ]) {
+ lobex = (length - thehd[0]*2) * (lobei ? lobei / (nlobes-1) : 0);
+ translate([lobex, 0, 0]) {
+ InterlockLobePlan(negative);