X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=commitid-layering-test.scad;h=04d8c8322f3856a10c962c758c4258df0d2f0468;hp=285cc4b98bbdfaa29d95861cf6cab6bb3e787f35;hb=a75f4245977276aed475729d9c71faad2a0c528e;hpb=75ef406fd7e916017553b8f99686a943ea213929 diff --git a/commitid-layering-test.scad b/commitid-layering-test.scad index 285cc4b..04d8c83 100644 --- a/commitid-layering-test.scad +++ b/commitid-layering-test.scad @@ -12,11 +12,20 @@ module Body(){ mirror([0,0,1]) translate([basexpos, baseypos]) cube([basex, basey, baseh]); +} + +difference(){ + Body(); + translate([basexpos, baseypos, -baseh]) + Commitid_BestCount_M([basex,basey], margin=3); - translate([-5, 6, 0]) - cylinder(r=4, h=3, $fn=20); + translate([-6, 6, -0.4]) + cylinder(r=5, h=3, $fn=50); } -Body(); +translate([-6, 6, -0.5]) + cylinder(r=4, h=3.5, $fn=50); + +echo("pause height (mm)", baseh+0.01); Commitid_FontDemo();