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
treefoi: try this
[reprap-play.git]
/
treefoil.scad.pl
diff --git
a/treefoil.scad.pl
b/treefoil.scad.pl
index 160c175ddda7c8e0a712f75a955b37c62d12be0e..fb46feae727a6f45eb83b9ab23f69175006e49aa 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,15
@@
module OctaThing() {
}
}
-OctaThing();
+module TraceEdge(p,q) {
+ hull(){
+ for (x=[p,q]) {
+ translate(x * edgeu)
+ OctaThing();
+ }
+ }
+}
+
+Trace();