4 $Commitid_pixelsz = 1.5;
6 include <commitid.scad>
15 fdsz = Commitid_FontDemo_sz();
17 ru = Commitid_pixelsz();
18 echo($Commitid_pixelsz, ru, fdsz);
20 sz = max( fdsz[0], fdsz[1] ) + ru;
27 module TC () { ////toplevel
30 translate([0,0, sz]) mirror([0,0,1]) FD();
31 rotate([90,0,0]) translate([0,0,0]) FD();
32 translate([sz,0,0]) mirror([1,0,0]) rotate([90,0,90]) FD();
33 translate([sz,sz,0]) rotate([0,0,180]) FD();
35 translate([sz,sz,0]) rotate([-90,0,0]) rotate([0,0,180]) FD();
36 translate([0,sz,0]) rotate([-90,0,90]) rotate([0,0,180]) FD();
41 translate([0, 0, -0.1])
42 cube([w, sz, sz - 2 + 0.1]);
44 translate([0,sz,0]) rotate([90,0,-90]) FD();
47 translate(fdo + [0, -ru*2, -d]) cube([fdsz[0], ru, d*2]);
49 translate([w,0,0]) rotate([90,0,90]) FD();
51 translate([0, sz+d, 0])
53 translate([0, fdo[1], 0]) cube([d*2, fdsz[1], ru]);
56 module TT () { ////toplevel
58 translate([-sz, 0, -t])
59 cube([sz*2 + w, sz, t]);
61 translate([0,0,-t]) rotate([0,180,0]) FD();
62 translate([w,0,0]) rotate([0,0,0]) FD();
64 translate([(sz+w), 0, -t]) rotate([0,180,0])
65 Commitid_BestCount([sz+w, sz]);
67 translate([-sz,0,0]) rotate([0,0,0]) FD();
70 translate([0,0,-t]) rotate([90,0,0]) TTWall();
73 echo("pixelsz:", str(Commitid_pixelsz()),
74 "depth:", Commitid_depth(),
75 "sz:", Commitid_FontDemo_sz());