From: Ian Jackson Date: Sun, 1 Jan 2017 21:46:49 +0000 (+0000) Subject: sewing-table: introduce a concat (nfc) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0824b374676ae3b469557f964412c5488fa26472;p=reprap-play.git sewing-table: introduce a concat (nfc) --- diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index 4d818ef..32d69b6 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -57,9 +57,9 @@ module TileBase(botleft_post, topright_post){ size = topright_post - botleft_post + thehd * 2; difference(){ mirror([0,0,1]) - translate([botleft[0], botleft[1], 0]) - cube([size[0], size[1], tile_th]); - translate( [ botleft_post[0], botleft_post[1], -tile_th ] + translate(concat(botleft, [0])) + cube(concat(size, [tile_th])); + translate( concat(botleft_post, [-tile_th]) + 0.5 * [ post_dia, post_dia, 0 ] ) Commitid_BestCount_M( topright_post-botleft_post + [0, thehd[1] ]