MeshContract v0.1.0 — OBJ validation MVP
First public MVP of MeshContract: requirements-as-code for 3D assets.
- Wavefront OBJ validation with YAML contracts.
- Checks vertices, faces, virtual triangle count (polygon faces are virtually triangulated), and bounding-box dimensions.
- Supported geometry rules:
max_triangles,max_vertices,max_width_m,max_height_m,max_length_m,allow_ngons. - CI-friendly exit codes:
0when the contract passes; non-zero when violations are found. - 22 unit tests; GitHub Actions CI runs on Python 3.11 and 3.12.
- Core validation uses backend-independent models, ready for future 3D backends.