chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
commitid-layering-test: get commitid right way round
[reprap-play.git]
/
commitid-layering-test.scad
diff --git
a/commitid-layering-test.scad
b/commitid-layering-test.scad
index 3b33674a165f560c979e2b770d6eba6bf634dd7c..525ec414489db1634c995e2bcc509e61df232e0f 100644
(file)
--- a/
commitid-layering-test.scad
+++ b/
commitid-layering-test.scad
@@
-12,18
+12,21
@@
module Body(){
mirror([0,0,1])
translate([basexpos, baseypos])
cube([basex, basey, baseh]);
mirror([0,0,1])
translate([basexpos, baseypos])
cube([basex, basey, baseh]);
-
- translate([-5, 6, 0])
- cylinder(r=4, h=3, $fn=20);
}
difference(){
Body();
}
difference(){
Body();
- translate([basex + basexpos, basey
+ basey
pos, -baseh])
- rotate([0,
0,18
0])
+ translate([basex + basexpos, baseypos, -baseh])
+ rotate([0,
180,
0])
Commitid_BestCount([basex,basey], margin=3);
Commitid_BestCount([basex,basey], margin=3);
+
+ translate([-6, 6, -0.4])
+ cylinder(r=5, h=3, $fn=50);
}
}
+translate([-6, 6, 0])
+ cylinder(r=4, h=3, $fn=50);
+
echo("pause height (mm)", baseh+0.01);
Commitid_FontDemo();
echo("pause height (mm)", baseh+0.01);
Commitid_FontDemo();