From: Ian Jackson Date: Thu, 25 May 2017 01:14:59 +0000 (+0100) Subject: sewing-table: commitids (non-TEST): break out cidsz (nfc) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=af63f80d67127c065bb693cecdba1eaec187627c;p=reprap-play.git sewing-table: commitids (non-TEST): break out cidsz (nfc) --- diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index 9bc6b02..458d00e 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -167,11 +167,12 @@ module TileBase(botleft, topright){ translate(concat(botleft, [0])) cube(concat(size, [tile_th])); if (!TEST) { + cidsz = topright_post-botleft_post + + [-post_dia,-post_dia] + + [0, thehd[1]]; translate( concat(botleft_post, [ -tile_th ]) + 0.5 * [ post_dia, post_dia, 0 ] ) - Commitid_BestCount_M( topright_post-botleft_post - + [-post_dia,-post_dia] - + [0, thehd[1]]); + Commitid_BestCount_M(cidsz); } if (TEST) { crossoff = tile_hard_edge_hole_dist + POST_TCROSSSZ/2;