pin_gap = 1.0; // around
+smooth_r = 10;
+
// calculated
pin_dia = th;
hinge_x = -0.5 * tube_dia - hinge_o_r;
+$fa = 3;
+$fs = 0.1;
+
module Plan() {
+ offset(r=-smooth_r) offset(delta=smooth_r)
union(){
translate([hinge_x, 0]) circle(r= hinge_o_r);
circle(r = tube_dia/2 + th);