mesh-examples/12-14-mesh/Me006.mesh.json
Sources
- `MESH_DEFECT_TAXONOMY.md` #1 (`duplicate_triangles`)
- CGAL `merge_duplicate_polygons_in_polygon_soup`
- MeshFix `removeDuplicatedTriangles`.
Description
triangles 1 and 2 in the list both reference vertex indices `(0, 1, 2)` in the same winding order. Redundant faces inflate face counts, break Euler characteristic checks (χ = V − E + F loses a face without losing edges), and cause double-lighting artefacts in rendering pipelines.
Reproducer recipe
4 vertices; face 0 = `(0,3,1)` (control); face 1 = `(0,1,2)`; face 2 = `(0,1,2)` — exact copy of face 1.
Expected kernel behavior
detect and remove the duplicate face; CGAL and MeshFix both handle this in their polygon-soup repair passes.
Expected validation
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1{ 2 "vertices": [ 3 [ 4 0.0, 5 0.0, 6 0.0 7 ], 8 [ 9 1.0, 10 0.0, 11 0.0 12 ], 13 [ 14 0.5, 15 1.0, 16 0.0 17 ], 18 [ 19 0.5, 20 -1.0, 21 0.0 22 ] 23 ], 24 "triangles": [ 25 [ 26 0, 27 3, 28 1 29 ], 30 [ 31 0, 32 1, 33 2 34 ], 35 [ 36 0, 37 1, 38 2 39 ] 40 ], 41 "metadata": { 42 "id": "Me006", 43 "schema_version": 0, 44 "defect_class": "duplicate_triangles", 45 "title": "duplicate triangle: triangles 1 and 2 share identical vertex tuple", 46 "assertions": [ 47 { 48 "kind": "duplicate_triangle_pair", 49 "triangles": [ 50 1, 51 2 52 ] 53 } 54 ] 55 } 56}