chiark / gitweb /
pull-cord-keeper: hull the RoundEdges
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 31 Aug 2015 22:08:56 +0000 (23:08 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 31 Aug 2015 22:08:56 +0000 (23:08 +0100)
pull-cord-keeper.scad

index b23ac47..ca05b9d 100644 (file)
@@ -64,12 +64,14 @@ module RoundEdges(){
       OuterOval();
 
     for (xi=[-1,1]) {
-      for (yi=[-1,1]) {
-       translate([xi * (hcentredist/2 + hinnerrad),
-                  houterrad,
-                  yi * (height/2 - roundedgedia / 4 * sqrt(2))])
-         rotate([90,0,0])
-         cylinder(r=roundedgedia/2, h=houterrad*2, $fn=20);
+      hull(){
+       for (yi=[-1,1]) {
+         translate([xi * (hcentredist/2 + hinnerrad),
+                    houterrad,
+                    yi * (height/2 - roundedgedia / 4 * sqrt(2))])
+           rotate([90,0,0])
+           cylinder(r=roundedgedia/2, h=houterrad*2, $fn=20);
+       }
       }
     }
   }