chiark / gitweb /
poster-tube-lid: move bayo to centre opening on axis
[reprap-play.git] / flyscreen-handle.scad
index 36205f12748edf86e6ab7bf10fd148f55ba3fdc2..5f1f643f6d0abf3b405c6da2c4bcc1756c34eeb8 100644 (file)
@@ -158,16 +158,22 @@ module StrapSectBot(){
   }
 }
 
+module Ribbles(xmax, xmin, y){
+  for (x = [ xmax + ourcirc_r - ribble_rad :
+            -ribble_rad * 4 :
+            xmin ]) {
+    translate([x, y])
+      circle(r = ribble_rad, $fn=20);
+  }
+}
+
 module LeverSectTop(){
   difference(){
     union(){
       LeverSect(true, false);
-      for (x = [ P8t[0] + ourcirc_r - ribble_rad :
-                -ribble_rad * 4 :
-                Q0[0] + edge_or + ribble_rad*2 ]) {
-       translate([x, P5[1] + ourcirc_r])
-         circle(r = ribble_rad, $fn=20);
-      }
+      Ribbles(P8t[0],
+             Q0[0] + edge_or + ribble_rad*2,
+             P5[1] + ourcirc_r);
     }
     translate([pivot_x,0]) circle(r= pivot_r + pivot_slop, $fn=20);
   }
@@ -179,6 +185,9 @@ module LeverSectBot(inadj=false){
     LeverSect(false, inadj);
     PsHull([P5,P6,P7]);
     PsHull([P8b,P8eb,P9eb,P9b]);
+    Ribbles(P8eb[0],
+           P9b[0],
+           P8eb[1]);
     translate([pivot_x,0]) circle(r=pivot_r, $fn=20);
   }
 }