chiark / gitweb /
sewing-table: TEST commitid: break out cidsz (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 May 2017 00:58:39 +0000 (01:58 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 May 2017 00:58:39 +0000 (01:58 +0100)
sewing-table.scad.m4

index 201b28c909558178096882ea347354e98f100a97..c582e50f5333bb70c206498e14eab13dbb878d98 100644 (file)
@@ -175,8 +175,9 @@ module TileBase(botleft, topright){
     }
     if (TEST) {
       crossoff = tile_hard_edge_hole_dist + POST_TCROSSSZ/2;
     }
     if (TEST) {
       crossoff = tile_hard_edge_hole_dist + POST_TCROSSSZ/2;
+      cidsz = [ size[0] - 2*crossoff, thehd[1] ];
       translate( concat(botleft + [crossoff, 0], [0]) )
       translate( concat(botleft + [crossoff, 0], [0]) )
-       Commitid_BestCount([ size[0] - 2*crossoff, thehd[1] ]);
+       Commitid_BestCount(cidsz);
       difference(){
        mirror([0,0,1]) {
          translate(concat(botleft + [test_edge,test_edge], [test_tile_th]))
       difference(){
        mirror([0,0,1]) {
          translate(concat(botleft + [test_edge,test_edge], [test_tile_th]))