chiark / gitweb /
knifeblock: add Pegs toplevel
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 1 Jan 2015 19:38:37 +0000 (19:38 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 1 Jan 2015 19:38:37 +0000 (19:38 +0000)
knifeblock.scad

index 92032d8..4cee4c8 100644 (file)
@@ -285,12 +285,15 @@ module Demo(){ ////toplevel
   color([1,0,0]) AtSides() { DemoPeg(); DemoPeg(); }
 }
 
+module Pegs(){ ////toplevel
+  Peg();
+  translate([-peghead-3, 0,0]) Peg();
+}
+
 module CoverParts(){ ////toplevel
   Cover();
-  translate([0, coverlonglen, pegheight/2-pegslopv]) {
-    Peg();
-    translate([-peghead-3, 0,0]) Peg();
-  }
+  translate([0, coverlonglen, pegheight/2-pegslopv])
+    Pegs();
 }
 
 //Block();
@@ -301,3 +304,4 @@ module CoverParts(){ ////toplevel
 //Cover();
 //Holes();
 //%CoverTemplate();
+//Pegs();