5 include <scaffold-clamp-common.scad>
11 theta = atan2( smooth_r, main_r );
17 vhook_y0 = -cos(theta) * (main_r + smooth_r);
18 vhook_ctr = vhook_y0 - vhook_inside/2;
24 rectfromto([ -vhook_th/2, 0 ],
25 [ +vhook_th/2, vhook_y0 ]);
29 module VHookProfile() {
30 offset(r=+vhook_smooth)
31 offset(delta=-vhook_smooth)
32 rectfromto([ -vhook_th/2, -vhook_inside/2 ],
33 [ +vhook_th/2, -vhook_inside/2 - vhook_th]);
36 module PartB(){ ////toplevel
40 module PartA(){ ////toplevel
44 //translate([0, vhook_y0, 50]) rotate([0,0,-90]) color("black") cube(10);
45 // translate([0,0,-150]) rotate([0,0,180 + theta]) color("blue") cube(100);
48 module PlanDemo(){ ////toplevel
50 translate([0, -tube_dia*1.5]) {
52 translate([0, vhook_ctr, 5])
55 color("blue") VHookProfile();