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
lock-inframe-bracket: Provide tube_rear_extra_th
[reprap-play.git]
/
lock-inframe-bracket.scad
diff --git
a/lock-inframe-bracket.scad
b/lock-inframe-bracket.scad
index 75c9a52e8f05f75f44ba327486bdcc46bb905a27..bdd8660390e2364d617566c69837558e240d8bff 100644
(file)
--- a/
lock-inframe-bracket.scad
+++ b/
lock-inframe-bracket.scad
@@
-12,8
+12,8
@@
lockshaft_dia = 14.35;
cliprecess_h = 16;
total_h = 45;
cliprecess_h = 16;
total_h = 45;
-back_gap = 1
0
;
-main_th = 2.5;
+back_gap = 1
1
;
+main_th = 2.
7
5;
tube_th = 2.25;
midweb_d = 3;
tube_th = 2.25;
midweb_d = 3;
@@
-24,11
+24,13
@@
clip_d = 22.0;
mountscrew_dia = 4 + 0.5;
clipbolt_dia = 5 + 0.1;
mountscrew_dia = 4 + 0.5;
clipbolt_dia = 5 + 0.1;
-backflange_th =
3
.5;
+backflange_th =
4
.5;
$fn=50;
$fn=50;
-join_cr = 5;
+join_cr = 7;
+
+tube_rear_extra_th = 1;
// calculated
// calculated
@@
-56,7
+58,7
@@
module oval(sz){ // sz[0] > sz[1]
}
}
}
}
-module JoinCirc(jr){
+module JoinCirc
s
(jr){
R = tube_or + join_cr;
r = lock_or[1] + join_cr;
d = dist2d( [0,0], lock_0 );
R = tube_or + join_cr;
r = lock_or[1] + join_cr;
d = dist2d( [0,0], lock_0 );
@@
-65,16
+67,24
@@
module JoinCirc(jr){
echo(lock_0x, lock_0y, R,r, d, x,y);
echo(lock_0x, lock_0y, R,r, d, x,y);
- rotate(atan2(lock_0y, lock_0x)) {
- translate([x,-y])
- circle(r= jr);
+ for (m=[0,1]) {
+ mirror([m,0]) {
+ rotate(atan2(lock_0y, lock_0x)) {
+ translate([x,-y])
+ circle(r= jr);
+ }
+ }
}
}
module MainPlan(){
difference(){
union(){
}
}
module MainPlan(){
difference(){
union(){
- circle(r = tube_or);
+ hull(){
+ for (t=[0, tube_rear_extra_th])
+ translate([0, -t])
+ circle(r = tube_or);
+ }
translate([-back_ohw,0]) mirror([0,1])
square([back_ohw*2, backflange_ymin]);
translate([-back_ohw,0]) mirror([0,1])
square([back_ohw*2, backflange_ymin]);
@@
-83,9
+93,7
@@
module MainPlan(){
}
hull(){
}
hull(){
- for (m=[0,1])
- mirror([m,0])
- JoinCirc(0.01);
+ JoinCircs(0.01);
polygon([[0,0], lock_0, [-lock_0[0], lock_0[1]]]);
}
}
polygon([[0,0], lock_0, [-lock_0[0], lock_0[1]]]);
}
}
@@
-98,9
+106,7
@@
module MainPlan(){
oval([lock_w/2, lock_d/2]);
}
oval([lock_w/2, lock_d/2]);
}
- for (m=[0,1])
- mirror([m,0])
- JoinCirc(join_cr);
+ JoinCircs(join_cr);
}
}
}
}