chiark / gitweb /
knifeblock: CoverParts
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Dec 2014 18:02:39 +0000 (18:02 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Dec 2014 18:02:39 +0000 (18:02 +0000)
knifeblock.scad

index 7e03782..d083156 100644 (file)
@@ -49,7 +49,7 @@ pegsloph = 0.5;
 pegslopv = 0.5;
 pegslopl = 0.5;
 
-pegdepthproportion = 0.67;
+pegdepthproportion = 0.80;
 
 // computed
 side = minsidein + screwcsinkdia + minsideout;
@@ -219,10 +219,24 @@ module CoverAligned(){
     Cover();
 }
 
+module DemoPeg(){
+  translate([recessblockwidth/2, pegrecess, -height])
+    Peg();
+}
+
 module Demo(){ ////toplevel
   %Block();
   DoKnives();
   color([0,0,1]) CoverAligned();
+  color([1,0,0]) AtSides() { DemoPeg(); DemoPeg(); }
+}
+
+module CoverParts(){ ////toplevel
+  Cover();
+  translate([0, coverlonglen, pegheight/2]) {
+    Peg();
+    translate([-peghead-3, 0,0]) Peg();
+  }
 }
 
 Demo();