From f0061147caa6daa463e1a83e2f247bced498e2ec Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 25 May 2017 02:11:08 +0100 Subject: [PATCH] sewing-table: TEST commitid: put roughly in middle of the other edge --- sewing-table.scad.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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])) -- 2.30.2