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

index 0351a96f2c28af0421793670655988d48b8d12e8..eb06b7b06af17ec5f5510b45e0451e30f60f3418 100644 (file)
@@ -10,7 +10,7 @@ a = cup;
 b = width/2;
 alpha = atan2(a, b);
 c = vectorlen2d([a, b]);
-r = c / (2*tan(2*alpha));
+r = a / (1 - cos(2*alpha));
 C = [0, a-r];
 
 module Thing() {