chiark / gitweb /
powerbank-bike-clamp: hinge side lobes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Dec 2024 18:28:39 +0000 (18:28 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Dec 2024 18:39:41 +0000 (18:39 +0000)
Previous print broke at the "inner" "body".  This leads me to theorise
that inner lobes are more vulnerable.  Maybe doing this will arrange
that any future break is in the clamp (which is smaller to print).

Also more lobes mahy spread the load more.  The key edge is now at
79.5% rather than 74.3% of the distance across.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
powerbank-bike-clamp.scad

index dd93f0632dcfad49d846e9a5f39495d3def846c1..19c6c9f13fe4044e573f0717629c8e6bfb609d93 100644 (file)
@@ -112,7 +112,7 @@ brace_ctrs_y = [ (straps_y + straps_y_adj)[0] + (brace_r + strap_w/2),
 clamp_width_actual = max(clamp_min_width, holder_x_sz);
 
 hinge_lobes = floor(clamp_width_actual / hinge_lobe_per);
-hinge_stride = (clamp_width_actual + hinge_gap_z) / hinge_lobes;
+hinge_stride = (clamp_width_actual + hinge_gap_z) / (hinge_lobes + 0.5);
 
 hinge_outer_r = hinge_around + hinge_pin/2;
 hinge_y = tube_dia/2 + hinge_outer_r;
@@ -202,7 +202,7 @@ module SomeClamp(hinge_alt=false){
 
     Screws();
 
-    for (i=[0 : hinge_lobes-1]) {
+    for (i=[0 : hinge_lobes]) {
       z = -clamp_width_actual/2 + i * hinge_stride
                 + (hinge_alt ? hinge_stride/2 : 0);
       echo(z, z  -hinge_gap_z, z + hinge_stride/2);