include <commitid.scad>
-rnom = 9;
+rnom = 7.5 / 2;
// alpha is slope angle, which is half of inner concave angle that
// wire sits in
mu = 1/4;
// wall thickness, and base width as fraction of cable size
-wall_r = 1.5 / 6.5;
+wall_r = 2.5 / 6.5;
base_r = 0.75;
// for cross-section calculations:
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);
-top = top_r * r1;
+top = wall_r * r1 - (d_OC_r - 1) * r0;
basew = base_r * rnom;
-echo(r0,r1, "ratio",r1/r0);
+echo("dias", r0*2, r1*2, "ratio",r1/r0);
-module CrossSection(plus=0) {
+module CrossSectionHalf(plus=0) {
difference(){
polygon([[-0.1, y_T_r * r0],
[x_T_r * r0, y_T_r * r0],
}
}
+module CrossSection(plus=0) {
+ for (m=[0,1]) {
+ mirror([m,0])
+ CrossSectionHalf(plus);
+ }
+}
+
module CrossSectionDemo(){ ////toplevel
color("black") CrossSection(2);
CrossSection();
}
}
+module HalfClampPrint(){ ////toplevel
+ rotate([180,0,0])
+ HalfClamp();
+}
+
//CrossSection();
//CrossSectionDemo();
-HalfClamp();
+//HalfClamp();
+HalfClampPrint();