pyboxbuilder.export.layout_pdf.LayerPage¶
- class pyboxbuilder.export.layout_pdf.LayerPage(name: str, active_placements: list[Placement], lower_placements: list[Placement], active_spacers: list[Placement], lower_spacers: list[Placement])[source]¶
Bases:
objectOne page of the packing guide: the layer it shows, and what is under it.
A record rather than a dict, so a typo in a key is an error at the line that made it rather than a KeyError three hundred lines later — and so the placements keep their type on the way through.