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
sewing-table: jig: properly conditionalise post holes!
[reprap-play.git]
/
commitid-layering-test.scad
diff --git
a/commitid-layering-test.scad
b/commitid-layering-test.scad
index 1f82d7c7b0162bddb35dc9959891e42deff893b4..04d8c8322f3856a10c962c758c4258df0d2f0468 100644
(file)
--- a/
commitid-layering-test.scad
+++ b/
commitid-layering-test.scad
@@
-5,16
+5,27
@@
include <commitid.scad>
baseh= 1;
basex = 31;
basey= 20;
baseh= 1;
basex = 31;
basey= 20;
+basexpos = -12;
+baseypos = -4;
module Body(){
mirror([0,0,1])
module Body(){
mirror([0,0,1])
- translate([
-12, -4
])
+ translate([
basexpos, baseypos
])
cube([basex, basey, baseh]);
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=2
0);
+ translate([-
6, 6, -0.4
])
+ cylinder(r=
5, h=3, $fn=5
0);
}
}
-Body();
+translate([-6, 6, -0.5])
+ cylinder(r=4, h=3.5, $fn=50);
+
+echo("pause height (mm)", baseh+0.01);
Commitid_FontDemo();
Commitid_FontDemo();