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:
98829f3
)
wardrobe-hook: wip
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2014 12:37:35 +0000
(12:37 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2014 12:37:35 +0000
(12:37 +0000)
wardrobe-hook.scad
patch
|
blob
|
history
diff --git
a/wardrobe-hook.scad
b/wardrobe-hook.scad
index e37e1dacb87125407e94454ca907446900adbb7d..8658bf84ac362291303506d3ea2ddf62aac3da48 100644
(file)
--- a/
wardrobe-hook.scad
+++ b/
wardrobe-hook.scad
@@
-30,9
+30,10
@@
mainthick = 4;
clipthick = 2;
clipang = 120;
-
bend = 5
;
+
stemlen = 50
;
tuberad = tubewidth/2;
+bend = atan(tuberad/stemlen);
mainoutrad = tuberad + mainthick;
module Plan(){
@@
-41,6
+42,8
@@
module Plan(){
FArcSegment(0, 0, tuberad, mainoutrad, -bend, bend+1);
translate([tuberad, 0]) square(center=false, size=[mainthick,dy]);
FArcSegment(0, 0, tuberad, tuberad + clipthick, 360-clipang, clipang+1);
+ rotate(-bend) translate([tuberad, 0]) mirror([0,1])
+ square(center=false, size=[mainthick, stemlen/cos(bend)]);
}
Plan();