pyboxbuilder.compartments.finger_outline.dish_radius¶
- pyboxbuilder.compartments.finger_outline.dish_radius(radius: float, height: float, flare: float) float[source]¶
Return the radius of a shallow cut’s base: one arc across its whole width.
A deep cut is a bore — a round base with sides running up from it — and its base radius is the half-width. A shallow one is a dish, and sizing it the same way is what produces the U with tight corners a fingertip cannot follow: a corner circle is bounded by the depth while the width is not, so as the tray gets shallower the corners tighten and a flat run opens up between them. The base has to stop being two circles and become one (FR-052).
This is the flattest arc that still meets the mouth’s roll tangentially, which makes the join disappear — the base runs into the roll and the roll into the top face with nothing to feel between them. Solved from the tangency condition on the two centres,
(0, R)and(A, u):A² + (R - u)² = (R + flare)² → R = (A² + u² - flare²) / (2(u + flare))