chiark / gitweb /
knifeblock: rounded front corners
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 30 Dec 2014 22:20:53 +0000 (22:20 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 30 Dec 2014 22:20:53 +0000 (22:20 +0000)
knifeblock.scad

index 686644a425f86b6b90f603b4dbfb96cb3a328ef0..31e3654ec317224bf6045752fffa6e8662f0709a 100644 (file)
@@ -66,9 +66,13 @@ module Block(){
   maxx = maxkx + side;
 
   difference(){
-    translate([minx, -front, 0])
-      mirror([0,0,1])
-      cube([maxx-minx, totaldepth, height]);
+    hull() mirror([0,0,1]) {
+      translate([minx, 0, 0])
+       cube([maxx-minx, totaldepth-front, height]);
+      for (x=[minx + front/2, maxx - front/2])
+       translate([x, -front/2, 0])
+       cylinder(r=side/2, h=height, $fn=30);
+    }
     #DoKnives();
   }
 }