Me048 — orientation constraint conflict: two consistently wound chains are mutually incompatible

§12.14 mesh defects (sub-class: orientation/propagation-conflict)

topology

Sources

Description

chain A (triangles 0–1, CCW, normal +Z) and chain B (triangles 2–3, CW, normal -Z) are each internally consistent but share edge {v2,v3}. BFS propagation from chain A assigns +Z to the shared-edge neighbor (tri 2), but tri 2 already carries a -Z label from its own chain's propagation — the incompatibility is flagged. The edge is manifold (exactly 2 incident triangles) so this is a pure orientation conflict, not a topology defect.

Reproducer recipe

6 vertices in two rows (y=0,1,2); chain A CCW in lower half; chain B CW in upper half; tri1 and tri2 share edge {(1,1,0),(0,1,0)}.

Expected kernel behavior

detect antiparallel normals across the shared edge during BFS propagation; mark mesh as non-orientable.

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      1.0,
15      1.0,
16      0.0
17    ],
18    [
19      0.0,
20      1.0,
21      0.0
22    ],
23    [
24      0.0,
25      2.0,
26      0.0
27    ],
28    [
29      1.0,
30      2.0,
31      0.0
32    ]
33  ],
34  "triangles": [
35    [
36      0,
37      1,
38      2
39    ],
40    [
41      0,
42      2,
43      3
44    ],
45    [
46      3,
47      5,
48      2
49    ],
50    [
51      3,
52      4,
53      5
54    ]
55  ],
56  "metadata": {
57    "id": "Me048",
58    "schema_version": 0,
59    "defect_class": "orientation_conflict",
60    "title": "orientation constraint conflict: two consistently wound chains are mutually incompatible",
61    "assertions": [
62      {
63        "kind": "adjacent_triangles_inconsistent_winding",
64        "triangles": [
65          1,
66          2
67        ]
68      },
69      {
70        "kind": "edge_shared_by_n_triangles",
71        "edge": [
72          2,
73          3
74        ],
75        "n": 2
76      }
77    ]
78  }
79}