pyboxbuilder.box.types.dispenser.DispenserBox

class pyboxbuilder.box.types.dispenser.DispenserBox[source]

Bases: BoxTypeBase

Gravity tile & token dispenser tower with bottom dispensing slot (FR-084).

build_body(spec: BoxSpec) → Bosl2Solid[source]

Return the dispenser body with angled slide and extraction mechanism.

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

Return the top loading chute cover lid.

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

Account for the protruding landing tray shelf in TRAY extraction mode.

interior(spec: BoxSpec) → Interior[source]

Return the usable interior volume.