X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=commitid-cube-test.scad;h=0a5f21a5dc1056588a3a1784df63cf577fe68567;hp=4bcef05011d39d727712023323158c047c304c86;hb=357c231defc0f31fa89e12a71a6ea1c3f7d217c2;hpb=aa49e7b42ff33af2b7e13d06d3adc639823ff0b0 diff --git a/commitid-cube-test.scad b/commitid-cube-test.scad index 4bcef05..0a5f21a 100644 --- a/commitid-cube-test.scad +++ b/commitid-cube-test.scad @@ -34,11 +34,10 @@ ru = Commitid_pixelsz(); module TTWall () { difference(){ - translate([0, 0, -0.1]) - cube([w, sz, sz - t + 0.1]); + translate([0, 0, -0.1]) + cube([w, sz, sz - t + 0.1]); translate([0,sz,0]) rotate([90,0,-90]) FD(); - translate([0, sz, 0]) rotate([90, 0, -90]) translate(fdo + [0, -ru*2, -d]) cube([fdsz[0], ru, d*2]); @@ -48,22 +47,23 @@ module TTWall () { translate([0, sz+d, 0]) rotate([90,0,0]) translate([0, fdo[1], 0]) cube([d*2, fdsz[1], ru]); - //!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([-sz, 0, -t]) + cube([sz*2 + w, sz, t]); + + translate([0,0,-t]) rotate([0,180,0]) FD(); translate([w,0,0]) rotate([0,0,0]) FD(); + translate([(sz+w), 0, -t]) rotate([0,180,0]) + Commitid_BestCount([sz+w, sz]); } translate([-sz,0,0]) rotate([0,0,0]) FD(); TTWall(); + translate([0,0,-t]) rotate([90,0,0]) TTWall(); } echo("pixelsz:", str(Commitid_pixelsz()),