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]){
50 linextr(-0.1, vhook_outer_dia/2)
54 translate([0,0, -vhook_outer_dia])
55 cube(center=true, vhook_outer_dia*2);
59 //translate([0, vhook_y0, 50]) rotate([0,0,-90]) color("black") cube(10);
60 // translate([0,0,-150]) rotate([0,0,180 + theta]) color("blue") cube(100);
63 module PlanDemo(){ ////toplevel
65 translate([0, -tube_dia*1.5]) {
67 translate([0, vhook_ctr, 5])
70 color("blue") VHookProfile();