pyboxbuilder.box.types.no_lid.NoLidBox

class pyboxbuilder.box.types.no_lid.NoLidBox[source]

Bases: BoxTypeBase

No-lid box type (open tray). Supports stackable rims and side magnets.

build_body(spec: BoxSpec) → Bosl2Solid[source]

Build the tray, adding the stackable rim and magnet slots when asked.

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

No-lid boxes have no lid.

interior(spec: BoxSpec) → Interior[source]

Return the frame the box’s contents may occupy.

outer_size_for_interior(spec: BoxSpec | UnresolvedBoxSpec, inner_w: float, inner_l: float, inner_h: float) → tuple[float, float, float][source]

Return outer (W, L, H) for a lidless tray (no lid_thickness added).