chiark / gitweb /
commitid-cube-test: break out fdo (nfc)
[reprap-play.git] / commitid-cube-test.scad
index 0a2029d80048c72fe007138c9f94c35299ac6949..d644d53bca9a16943055291abb2e26403a8b4398 100644 (file)
@@ -6,14 +6,11 @@ baseh= 1;
 
 sz = 20;
 
-h = Commitid_depth();
-
-d = h;
+fdo = [1, 3, 0];
 
 module FD () {
-    translate([1, 3, -d])
-    linear_extrude(height= h + d)
-      Commitid_FontDemo_2D();
+    translate(fdo)
+      Commitid_FontDemo();
 }
 
 module TC () { ////toplevel
@@ -47,5 +44,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();