chiark / gitweb /
cliphook NFC fixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Sep 2012 15:27:22 +0000 (16:27 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Sep 2012 15:27:22 +0000 (16:27 +0100)
cliphook.scad

index 984b278..a6fcffe 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C -*-
 
 function ClipHook_r2(w,g,l,ye,k) = w/2 + g + w/2;
 function ClipHook_r3(w,g,l,ye,k) = k * (ClipHook_r2(w,g,l,ye,k) + w + g);
@@ -15,11 +16,11 @@ module FlatArc(cx,cy,r1,r2,a1,a2=361,$fn=$fn) {
       difference() {
        circle(r=r2);
        translate([0,0,-1])
-         circle(r=r1, h=h+2);
+         circle(r=r1);
       }
       scale(size) {
        for (ai=[0:4]) {
-         echo(" jarc ", a1,a2, astep, ai, a1 + astep*ai );
+         //echo(" jarc ", a1,a2, astep, ai, a1 + astep*ai );
          rotate(a1 + astep*ai) {
            polygon([ [0,0], [1,0],
                      [cos(astep*2),sin(astep*2)] ]);