pyboxbuilder.lid.decorate.DecoratedLid

class pyboxbuilder.lid.decorate.DecoratedLid(solid: Bosl2Solid, inserts: list[LidInsert] = <factory>, skipped_label: bool = False)[source]

Bases: object

A decorated lid, plus any parts that print in their own colour.

inserts : list[LidInsert]

Coloured positives, kept separate in mmu mode and fused in single mode.

skipped_label : bool = False

True when the label was dropped for being under the minimum text height.

property solids : list[Bosl2Solid]

Just the insert geometry, for a caller that only writes it out.