From: Ian Jackson Date: Fri, 22 Jan 2021 19:31:19 +0000 (+0000) Subject: scaffold-clamp-cleat: wip, reorg nfc X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6a319b7ceeca0d02fbeac92c0737e976919d87a1;p=reprap-play.git scaffold-clamp-cleat: wip, reorg nfc Signed-off-by: Ian Jackson --- diff --git a/scaffold-clamp-common.scad b/scaffold-clamp-common.scad index f3e25ad..cc5bad1 100644 --- a/scaffold-clamp-common.scad +++ b/scaffold-clamp-common.scad @@ -252,10 +252,11 @@ module VHookPlanDemo(){ function cleat_frame_theta(s) = s * cleat_horn_l / cleat_curve_r * 360/TAU; function cleat_frame_z(s) = cleat_curve_r * (1 - cos(cleat_frame_theta(s))); function cleat_frame_x(s) = cleat_curve_r * sin(cleat_frame_theta(s)); +function cleat_frame_r(s) = ( cleat_horn_d_min * s + + cleat_horn_d_max * (1-s) ) * 0.5; module CleatFrame(s) { - r = ( cleat_horn_d_min * s + - cleat_horn_d_max * (1-s) ) * 0.5; + r = cleat_frame_r(s); translate([cleat_frame_x(s), 0, cleat_frame_z(s)]) rotate([0, 90, 0]) scale([1, r[1]/r[0]])