pyboxbuilder.box.features.path_body_metrics

pyboxbuilder.box.features.path_body_metrics(spec: BoxSpec) → tuple[float, float][source]

(inset per side, body height) for a polygon-footprint body.

Same rule as the rectangular closures: the declared outline and height are the outside of the closed box, so the body is set in and stops short, and the cap or sleeve fills the difference back out to the declared size.