pyboxbuilder.lid.label.Label¶
-
class pyboxbuilder.lid.label.Label(text: Bosl2Solid, hatching: Bosl2Solid | None =
None, plate: Bosl2Solid | None =None, frame: Bosl2Solid | None =None, background: Bosl2Solid | None =None, finial: Bosl2Solid | None =None, image_slot: tuple[float, float, float, float] | None =None)[source]¶ Bases:
objectA built label, split by the colour each part prints in.
Keeping the parts separate is what lets the multi-material pass inlay each in its own colour while the single-colour pass fuses them.
Three parts, and only two of them are coloured. The plate is the box’s own material — it is never cut, so nothing is inlaid into it (FR-022) — which is why it is here only to say where the label sits, not what to print.
-
background : Bosl2Solid | None =
None¶ Framed mode with solid background only — the interior plaque inside the border.
-
finial : Bosl2Solid | None =
None¶ Optional decorative typographic ornament placed underneath the text.
-
frame : Bosl2Solid | None =
None¶ Framed mode only — the outer border ring around the label perimeter.
-
hatching : Bosl2Solid | None =
None¶ Framed mode only — the striped grid behind the text, inlaid light grey.
-
image_slot : tuple[float, float, float, float] | None =
None¶ Reserved
(cx, cy, width, length)bay inside the plaque for an embedded logo/image.
-
plate : Bosl2Solid | None =
None¶ Framed mode only — the area the label occupies.
Not a coloured part — it stays lid material. Carried so the pattern knows what to keep clear of and the single-colour pass knows what to engrave.
- text : Bosl2Solid¶
The lettering. Inlaid in the text colour, black by default.
-
background : Bosl2Solid | None =