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:
0f072ba
)
pull-cord-keeper: hull the RoundEdges
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 31 Aug 2015 22:08:56 +0000
(23:08 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 31 Aug 2015 22:08:56 +0000
(23:08 +0100)
pull-cord-keeper.scad
patch
|
blob
|
history
diff --git
a/pull-cord-keeper.scad
b/pull-cord-keeper.scad
index b23ac47c30a2f2faa6578ea9b755467154662221..ca05b9d47b7a3c731316d5d71692188b7b5ff6f0 100644
(file)
--- a/
pull-cord-keeper.scad
+++ b/
pull-cord-keeper.scad
@@
-64,12
+64,14
@@
module RoundEdges(){
OuterOval();
for (xi=[-1,1]) {
OuterOval();
for (xi=[-1,1]) {
- for (yi=[-1,1]) {
- translate([xi * (hcentredist/2 + hinnerrad),
- houterrad,
- yi * (height/2 - roundedgedia / 4 * sqrt(2))])
- rotate([90,0,0])
- cylinder(r=roundedgedia/2, h=houterrad*2, $fn=20);
+ hull(){
+ for (yi=[-1,1]) {
+ translate([xi * (hcentredist/2 + hinnerrad),
+ houterrad,
+ yi * (height/2 - roundedgedia / 4 * sqrt(2))])
+ rotate([90,0,0])
+ cylinder(r=roundedgedia/2, h=houterrad*2, $fn=20);
+ }
}
}
}
}
}
}