vhook_theta = atan2( smooth_r, main_r );
-vhook_y0 = -cos(vhook_theta) * (main_r + smooth_r);
+vhook_y0 = -max(main_r, (tube_dia/2 + vhook_th));
vhook_ctr = vhook_y0 - vhook_inside/2;
vhook_outer_dia = vhook_inside + vhook_th*2;
// ---------- vhook ----------
-module VHookPlan() {
- PlanWeldMainCircle(){
- rectfromto([ -vhook_th/2, 0 ],
- [ +vhook_th/2, vhook_y0 ]);
- }
-}
-
module VHookProfile() {
translate([0, -vhook_inside/2 - vhook_th/2])
circle(r = vhook_th/2);
module VHookPartA(){ ////toplevel
DummyA();
- linextr(min_z, min(min_z + vhook_outer_dia * 1.5, max_z))
- VHookPlan();
translate([0, vhook_ctr, min_z + vhook_outer_dia/2]){
linextr(-0.1, vhook_outer_dia/2)