pyboxbuilder.project.manifest.GameBoard

class pyboxbuilder.project.manifest.GameBoard(label: str, size: tuple[float, float, float], position: tuple[float, float, float], count: int = 1, notes: str = '', component: str | None = None, allocates: tuple[tuple[str, int], ...] = ())[source]

Bases: object

A non-printed board, rulebook, screen, or playmat placed inside the game box.

Unlike board_thickness (which reserves a full-footprint slab across the entire top or bottom of the game box), a GameBoard occupies a specific 3-D region (size, position) inside the game box. Auto-packed boxes and auto-generated spacers avoid it, no STL is exported for it, and both the packing guide PDF and box summary docs render and count it explicitly.

allocates : tuple[tuple[str, int], ...] = ()

Optional explicit ((component_name, qty), ...) allocations satisfied by this board.

component : str | None = None

Optional declared inventory component name satisfied by this board.

count : int = 1

How many physical boards/screens/mats occupy this reserved region.

label : str

Human-readable name (e.g. "Main Board & Rulebooks", "Player Screens").

notes : str = ''

Optional packing note shown in summaries and packing sheets.

position : tuple[float, float, float]

Packed origin (X, Y, Z) in mm within the game box frame.

size : tuple[float, float, float]

Outer dimensions (W, L, H) in mm.