chiark / gitweb /
powerbank-bike-clamp: adjust bridge slop, for test print
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2021 20:46:23 +0000 (20:46 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2021 20:46:23 +0000 (20:46 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
powerbank-bike-clamp.scad

index fa4c4df20646d294df8a5ca9db0c8602d72a3c0b..287f969b8d407363e7df9f43554164d91ea3339e 100644 (file)
@@ -26,7 +26,7 @@ lower_th = 1;
 
 overlap_l = 0.1;
 
-bridge_slop_factor = 1.5;
+bridge_slop = 1.2;
 
 hinge_lobes = 2;
 hinge_gap_z = 0.75;
@@ -130,11 +130,12 @@ module TubeClampLeft() { ////toplevel
 
     translate([0, screw_y, 0]) {
       linextr_x_yz(-(clamp_gap/2 + screw_nut_th), 0)
-       square([screw_nut_across, screw_nut_across * bridge_slop_factor],
+       square([screw_nut_across,
+               screw_nut_across / cos(30) + bridge_slop*2],
               center=true);
 
       linextr_x_yz(-main_r, -main_r + screw_head_h)
-       square([screw_head, screw_head * bridge_slop_factor],
+       square([screw_head, screw_head + bridge_slop*2],
               center=true);
     }
   }