chiark / gitweb /
steamer-handle-clip: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 25 Oct 2020 21:42:17 +0000 (21:42 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 25 Oct 2020 21:42:17 +0000 (21:42 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
steamer-handle-clip.scad

index eb06b7b06af17ec5f5510b45e0451e30f60f3418..477070ebd0d472068a3aef6a3e659b09e0d32c4a 100644 (file)
@@ -1,6 +1,7 @@
 // -*- C -*-
 
 include <funcs.scad>
+include <utils.scad>
 
 width = 20;
 cup = 2.5;
@@ -14,10 +15,16 @@ r = a / (1 - cos(2*alpha));
 C = [0, a-r];
 
 module Thing() {
-  translate(C)
-    circle(r=r);
-//  translate([0, -20])
-//    square(center=true, [width, 40]);
+  intersection(){
+    hull(){
+      translate(C)
+       circle(r=r);
+      translate([0, -jaw])
+       square(center=true, [width, 10]);
+    }
+    rectfromto([ -width/2, -jaw ],
+              [  width/2,  20  ]);
+  }
 }
 
 Thing();