chiark / gitweb /
cliphook bugfix
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 27 Aug 2012 16:23:12 +0000 (17:23 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 27 Aug 2012 16:23:12 +0000 (17:23 +0100)
cliphook.scad

index 826d0d7..f4231b3 100644 (file)
@@ -38,7 +38,7 @@ module ClipHook_2D(w,g,l,ye,k,h) {
 
   xd = l*1.5 + w;
   xc = -l/2;
-  yc = g/w + w/2;
+  yc = g/2 + w/2;
 
   alpha = atan2((xe-xd)/r3, (ye-yd)/r3);