pyboxbuilder.project.piece.ResolvedBox

class pyboxbuilder.project.piece.ResolvedBox(builder: BoxBuilder, box: Any | None, spec: Any, interior: Any, compartments: Any | None)[source]

Bases: object

A box after validation and layout, before any geometry is cut.

Split out so the checks run when the project is built and the CSG runs when something asks for it: a project that cannot be built must say so at build(), not later, when a caller happens to touch a solid.

box : Any | None

Its type implementation, or None for a type with no geometry.

builder : BoxBuilder

The box this came from.

compartments : Any | None

The resolved compartment layout, or None when it has none.

interior : Any

Its interior frame.

spec : Any

The BoxSpec it will be built from.