chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d7e9ca
)
treefoi: more
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 27 Jan 2019 18:41:38 +0000
(18:41 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 27 Jan 2019 18:41:38 +0000
(18:41 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
treefoil.scad.pl
patch
|
blob
|
history
diff --git
a/treefoil.scad.pl
b/treefoil.scad.pl
index 82b0c59b0feb8058b690f82d038edcdffc01e88a..160c175ddda7c8e0a712f75a955b37c62d12be0e 100755
(executable)
--- a/
treefoil.scad.pl
+++ b/
treefoil.scad.pl
@@
-37,7
+37,8
@@
while (<DATA>) { o $_ }
__DATA__
-thick = 8;
+thick = 10;
+edgeu = 20;
// calculated
@@
-45,9
+46,11
@@
octa_long = thick;
octa_short = octa_long / (1 + sqrt(2));
module OctaThing() {
- foreach (r = [[0,0,0], [90,0,0], [0,90,0]]) {
- rotate(r)
- cube([ octa_short,octa_short, octa_long ], center=true);
+ hull(){
+ for (r = [[0,0,0], [90,0,0], [0,90,0]]) {
+ rotate(r)
+ cube([ octa_short,octa_short, octa_long ], center=true);
+ }
}
}