chiark / gitweb /
sewing-table: PostTestPiece prep: make $screw_dia a special variable
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Jun 2017 10:05:31 +0000 (11:05 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Jun 2017 10:05:31 +0000 (11:05 +0100)
sewing-table.scad.m4

index 3cd3ce2..19ab138 100644 (file)
@@ -14,7 +14,7 @@ post_dia = 8;
 
 post_shorter = 1;
 
-screw_dia = 3.168;
+$screw_dia = 3.168;
 screw_big_dia = 3.6;
 screw_big_len = 4.0;
 
@@ -151,7 +151,7 @@ module Post(){
        cylinder(r= post_dia/2, h= tile_th + ply_th - post_shorter);
        translate([0,0, tile_th]) {
          cylinder(r= screw_big_dia/2, h= screw_big_len);
-         cylinder(r= screw_dia/2, h= ply_th, $fn=20);
+         cylinder(r= $screw_dia/2, h= ply_th, $fn=20);
        }
       }
     }