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 d1d3d94f4939a0570c0da37bbae10f6e0dc66094..25bca6cf5f0a4d9d9c626a25a315d6b8eaf948fc 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]]);
   }
 }