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
maglite-holder: -torch.fig photo is right size
[reprap-play.git]
/
lock-inframe-bracket.scad
diff --git
a/lock-inframe-bracket.scad
b/lock-inframe-bracket.scad
index 6f33a116494865b522f7e0fe4dbce007b44ce8a5..bf3c9130374c9d8305a8d55ef14158aa763e0f0d 100644
(file)
--- a/
lock-inframe-bracket.scad
+++ b/
lock-inframe-bracket.scad
@@
-1,5
+1,8
@@
// -*- C -*-
// -*- C -*-
+// use shell thickness 1.50
+// use fill density 40%
+
include <funcs.scad>
tube_dia = 27.5 + 1.625;
include <funcs.scad>
tube_dia = 27.5 + 1.625;
@@
-12,9
+15,9
@@
lockshaft_dia = 14.35;
cliprecess_h = 16;
total_h = 45;
cliprecess_h = 16;
total_h = 45;
-back_gap = 1
1
;
+back_gap = 1
2.5
;
main_th = 2.75;
main_th = 2.75;
-tube_th = 2.25;
+tube_th = 2.
1
25;
midweb_d = 3;
clip_th = 3.5;
midweb_d = 3;
clip_th = 3.5;
@@
-28,7
+31,9
@@
backflange_th = 4.5;
$fn=50;
$fn=50;
-join_cr = 7;
+join_cr = 9;
+
+tube_rear_extra_th = 1;
// calculated
// calculated
@@
-57,6
+62,7
@@
module oval(sz){ // sz[0] > sz[1]
}
module JoinCircs(jr){
}
module JoinCircs(jr){
+ // http://mathworld.wolfram.com/Circle-CircleIntersection.html
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 );
@@
-78,7
+84,11
@@
module JoinCircs(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]);
@@
-211,4
+221,4
@@
module TestClipBoltHole(){ //// toplevel
//TestTopEdge();
//TestClipBoltHole();
//TestTopEdge();
//TestClipBoltHole();
-
//
Bracket();
+Bracket();