From 0824b374676ae3b469557f964412c5488fa26472 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 1 Jan 2017 21:46:49 +0000 Subject: [PATCH 1/1] sewing-table: introduce a concat (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 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] ] -- 2.30.2