pyboxbuilder.box.types.sleeve_drawer.SleeveDrawerBox

class pyboxbuilder.box.types.sleeve_drawer.SleeveDrawerBox[source]

Bases: BoxTypeBase

Two-piece matchbox assembly with outer sleeve and sliding drawer (FR-087).

build_body(spec: BoxSpec) → Bosl2Solid[source]

Return the inner sliding drawer with solid front face and pull handle.

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

Return the 4-sided outer sleeve with solid back wall (or optional rear push hole).

exterior_protrusions(spec: BoxSpec | UnresolvedBoxSpec) → tuple[float, float, float, float, float, float][source]

Account for the front pull handle/lip protruding in -Y.

interior(spec: BoxSpec) → Interior[source]

Return the usable interior volume of the inner drawer.

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).