pyboxbuilder.project.inventory.ProjectInventory

class pyboxbuilder.project.inventory.ProjectInventory(project_name: str, printed_bodies: int, printed_lids: int, printed_spacers: int, boards: tuple[GameBoard, ...], box_summaries: tuple[BoxPieceSummary, ...], checklist: tuple[ComponentChecklistRow, ...] = ())[source]

Bases: object

Complete printed-part, board, and stored-piece inventory for a project.

by_label(label: str) → BoxPieceSummary | None[source]

Look up one box’s piece summary by label.

property total_board_count : int

Total physical boards / screens / playmats tracked on the project.

property total_counted_pieces : int

Sum of all explicitly/structurally counted game pieces across all boxes.

property total_printed_parts : int

Total 3-D printed STL parts (bodies + lids + spacers).