Me046 — cyclic orientation flip: odd-parity ring blocks compatible_orientations

§12.14 mesh defects (sub-class: orientation/cyclic-parity)

topology

Sources

Description

a fan of 5 triangles sharing a hub vertex forms a ring. Triangles 0–3 are wound CCW (normal +Z); triangle 4 bridges back to close the ring but is wound CW (normal -Z). The BFS spanning-tree flip_count around the back edge is odd, so no globally consistent orientation assignment exists. Triangle 4 shares edge {hub,v0} with tri 0 and edge {hub,v4} with tri 3; both pairs have antiparallel normals.

Reproducer recipe

hub=(0,0,0); pentagon rim v0–v4 in XY plane; tri0–tri3 wound CCW; tri4=(hub,v0,v4) wound CW → normal -Z.

Expected kernel behavior

detect odd parity around the back-edge of the BFS spanning tree; mark mesh as non-orientable; report orientation incompatibility.

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      0.0,
10      1.0,
11      0.0
12    ],
13    [
14      -1.0,
15      0.0,
16      0.0
17    ],
18    [
19      -0.5,
20      -1.0,
21      0.0
22    ],
23    [
24      0.5,
25      -1.0,
26      0.0
27    ],
28    [
29      1.0,
30      0.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      0,
47      3,
48      4
49    ],
50    [
51      0,
52      4,
53      5
54    ],
55    [
56      0,
57      1,
58      5
59    ]
60  ],
61  "metadata": {
62    "id": "Me046",
63    "schema_version": 0,
64    "defect_class": "cyclic_orientation_conflict",
65    "title": "cyclic orientation flip: odd-parity ring blocks compatible_orientations",
66    "assertions": [
67      {
68        "kind": "adjacent_triangles_inconsistent_winding",
69        "triangles": [
70          4,
71          0
72        ]
73      },
74      {
75        "kind": "adjacent_triangles_inconsistent_winding",
76        "triangles": [
77          4,
78          3
79        ]
80      }
81    ]
82  }
83}