chiark / gitweb /
commitid-cube-test: debug echos
[reprap-play.git] / commitid-cube-test.scad
index 0a2029d80048c72fe007138c9f94c35299ac6949..98c329d0fa246f919d16136fe898aee54ce95ebb 100644 (file)
@@ -6,14 +6,9 @@ baseh= 1;
 
 sz = 20;
 
-h = Commitid_depth();
-
-d = h;
-
 module FD () {
-    translate([1, 3, -d])
-    linear_extrude(height= h + d)
-      Commitid_FontDemo_2D();
+    translate([1, 3, 0])
+      Commitid_FontDemo();
 }
 
 module TC () { ////toplevel
@@ -47,5 +42,9 @@ module TT () { ////toplevel
   translate([-sz,0,0]) rotate([0,0,0]) FD();
 }
 
+echo("pixelsz:", str(Commitid_pixelsz()),
+     "depth:", Commitid_depth(),
+     "sz:", Commitid_FontDemo_sz());
+
 //TC();
 TT();