chiark / gitweb /
commitid-layering-test: get commitid right way round
[reprap-play.git] / commitid-layering-test.scad
index 3b33674a165f560c979e2b770d6eba6bf634dd7c..525ec414489db1634c995e2bcc509e61df232e0f 100644 (file)
@@ -12,18 +12,21 @@ module Body(){
   mirror([0,0,1])
     translate([basexpos, baseypos])
     cube([basex, basey, baseh]);
-
-  translate([-5, 6, 0])
-    cylinder(r=4, h=3, $fn=20);
 }
 
 difference(){
   Body();
-  translate([basex + basexpos, basey + baseypos, -baseh])
-    rotate([0,0,180])
+  translate([basex + basexpos, baseypos, -baseh])
+    rotate([0,180,0])
     Commitid_BestCount([basex,basey], margin=3);
+
+  translate([-6, 6, -0.4])
+    cylinder(r=5, h=3, $fn=50);
 }
 
+translate([-6, 6, 0])
+  cylinder(r=4, h=3, $fn=50);
+
 echo("pause height (mm)", baseh+0.01);
 
 Commitid_FontDemo();