chiark / gitweb /
commitid-layering-test: split off Body (nfc)
[reprap-play.git] / commitid-layering-test.scad
index dc9dfcc27cb8fc7565602a2bebee5e04743d1597..1f82d7c7b0162bddb35dc9959891e42deff893b4 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();