pyboxbuilder.box.features.CapMetrics

class pyboxbuilder.box.features.CapMetrics(body_height: float, cap_height: float, band_z: float, band_width: float, band_length: float, inset: float)[source]

Bases: object

The numbers a cap box’s body and lid must agree on.

Derived once so the two halves cannot drift apart: the body’s stepped-in top band is exactly what the lid’s skirt wraps, and the lid’s outer face is exactly the box’s declared footprint.

band_z : float

Where the body steps in to make room for that skirt.

body_height : float

Top of the body. The lid’s plate sits above it, coming to height.

cap_height : float

How far the lid’s skirt reaches down the outside of the body.

inset : float

How far the band is set in from the declared footprint, per side.