pyboxbuilder.box.shell.round_inner_rim¶
- pyboxbuilder.box.shell.round_inner_rim(body: Bosl2Solid, spec: BoxSpec) Bosl2Solid[source]¶
Round the inner top edge of a lidless box’s rim (FR-043f).
An open tray’s rim is exposed on both faces — it is the edge a hand runs along when lifting the tray — so both of its edges carry the wall’s fillet. The outer one comes free with build_shell’s envelope rounding; the inner one cannot come from there, and not for want of trying: round_edges subtracts the sliver between an envelope and its rounded twin, and for the interior envelope that sliver lands in the hollow rather than in the wall (T303, measured: the wall at the rim went 7.2mm³ → 7.17mm³, i.e. nothing).
The inner rim is a convex edge of the wall, so what it takes is a fillet ring subtracted at the interior’s top perimeter: the interior prism, flared outward by the radius over the last radius of its height, tangent to the inner face where the flare starts and to the top face where it ends. Everything below the flare is the interior itself, which is already void, so the ring only ever removes the rim’s inner corner.