From 7c933f59c3fd699979facc7a283da7cc35ce7c51 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 3 Jun 2022 01:14:10 +0100 Subject: [PATCH 1/1] scaffold-clamp-linear-bracket: wip Signed-off-by: Ian Jackson --- scaffold-clamp-common.scad | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/scaffold-clamp-common.scad b/scaffold-clamp-common.scad index 61821f9..4dada2c 100644 --- a/scaffold-clamp-common.scad +++ b/scaffold-clamp-common.scad @@ -49,7 +49,10 @@ hhook_l = 40; // ---------- linear bracket ---------- linear_bracket_h = 50; -linear_bracket_l = 1000; +linear_bracket_l = 100; +linear_bracket_t = 20; +linear_bracket_hole_offset = 20; +linear_bracket_hole_dia = 5 + 1.00; // ========== defaults ========== @@ -392,14 +395,25 @@ module LinearBracketA(){ ////toplevel difference(){ union(){ HalfClampXPositive(); - linextr_y_xz(-open_gap/2 - 1, -open_gap/2) - mirror([1,0,0]) + mirror([1,0,0]) + linextr_y_xz(-open_gap/2 - linear_bracket_t, -open_gap/2) rectfromto([0, min_z], [max_x + linear_bracket_l, min_z + linear_bracket_h]); } HalfClampXNegative(); linextr(-1000,1000) TubePlan(); + mirror([1,0,0]) + linextr_y_xz(-100,100) { + for (t = [ + [1,1] * linear_bracket_hole_offset, + -[1,1] * linear_bracket_hole_offset + + [linear_bracket_l, linear_bracket_h] + ]) { + translate([ max_x, min_z ] + t) + circle(r= linear_bracket_hole_dia/2); + } + } } } -- 2.30.2