From 213f386fb8400e214750fcdf91dccc4284a64d12 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 5 Nov 2020 21:29:45 +0000 Subject: [PATCH] scaffold-clamp: wip straphook Signed-off-by: Ian Jackson --- scaffold-clamp-common.scad | 8 ++++++-- scaffold-clamp-straphook.scad | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/scaffold-clamp-common.scad b/scaffold-clamp-common.scad index 9c9a831..9de0eb5 100644 --- a/scaffold-clamp-common.scad +++ b/scaffold-clamp-common.scad @@ -13,6 +13,8 @@ smooth_r = 15; bolt_dia = 5 + 0.75; bolt_flat = 10 + 1; +nbolts = 2; + open_gap = 10; hinge_unit = 10; @@ -55,6 +57,8 @@ max_z = +total_z/2; pin_flatten = pin_dia/2 * (1 - cos(45)); +bolt_stride = total_z / nbolts; + // calculated - vhook vhook_inside = 15; @@ -149,8 +153,8 @@ module HalfClampX(flatten=false){ linextr(0, hinge_unit) MainPlanA(flatten); } } - for (dz=[-1,+1]) { - translate([ bolt_x, 0, dz * total_z/4 ]) { + for (j=[0:nbolts-1]) { + translate([ bolt_x, 0, min_z + (j + 0.5) * bolt_stride ]) { translate([0, -tube_dia/2, 0]) rotate([-90,0,0]) cylinder(r= bolt_dia/2, h= tube_dia); diff --git a/scaffold-clamp-straphook.scad b/scaffold-clamp-straphook.scad index 911ece8..925be0a 100644 --- a/scaffold-clamp-straphook.scad +++ b/scaffold-clamp-straphook.scad @@ -11,3 +11,5 @@ include th = 3; hhook_th = 3; hinge_units = 2; +nbolts = 1; +hinge_unit = 7; -- 2.30.2