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
treefoil: printing angle
[reprap-play.git]
/
treefoil.scad.pl
diff --git
a/treefoil.scad.pl
b/treefoil.scad.pl
index 160c175ddda7c8e0a712f75a955b37c62d12be0e..28e840e01dfc77a510c64c6ada8a7312ce7994a4 100755
(executable)
--- a/
treefoil.scad.pl
+++ b/
treefoil.scad.pl
@@
-37,8
+37,8
@@
while (<DATA>) { o $_ }
__DATA__
-thick =
10
;
-edgeu =
2
0;
+thick =
7
;
+edgeu =
1
0;
// calculated
@@
-54,6
+54,16
@@
module OctaThing() {
}
}
-OctaThing();
+module TraceEdge(p,q) {
+ hull(){
+ for (x=[p,q]) {
+ translate(x * edgeu)
+ OctaThing();
+ }
+ }
+}
+
+rotate([-45,0,0])
+ Trace();