From: Ian Jackson Date: Fri, 5 Feb 2016 16:15:39 +0000 (+0000) Subject: commitid-cube-test: Break out TTWall (nfc) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=aa49e7b42ff33af2b7e13d06d3adc639823ff0b0 commitid-cube-test: Break out TTWall (nfc) --- diff --git a/commitid-cube-test.scad b/commitid-cube-test.scad index 2c21179..4bcef05 100644 --- a/commitid-cube-test.scad +++ b/commitid-cube-test.scad @@ -32,18 +32,7 @@ fdsz = Commitid_FontDemo_sz(); d = Commitid_depth(); ru = Commitid_pixelsz(); -module TT () { ////toplevel - difference(){ - union(){ - translate([-sz, 0, -t]) - cube([sz*2 + w, sz, t]); - } - translate([w,0,-t]) rotate([0,180,0]) FD(); - translate([w,0,0]) rotate([0,0,0]) FD(); - - } - translate([-sz,0,0]) rotate([0,0,0]) FD(); - +module TTWall () { difference(){ translate([0, 0, -0.1]) cube([w, sz, sz - t + 0.1]); @@ -62,6 +51,21 @@ module TT () { ////toplevel //!cube([fdsz[1], fdsz[0], 1]); } +module TT () { ////toplevel + difference(){ + union(){ + translate([-sz, 0, -t]) + cube([sz*2 + w, sz, t]); + } + translate([w,0,-t]) rotate([0,180,0]) FD(); + translate([w,0,0]) rotate([0,0,0]) FD(); + + } + translate([-sz,0,0]) rotate([0,0,0]) FD(); + + TTWall(); +} + echo("pixelsz:", str(Commitid_pixelsz()), "depth:", Commitid_depth(), "sz:", Commitid_FontDemo_sz());