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

index 7f59091..3e75bc2 100644 (file)
@@ -843,24 +843,22 @@ module FitTest_PairLink(cut=false){ ////toplevel
   for (endy=[cy0,cy1]) {
     $fn=32;
     translate([cx,endy,0]){
-      for (rot=[45:90:315]) {
-       rotate(rot){
-         translate([legrad,0,0]){
-           hull(){
-             cylinder(r= footrad_max, h=1);
-             translate([0,0,-footrad_depth])
-               cylinder(r= footrad_min, h=1);
-           }
+      // feet
+      for (rot=[45:90:315]) rotate(rot) {
+       translate([legrad,0,0]){
+         hull(){
+           cylinder(r= footrad_max, h=1);
+           translate([0,0,-footrad_depth])
+             cylinder(r= footrad_min, h=1);
          }
        }
       }
-      for (rot=[45,135]) {
-       rotate(rot){
-         hull(){
-           for (s=[-1,+1]){
-             translate([s*legrad,0,0])
-               cylinder(r= footrad_max, h=bar[1]);
-           }
+      // legs
+      for (rot=[45,135]) rotate(rot) {
+       hull(){
+         for (s=[-1,+1]){
+           translate([s*legrad,0,0])
+             cylinder(r= footrad_max, h=bar[1]);
          }
        }
       }