Expand description
Comprehensive solid validation.
Performs structural and geometric validation on solids.
Structs§
- Validation
Issue - A validation issue found in a solid.
- Validation
Options - Options for controlling validation tolerance.
- Validation
Report - Result of validating a solid.
Enums§
- Severity
- Severity of a validation issue.
Functions§
- euler_
characteristic - Compute the raw Euler characteristic (V - E + F) for a solid.
- validate_
solid - Euler-Poincaré: V - E + F = 2(1 - g) for genus-g closed solidManifold edges: each edge shared by exactly 2 facesBoundary edges: no edge shared by only 1 face (open shell)Degenerate faces: each face has at least 3 verticesFace normal consistency: normals should be non-zeroWire closure: every wire forms a closed loopDegenerate face area: near-zero polygon area warning for planar facesZero-length edges: edges with coincident start/end verticesEmpty wires: wires with no edgesShell connectivity: all faces reachable from any faceRedundant faces: same face ID appearing twice in shellEdge vertex consistency: edge vertices belong to the solid
- validate_
solid_ relaxed - Validate a solid with relaxed checks suitable for assembled geometry.
- validate_
solid_ relaxed_ with_ options - Validate a solid with relaxed checks and configurable tolerance options.
- validate_
solid_ with_ options - Validate a solid with configurable tolerance options.