From: Ian Jackson Date: Mon, 2 Jan 2017 14:51:53 +0000 (+0000) Subject: sewing-table: Interlock: transpose extrude and iteration (nfc) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=3cd55e2339a724d8b5aea5495736779f019e2168 sewing-table: Interlock: transpose extrude and iteration (nfc) --- diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index dc94aae..04e4598 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -145,12 +145,12 @@ module InterlockEdge(left_cnr, right_cnr, negative=0, nlobes=2) { ymir = negative ? 0 : 1; INREFFRAME(left_cnr, right_cnr) { - for (lobei = [ 0 : nlobes-1 ]) { - lobex = (length - thehd[0]*2) * (lobei ? lobei / (nlobes-1) : 0); - translate([lobex, 0, 0]) { translate([0, 0, plusth]){ mirror([0,0,1]){ linear_extrude(height=tile_th+plusth*2, convexity=10){ + for (lobei = [ 0 : nlobes-1 ]) { + lobex = (length - thehd[0]*2) * (lobei ? lobei / (nlobes-1) : 0); + translate([lobex, 0, 0]) { InterlockLobePlan(r, ymir); } }