chiark / gitweb /
sewing-table: break out teststrapslots_at (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 4 Jun 2017 16:52:22 +0000 (17:52 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 4 Jun 2017 16:52:22 +0000 (17:52 +0100)
sewing-table.scad.m4

index 18ee9d899aa4554a1a456b2d5acf4ed8f26d15e5..bfb00e219c8a9a6137789337e08123cd3be8b9ee 100644 (file)
@@ -72,6 +72,12 @@ frontcurve_z_slop = 0.75;
 frontcurve_strt_len = 50;
 frontcurve_dualcurve_angle = 30;
 
+teststrapslots_at = [ [ 110, 70 ],
+                     [ 180, 90 ],
+                     [ 110, -35 ],
+                     [ 190, -80 ],
+                     ];
+
 // calculated
 
 TEST = false;
@@ -514,14 +520,9 @@ module Machine_Curves(){ ////toplevel
 }
 
 module TestStrapSlots(){
-  at = [[ 110, 70 ],
-       [ 180, 90 ],
-       [ 110, -35 ],
-       [ 190, -80 ],
-       ];
   pegwidth = 7.5;
   strap = [ 3, 5 ];
-  for (pos = at) {
+  for (pos = teststrapslots_at) {
     echo("TSS",pos);
     translate(concat(pos,[0]))
       for (mx = [0,1]) mirror([mx,0,0]) {