chiark / gitweb /
commitid.scad.pl: Do not process \n as a character
[reprap-play.git] / commitid-cube-test.scad
index a1ca46bfaedf717a985d03b09a98c993269d2177..485816a8e4cdfefd2c47225745bc9092b5200210 100644 (file)
@@ -6,16 +6,14 @@ baseh= 1;
 
 sz = 20;
 
-h = 0.4;
+h = Commitid_depth();
 
 d = h;
 
 module FD () {
-  scale([2,2,1]) {
-    translate([0.5,1.5,-d])
+    translate([1, 3, -d])
     linear_extrude(height= h + d)
       Commitid_FontDemo();
-  }
 }
 
 module TC () { ////toplevel
@@ -42,7 +40,7 @@ module TT () { ////toplevel
        cube([w, sz, sz]);
     }
     translate([0,sz,0]) rotate([90,0,-90]) FD();
-    translate([0,0,-t]) rotate([0,0,0]) FD();
+    translate([w,0,-t]) rotate([0,180,0]) FD();
     translate([w,0,0]) rotate([0,0,0]) FD();
   }
   translate([w,0,0]) rotate([90,0,90]) FD();