pyboxbuilder.box.validation

Pre-CSG geometric invariant validation (FR-092 / SC-092).

Enforces physical and geometric invariants on a ResolvedBoxSpec before invoking PythonSCAD / Manifold boolean operations. Catching impossible envelopes, degenerate thicknesses, and negative clearances here prevents downstream kernel faults, unprintable solids, or obscure geometry solver errors.

Classes

GeometryValidator

Validates physical and geometric invariants on a ResolvedBoxSpec prior to CSG evaluation.