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
rpi-mount: copy from other repo
[reprap-play.git]
/
cable-splice-clamp.scad
diff --git
a/cable-splice-clamp.scad
b/cable-splice-clamp.scad
index bed9edb9070c71324d0d0640bbbcf0b1f43e49fe..bd27d86938fbd02dd74748a15d895f89bade8820 100644
(file)
--- a/
cable-splice-clamp.scad
+++ b/
cable-splice-clamp.scad
@@
-2,7
+2,7
@@
include <commitid.scad>
include <commitid.scad>
-rnom =
7
.5 / 2;
+rnom =
3
.5 / 2;
// alpha is slope angle, which is half of inner concave angle that
// wire sits in
// alpha is slope angle, which is half of inner concave angle that
// wire sits in
@@
-13,9
+13,15
@@
alpha = 40; // degrees
mu = 1/4;
// wall thickness, and base width as fraction of cable size
mu = 1/4;
// wall thickness, and base width as fraction of cable size
-wall_r =
1
.5 / 6.5;
+wall_r =
3
.5 / 6.5;
base_r = 0.75;
base_r = 0.75;
+total_len = 60;
+
+strap_width = 3.0 + 0.5;
+
+strap_count = 4;
+
// for cross-section calculations:
//
// origin O is at intersection of straight line segments forming walls
// for cross-section calculations:
//
// origin O is at intersection of straight line segments forming walls
@@
-54,11
+60,9
@@
y_B_r = -dy_OB_r;
x_T_r = sina;
y_T_r = -tana * sina;
x_T_r = sina;
y_T_r = -tana * sina;
-top_r = wall_r - (d_OC_r - 1);
-
wall_x_r = wall_r / tan(90-alpha);
wall_x_r = wall_r / tan(90-alpha);
-top =
top_r * r1
;
+top =
wall_r * r1 - (d_OC_r - 1) * r0
;
basew = base_r * rnom;
echo("dias", r0*2, r1*2, "ratio",r1/r0);
basew = base_r * rnom;
echo("dias", r0*2, r1*2, "ratio",r1/r0);
@@
-72,7
+76,7
@@
module CrossSectionHalf(plus=0) {
[basew + plus, top],
[-0.1, top]]);
translate([0, -d_OC_r * r0])
[basew + plus, top],
[-0.1, top]]);
translate([0, -d_OC_r * r0])
- circle(r = r0);
+ circle(r = r0
, $fn=20
);
}
}
}
}
@@
-92,11
+96,6
@@
module CrossSectionDemo(){ ////toplevel
}
}
}
}
-strap_width = 4 + 0.5;
-total_len = 70;
-
-strap_count = 2;
-
strap_wall_h = 1.5;
strap_wall_l = 2.0;
strap_wall_h = 1.5;
strap_wall_l = 2.0;