pyboxbuilder.box.types.sliding_hinge.SlidingHingeBox

class pyboxbuilder.box.types.sliding_hinge.SlidingHingeBox[source]

Bases: BoxTypeBase

Hinged lid box with a captive sliding or rotary print-in-place catch.

build_body(spec: BoxSpec) → Bosl2Solid[source]

Return the box body with rear filament hinge knuckles and front/side catch.

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

Return the hinged lid carrying the interleaving knuckles and captive catch.

interior(spec: BoxSpec) → Interior[source]

Return the frame the box’s contents may occupy.

interior_mask(spec: BoxSpec) → Bosl2Solid[source]

Return the usable interior volume clear of the rear hinge and front catch boss.