pyboxbuilder.box.features.rabbet

pyboxbuilder.box.features.rabbet(spec: BoxSpec, inset: float = 1.0) → Closure[source]

Return a ledge cut into the top rim, and the plate that drops into it.

The lid finishes flush with the rim rather than sitting on top of it, which is what makes an inset box stackable.

Parameters:
spec: BoxSpec

Box dimensions; reads wall_thickness and lid_thickness.

inset: float = 1.0

How far the ledge reaches in past the wall’s inner face, so the lid has something to rest on rather than falling through.