chiark / gitweb /
cable-splice-clamp: fix top use different r's as appropriate
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 18:34:38 +0000 (18:34 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 18:34:38 +0000 (18:34 +0000)
cable-splice-clamp.scad

index bed9edb..4684d23 100644 (file)
@@ -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);