// -*- C -*- include width = 20; cup = 2.5; jaw = 32.36 - 2.00; a = cup; b = width/2; alpha = atan2(a, b); c = vectorlen2d([a, b]); r = c / (2*tan(2*alpha)); C = [0, a-r]; module Thing() { translate(C) circle(r=r); // translate([0, -20]) // square(center=true, [width, 40]); } Thing();