pyboxbuilder.box.types.inset.InsetBox

class pyboxbuilder.box.types.inset.InsetBox[source]

Bases: BoxTypeBase

Inset lid box type.

build_body(spec: BoxSpec) → Bosl2Solid[source]

Return the shell with a ledge cut into its top rim for the lid to sit in.

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

Return a plate that drops into the rabbet and finishes flush with the rim.

interior(spec: BoxSpec) → Interior[source]

Return the frame the box’s contents may occupy.