chiark / gitweb /
sewing-table: FitTest: break out teststrap (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 4 Jun 2017 17:07:49 +0000 (18:07 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 4 Jun 2017 17:07:49 +0000 (18:07 +0100)
sewing-table.scad.m4

index dac94efd7cf2fb1deace976c0cdd5c9dc72579de..81c8d4f351f8668d14c5a47bf20cb5551cf8260c 100644 (file)
@@ -78,6 +78,7 @@ teststrapslots_at = [ [ 110, 70 ],
                      [ 190, -80 ],
                      ];
 
+teststrap = [ 3, 5 ];
 teststrap_peg = [7.5, 3.5];
 
 // calculated
@@ -523,13 +524,12 @@ module Machine_Curves(){ ////toplevel
 
 module TestStrapSlots(){
   pegwidth = teststrap_peg[0];
-  strap = [ 3, 5 ];
   for (pos = teststrapslots_at) {
     echo("TSS",pos);
     translate(concat(pos,[0]))
       for (mx = [0,1]) mirror([mx,0,0]) {
-         translate([ pegwidth/2, -strap[1]/2, -20 ])
-           #cube(concat(strap,[40]));
+         translate([ pegwidth/2, -teststrap[1]/2, -20 ])
+           #cube(concat(teststrap,[40]));
        }
   }
 }