chiark / gitweb /
sewing-table: FitTest_PairLink: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 4 Jun 2017 11:33:12 +0000 (12:33 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 4 Jun 2017 11:33:12 +0000 (12:33 +0100)
sewing-table.scad.m4

index 7c95db9682b16029b972a150ad1a2e3e69b6f219..7f59091d50c25c091516362163b23588858b7c0c 100644 (file)
@@ -832,23 +832,17 @@ module FitTest_PairLink(cut=false){ ////toplevel
   cy0=-55; cy1=85; cx=127;
   bar = [10,10];
   legrad = 12;
-  footrad_min = 4; footrad_max = 6; footrad_depth = 3;
+  footrad_min = 2; footrad_max = 4; footrad_depth = 3;
+  strap = [3,5];
+
+  // calculated
+  straphole_x_max = legrad/sqrt(2) + footrad_max;
 
   translate([cx - bar[0]/2, cy0, 0])
     cube([bar[0], cy1-cy0, bar[1]]);
   for (endy=[cy0,cy1]) {
     $fn=32;
     translate([cx,endy,0]){
-      for (rot=[45,135]) {
-       rotate(rot){
-         hull(){
-           for (s=[-1,+1]){
-             translate([s*legrad,0,0])
-               cylinder(r= footrad_max, h=bar[1]);
-           }
-         }
-       }
-      }
       for (rot=[45:90:315]) {
        rotate(rot){
          translate([legrad,0,0]){
@@ -860,14 +854,26 @@ module FitTest_PairLink(cut=false){ ////toplevel
          }
        }
       }
+      for (rot=[45,135]) {
+       rotate(rot){
+         hull(){
+           for (s=[-1,+1]){
+             translate([s*legrad,0,0])
+               cylinder(r= footrad_max, h=bar[1]);
+           }
+         }
+       }
+      }
     }
   }
 }
 
 module FitTest_PairDemo(){ ////toplevel
-  FitTest_PairLink();
-  %FitTest_FrontCurve();
-  %FitTest_RearCurve();
+  translate([-120,0,0]){
+    FitTest_PairLink();
+    %FitTest_FrontCurve();
+    %FitTest_RearCurve();
+  }
 }
 
 module RoundCornerDemo_plat(cnr){