From 87ac03bd835d6f7831e01235f1ca6f96d2160077 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 8 Feb 2021 17:09:35 +0000 Subject: [PATCH] powerbank-bike-clamp: adjust strap (from v1) and fix Signed-off-by: Ian Jackson --- powerbank-bike-clamp.scad | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/powerbank-bike-clamp.scad b/powerbank-bike-clamp.scad index c0d1c0f..0911184 100644 --- a/powerbank-bike-clamp.scad +++ b/powerbank-bike-clamp.scad @@ -46,6 +46,7 @@ bank_x_sz = (26.0 + 0.5); bank_recess_y = 5; strap_th = 3; +strap_w = 5; strap_above = 2.5; retainer_walls = [18, 30]; @@ -90,8 +91,8 @@ bank_bot_y = strap_above + strap_th; strap_r = strap_th; brace_total_len = brace_len + main_th; -brace_ctrs_y = [ straps_y[0] - (brace_r + strap_r/2), - straps_y[1] + (brace_r + strap_r/2) ]; +brace_ctrs_y = [ straps_y[0] - (brace_r + strap_w/2), + straps_y[1] + (brace_r + strap_w/2) ]; clamp_width_actual = max(clamp_min_width, holder_x_sz); @@ -238,7 +239,7 @@ module PowerBankStrapCut(){ ////toplevel module PowerBankHolderTest(){ ////toplevel difference(){ linextr(-1,5) PowerBankSidePlan(); - linextr(0, strap_th) PowerBankStrapCut(); + linextr(0, strap_w) PowerBankStrapCut(); } } @@ -287,8 +288,8 @@ module PowerBankHolder(){ ////toplevel translate([0, strap_y, 0]) rotate([0,0,-90]) rotate([0,90,0]) - linextr(-strap_th/2, - +strap_th/2) + linextr(-strap_w/2, + +strap_w/2) PowerBankStrapCut(); translate([ bank_bot_y, -bank_y_sz/2, -bank_x_sz/2 ]) -- 2.30.2