pyboxbuilder.box.types.slipover_path.SlipoverPathBox

class pyboxbuilder.box.types.slipover_path.SlipoverPathBox[source]

Bases: BoxTypeBase

Slipover-path lid box type.

build_body(spec: BoxSpec) → Bosl2Solid[source]

Return a hollow tray on a polygon footprint, for a sleeve to slip over.

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

Return a sleeve following the body’s outline, stopping at the foot.

interior(spec: BoxSpec) → Interior[source]

Return the frame the box’s contents may occupy inside the inset body.

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) required to enclose (inner_w, inner_l, inner_h).