chiark / gitweb /
sewing-table: fix post calculation (nfc for Tile10, bugfix for Tile00
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 May 2017 00:32:59 +0000 (01:32 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 May 2017 00:32:59 +0000 (01:32 +0100)
sewing-table.scad.m4

index 37b46b6dafa2a6db10922af8ce04aab812ab2347..e4ead979bb95194198eacc7947d3b642f7aa5d00 100644 (file)
@@ -621,7 +621,7 @@ module Tile10(){ ////toplevel
   cty = cutout_tile11_y;
   rcy = cty + rearcurve_avoid_y;
   posts = [ cnr_posts[0] + [ 0,                             cty ],
   cty = cutout_tile11_y;
   rcy = cty + rearcurve_avoid_y;
   posts = [ cnr_posts[0] + [ 0,                             cty ],
-           cnr_posts[1] + [ -sz[1] + rearedge_len - cutout_l_end_x, cty ],
+           cnr_posts[1] + [ -sz[0] + rearedge_len - cutout_l_end_x, cty ],
            cnr_posts[1] + [ 0,                             rcy ],
            cnr_posts[2],
            cnr_posts[3] ];
            cnr_posts[1] + [ 0,                             rcy ],
            cnr_posts[2],
            cnr_posts[3] ];
@@ -650,7 +650,7 @@ module Tile00(){ ////toplevel
   posts = [ cnr_posts[0],
            cnr_posts[1],
            cnr_posts[2] + [ 0,                             -rcy ],
   posts = [ cnr_posts[0],
            cnr_posts[1],
            cnr_posts[2] + [ 0,                             -rcy ],
-           cnr_posts[2] + [ -sz[1] + rearedge_len - cutout_l_end_x, -cty ],
+           cnr_posts[2] + [ -sz[0] + rearedge_len - cutout_l_end_x, -cty ],
            cnr_posts[3] + [ 0,                             -cty ]
            ];
   rcs = [R_EDGE(c,1)];
            cnr_posts[3] + [ 0,                             -cty ]
            ];
   rcs = [R_EDGE(c,1)];