chiark / gitweb /
commitid-layering-test: split off Body (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 6 Feb 2016 18:54:05 +0000 (18:54 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 6 Feb 2016 18:54:46 +0000 (18:54 +0000)
commitid-layering-test.scad

index dc9dfcc..1f82d7c 100644 (file)
@@ -3,12 +3,18 @@
 include <commitid.scad>
 
 baseh= 1;
+basex = 31;
+basey= 20;
 
-mirror([0,0,1])
-  translate([-12, -4])
-  cube([31, 20, baseh]);
+module Body(){
+  mirror([0,0,1])
+    translate([-12, -4])
+    cube([basex, basey, baseh]);
 
-Commitid_FontDemo();
+  translate([-5, 6, 0])
+    cylinder(r=4, h=3, $fn=20);
+}
+
+Body();
 
-translate([-5, 6, 0])
-  cylinder(r=4, h=3, $fn=20);
+Commitid_FontDemo();