pyboxbuilder.lid.decorate.LidInsert¶
-
class pyboxbuilder.lid.decorate.LidInsert(solid: Bosl2Solid, color: Color | None =
None)[source]¶ Bases:
objectOne part of a lid that prints in its own material.
Carries the colour alongside the solid rather than only baked into it. A pybosl2 solid has no readable colour — .color is the method that sets one — so a caller that wanted to know what an insert prints in had no way to ask, and the preview drew every one of them in the lid’s own colour. The label was there; it was just the same colour as the lid.
- solid : Bosl2Solid¶
The geometry, already carrying its colour for export.