chiark / gitweb /
bike-lipo-box: adjustments from #1306: prep for keeper at lipo RH end (nfc)
[reprap-play.git] / cable-splice-clamp.scad
index bed9edb9070c71324d0d0640bbbcf0b1f43e49fe..61781b5e7cb82afde9d341d2c3facd58ef42d446 100644 (file)
@@ -13,7 +13,7 @@ alpha = 40; // degrees
 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:
@@ -54,11 +54,9 @@ y_B_r = -dy_OB_r;
 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("dias", r0*2, r1*2, "ratio",r1/r0);