pyboxbuilder.box.types.snap_fit.SnapFitBox

class pyboxbuilder.box.types.snap_fit.SnapFitBox[source]

Bases: BoxTypeBase

Cantilever latch box with positive detents and thumb releases (FR-081).

build_body(spec: BoxSpec) → Bosl2Solid[source]

Return the box body with reinforced internal backing bosses and recessed latch pockets.

build_lid(spec: BoxSpec, decoration: object = None) → Bosl2Solid[source]

Return the lid plate with root-filleted cantilever arms and ramped retention detents.

interior(spec: BoxSpec) → Interior[source]

Return the usable volume inside the box.

interior_mask(spec: BoxSpec) → Bosl2Solid[source]

Subtract internal latch backing bosses so compartments keep full wall integrity.