5 include <scaffold-clamp-common.scad>
9 theta = atan2( smooth_r, main_r );
15 vhook_y0 = -cos(theta) * (main_r + smooth_r);
16 vhook_ctr = vhook_y0 - vhook_inside/2;
17 vhook_outer_dia = vhook_inside + vhook_th*2;
23 rectfromto([ -vhook_th/2, 0 ],
24 [ +vhook_th/2, vhook_y0 ]);
28 module VHookProfile() {
29 translate([0, -vhook_inside/2 - vhook_th/2])
30 circle(r = vhook_th/2);
33 module PartB(){ ////toplevel
37 module VHookHookMain(){ ////toplevel
39 rotate_extrude(convexity=10)
44 module PartA(){ ////toplevel
49 translate([0, vhook_ctr, min_z + vhook_outer_dia/2]){
55 //translate([0, vhook_y0, 50]) rotate([0,0,-90]) color("black") cube(10);
56 // translate([0,0,-150]) rotate([0,0,180 + theta]) color("blue") cube(100);
59 module PlanDemo(){ ////toplevel
61 translate([0, -tube_dia*1.5]) {
63 translate([0, vhook_ctr, 5])
66 color("blue") VHookProfile();