chiark / gitweb /
flyscreen-handle: bot adj cutout is better
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Aug 2016 15:54:57 +0000 (16:54 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Aug 2016 15:54:57 +0000 (16:54 +0100)
flyscreen-handle.scad

index bdae86586f9e0e010ed814aa06e1f0e767073da9..0b0e415ffde80109484562a4a34a4833d9b76aca 100644 (file)
@@ -110,15 +110,17 @@ module LeverSect(top, inadj=false){
   P6 = inadj ? P6a : P6t;
   P8 = top ? P8t : P8b;
   P9 = top ? P9t : P9b;
-  PsHull([P2,P3,P4]);
   difference(){
-    PsHull([P0,P1,P2,P5,P8,P9]);
+    union(){
+      PsHull([P2,P3,P4]);
+      PsHull([P0,P1,P2,P5,P8,P9]);
+    }
     hull(){
-      for (p = [ Q0,
-                Q0 + (P6-P5),
-                Q0 + (P3-P4)
-                ]) {
-       translate(p) circle(r=edge_or, $fn=20);
+      for (dp = [ [0,0],
+                 (P6-P5),
+                 (P3-P4)
+                 ]) {
+       translate(Q0 + 5*dp) circle(r=edge_or, $fn=20);
       }
     }
   }
@@ -179,5 +181,6 @@ module Test(){
   translate([0,-opening_height - 2,0]) LeverBot(true);
 }
 
+//LeverSectBot(true);
 Demo();
 //Test();