X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=sewing-table.scad.m4;h=34f1c7d40257572e94296f44b70add6a37f4b600;hb=372aabb35fe4dc0cfb9dc7b74e516762ced5aaad;hp=b09d59a53d0a615d63453e7c245081fb62c294a5;hpb=c29f6b29a090870aec993b5da29bcbb895af5850;p=reprap-play.git 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); }