From: Ian Jackson Date: Thu, 25 May 2017 01:11:08 +0000 (+0100) Subject: sewing-table: TEST commitid: put roughly in middle of the other edge X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=f0061147caa6daa463e1a83e2f247bced498e2ec sewing-table: TEST commitid: put roughly in middle of the other edge --- diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index 80d86c8..9bc6b02 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -175,10 +175,10 @@ module TileBase(botleft, topright){ } if (TEST) { crossoff = tile_hard_edge_hole_dist + POST_TCROSSSZ/2; - cidsz = [ size[0] - 2*crossoff, thehd[1] ]; - translate( concat(botleft + [crossoff, 0] + cidsz, [0]) ) - rotate([0,0,180]) - Commitid_BestCount(cidsz); + cidsz = [ thehd[0], size[1] - 2*crossoff ]; + cidszr = [ cidsz[0], min(cidsz[1], 50) ]; + translate( concat(botleft + [0, crossoff] + (cidsz-cidszr)/2, [0]) ) + Commitid_BestCount(cidszr); difference(){ mirror([0,0,1]) { translate(concat(botleft + [test_edge,test_edge], [test_tile_th]))