chiark / gitweb /
sewing-table: Fix CommitID in TileBase
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 13:54:31 +0000 (13:54 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 13:54:31 +0000 (13:54 +0000)
sewing-table.scad.m4

index d1d3d94..25bca6c 100644 (file)
@@ -66,8 +66,7 @@ module Posts(posts) {
 module TileBase(botleft, topright){
   size = topright - botleft;
   botleft_post = botleft + thehd_tr;
-  topright_post = topright - thehd_bl;
-  echo(botleft_post, topright_post);
+  topright_post = topright + thehd_bl;
   difference(){
     mirror([0,0,1])
       translate(concat(botleft, [0]))
@@ -75,8 +74,8 @@ module TileBase(botleft, topright){
     translate( concat(botleft_post, [-tile_th])
               + 0.5 * [ post_dia, post_dia, 0 ] )
       Commitid_BestCount_M( topright_post-botleft_post
-                           + [0, thehd[1] ]
-                           + [-post_dia,-post_dia] );
+                           + [-post_dia,-post_dia]
+                           + [0, thehd[1]]);
   }
 }