chiark / gitweb /
knifeblock: Decorative indents
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 2 Jan 2015 00:12:02 +0000 (00:12 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 2 Jan 2015 00:12:02 +0000 (00:12 +0000)
knifeblock.scad

index 603336a9ff432d196aca79156c14a7286bc43713..4261be685bf146a34a4dc79c8bb066c8d6d39849 100644 (file)
@@ -45,6 +45,10 @@ holeedge = 4;
 holeoffx = 0.33;
 holeoffy = 0.23;
 
+indentdepth = 1;
+indentoutersize = holesize + 0.5;
+indentinnersize = indentoutersize - indentdepth * 2.5;
+
 pegstem = 3.5;
 peghead = 10;
 pegstemheight = 2;
@@ -140,6 +144,18 @@ module BlockPegSlot(){
   }
 }
 
+module DecorativeIndents(){
+  translate([0, -front, 0])
+  rotate([90,0,0])
+  HexGrid(-5,5,-5,5) {
+    hull(){
+      translate([0, 0, -indentdepth])
+       cylinder(r=indentinnersize/2, h=indentdepth, $fn=40);
+      cylinder(r=indentoutersize/2, h=indentdepth, $fn=40);
+    }
+  }
+}
+
 module Block(){
   sidemidx = minsideout + screwcsinkdia/2;
 
@@ -156,6 +172,7 @@ module Block(){
       translate([0, yshift * frontbackslop, 0])
        DoKnives();
     AtSides() { BlockPegSlot(); BlockPegSlot(); }
+    DecorativeIndents();
   }
 }