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
salter-scale-hook: wip
[reprap-play.git]
/
salter-scale-hook.scad
diff --git
a/salter-scale-hook.scad
b/salter-scale-hook.scad
index afacf9fbf3b239903fc00e39e144c7297247a31a..e67ed73765f7c10278b2ce88b547223d5a152967 100644
(file)
--- a/
salter-scale-hook.scad
+++ b/
salter-scale-hook.scad
@@
-9,20
+9,28
@@
screw_head_dia = 8.2 + 1.0;
rod_offset = 14 + 2;
mainheight = 25;
width = 40;
rod_offset = 14 + 2;
mainheight = 25;
width = 40;
+rearthick = 3;
+
+// calculated
+
+d = rod_dia/2 + thick/2;
+yminc = -d;
+ymin = yminc-thick/2;
+ymaxc = mainheight;
+ymax = mainheight+thick/2;
module C() {
circle(r = thick/2, $fn=30);
}
module Profile() {
module C() {
circle(r = thick/2, $fn=30);
}
module Profile() {
- d = rod_dia/2 + thick/2;
e = rod_offset;
hull(){
translate([-d, 0]) C();
translate([-d,-d]) C();
}
difference(){
e = rod_offset;
hull(){
translate([-d, 0]) C();
translate([-d,-d]) C();
}
difference(){
- rectfromto([-d,
-d-thick/2
], [e,0]);
+ rectfromto([-d,
ymin
], [e,0]);
circle(r= rod_dia/2, $fn=50);
}
hull(){
circle(r= rod_dia/2, $fn=50);
}
hull(){
@@
-34,9
+42,11
@@
module Profile() {
}
module CutProfile(){
}
module CutProfile(){
-
+// rectfromto([
}
module Demo(){
Profile();
}
}
module Demo(){
Profile();
}
+
+Demo();