chiark / gitweb /
filamentspool: deeper cups (hope to avoid tangles) - actually, on big spool, this...
[reprap-play.git] / commitid-layering-test.scad
1 // -*- C -*-
2
3 include <commitid.scad>
4
5 baseh= 1;
6 basex = 31;
7 basey= 20;
8 basexpos = -12;
9 baseypos = -4;
10
11 module Body(){
12   mirror([0,0,1])
13     translate([basexpos, baseypos])
14     cube([basex, basey, baseh]);
15 }
16
17 difference(){
18   Body();
19   translate([basexpos, baseypos, -baseh])
20     Commitid_BestCount_M([basex,basey], margin=3);
21
22   translate([-6, 6, -0.4])
23     cylinder(r=5, h=3, $fn=50);
24 }
25
26 translate([-6, 6, -0.5])
27   cylinder(r=4, h=3.5, $fn=50);
28
29 echo("pause height (mm)", baseh+0.01);
30
31 Commitid_FontDemo();