-$eltop = [topwidth/2, -tuberad + tubeheight + mainthick + 0.1];
-$elmid = [topwidth/2, -tuberad];
-$ellow = tangent_intersect_b([0,$hookcy], hookinrad, $elmid);
-$ellowextra = 180 - tangent_intersect_beta([0,$hookcy], hookinrad, $elmid);
-
-$bend = 0;
-
-module Howly(acrossly_x, frontbackly_x){
- if (acrossly_x >= 0) {
- translate([acrossly_x,0,0])
- assign($bend = atan(tuberad/$stemlen),
- $frontbackly = 0)
- child();
- }
- if (frontbackly_x >= 0) {
- translate([frontbackly_x,0,0])
- assign($bend = 0,
- $frontbackly = 1)
- child();
- }
-}
+eltop = [topwidth/2, -tuberad + tubeheight + mainthick + 0.1];
+elmid = [topwidth/2, -tuberad];
+ellow = tangent_intersect_b([0,hookcy], hookinrad, elmid);
+ellowextra = 180 - tangent_intersect_beta([0,hookcy], hookinrad, elmid);