From: Ian Jackson Date: Sun, 8 Dec 2024 18:36:41 +0000 (+0000) Subject: powerbank-bike-clamp: debug X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=731ee29d7e247f1ea9ca0fb24d17e0c06e47da0e;p=reprap-play.git powerbank-bike-clamp: debug Signed-off-by: Ian Jackson --- diff --git a/powerbank-bike-clamp.scad b/powerbank-bike-clamp.scad index 73aa76c..dd93f06 100644 --- a/powerbank-bike-clamp.scad +++ b/powerbank-bike-clamp.scad @@ -122,6 +122,8 @@ top_cnr_r = min(endwall_th, main_th); mounted_pos_y_offset = max(mounted_pos_y_offset_lim, bot_y - (-(bank_y_sz/2 + endwall_th))); +echo(hinge_stride, clamp_width_actual); + module TubePlan(){ circle(r = tube_dia/2); } module HingePinPlan(){ translate([0, hinge_y]) circle(r= hinge_pin/2); } @@ -203,6 +205,7 @@ module SomeClamp(hinge_alt=false){ for (i=[0 : hinge_lobes-1]) { z = -clamp_width_actual/2 + i * hinge_stride + (hinge_alt ? hinge_stride/2 : 0); + echo(z, z -hinge_gap_z, z + hinge_stride/2); translate([0, hinge_y, z,