From 372aabb35fe4dc0cfb9dc7b74e516762ced5aaad Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 2 Jan 2017 15:35:52 +0000 Subject: [PATCH] sewing-table: Interlock: tongue/groove wip (nfc apart from echo) --- sewing-table.scad.m4 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index b09d59a..34f1c7d 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -185,10 +185,12 @@ module InterlockEdge(left_cnr, right_cnr, negative=0, nlobes=2) { ys0 = vsect[2]; ys1 = vsect[2]; ysd = ys1-ys0; - multmatrix([ [ 1,0,0,0 ], - [ 0,1,0,0 ], - [ 0,0,1,zs0 ], - [ 0,0,0,1 ] ]) + m = [ [ 1,0,0,0 ], + [ 0,1,0,0 ], + [ 0,0,1,zs0 ], + [ 0,0,0,1 ] ]; + echo(m); + multmatrix(m) linear_extrude(height=zsd, convexity=10) InterlockEdgePlan(negative, nlobes, length); } -- 2.30.2