From 3cd55e2339a724d8b5aea5495736779f019e2168 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 2 Jan 2017 14:51:53 +0000 Subject: [PATCH] sewing-table: Interlock: transpose extrude and iteration (nfc) --- sewing-table.scad.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } } -- 2.30.2