chiark / gitweb /
powerbank-bike-clamp: screw head fix
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 7 Feb 2021 23:02:09 +0000 (23:02 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 7 Feb 2021 23:04:19 +0000 (23:04 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
powerbank-bike-clamp.scad

index 7c92ae3870c2b193887a692e1e6a91fe66d45c58..f72078d30edf7a3ef8c1dd3f571d76535175cebe 100644 (file)
@@ -13,7 +13,6 @@ screw = 5.0 + 0.75;
 screw_head = 8.7 + 1.2;
 screw_nut_across = 7.9 + 0.75;
 screw_nut_th = 3.9 + 0.75;
-screw_head_h = 3.6 + 0.75;
 
 knob_behind_across = 12.2 + 0.75;
 behind_knob_th = 5;
@@ -64,6 +63,7 @@ brace_len = 50;
 straps_y = [ -bank_y_sz * 0.25,
             +bank_y_sz * 0.25 ];
 
+screw_head_behind = main_th;
 endwall_th = main_th;
 
 bank_recess_dx = minor_wall_min;
@@ -154,7 +154,8 @@ module Screws(){
              screw_nut_across / cos(30) + bridge_slop*2],
             center=true);
 
-    linextr_x_yz(-200, -main_r + screw_head_h)
+    linextr_x_yz(-200,
+                -(clamp_gap/2 + screw_nut_th + screw_head_behind))
       square([screw_head, screw_head + bridge_slop*2],
             center=true);
   }