mesh-examples/12-14-mesh/Me337.mesh.json
Sources
- MeshFix `Basic_TMesh.pinch` Branch 8 (*CASCADE_PINCH_NEEDED_V2*: `if (e_2 != NULL) pinch(e_2, true)`)
- `MESH_HEAL_COVERAGE.md`.
Description
Mirror of Branch 7 but at the v2 endpoint. Vertex v1 (v2 in the algorithm) is a three-sector non-manifold fan: t0 includes v1, t1 is a disconnected sector at v1, t2 is a third disconnected sector. After the primary pinch resolves the defect at v0, v1 remains non-manifold — Branch 8 dispatches recursive pinch(e_2, true).
Reproducer recipe
v0=(0,0,0), v1=(2,0,0) cascade vertex; v2=(1,1,0), v3=(3,1,0), v4=(3,-1,0), v5=(2,-1.5,0), v6=(1,-1.5,0); t0=(v0,v1,v2), t1=(v1,v3,v4), t2=(v1,v5,v6); assert vertex_fan_disconnected v1; all triangles disconnected.
Expected kernel behavior
Branch 8 fires; `if (e_2 != NULL) pinch(e_2, true)` called recursively; cascade resolves v2-side non-manifold.
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 2.0, 10 0.0, 11 0.0 12 ], 13 [ 14 1.0, 15 1.0, 16 0.0 17 ], 18 [ 19 3.0, 20 1.0, 21 0.0 22 ], 23 [ 24 3.0, 25 -1.0, 26 0.0 27 ], 28 [ 29 2.0, 30 -1.5, 31 0.0 32 ], 33 [ 34 1.0, 35 -1.5, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 2 44 ], 45 [ 46 1, 47 3, 48 4 49 ], 50 [ 51 1, 52 5, 53 6 54 ] 55 ], 56 "metadata": { 57 "id": "Me337", 58 "schema_version": 0, 59 "defect_class": "non_manifold_edge", 60 "title": "pinch_cascade_v2: v2 still non-manifold after primary merge \u2014 recursive pinch(e_2,true) fires", 61 "assertions": [ 62 { 63 "kind": "vertex_fan_disconnected", 64 "vertex": 1 65 }, 66 { 67 "kind": "triangle_not_reachable_from", 68 "target": 1, 69 "source": 0 70 }, 71 { 72 "kind": "triangle_not_reachable_from", 73 "target": 2, 74 "source": 0 75 }, 76 { 77 "kind": "triangle_not_reachable_from", 78 "target": 2, 79 "source": 1 80 }, 81 { 82 "kind": "edge_shared_by_n_triangles", 83 "edge": [ 84 0, 85 1 86 ], 87 "n": 1 88 }, 89 { 90 "kind": "edge_shared_by_n_triangles", 91 "edge": [ 92 0, 93 2 94 ], 95 "n": 1 96 }, 97 { 98 "kind": "edge_shared_by_n_triangles", 99 "edge": [ 100 1, 101 2 102 ], 103 "n": 1 104 }, 105 { 106 "kind": "edge_shared_by_n_triangles", 107 "edge": [ 108 1, 109 3 110 ], 111 "n": 1 112 }, 113 { 114 "kind": "edge_shared_by_n_triangles", 115 "edge": [ 116 3, 117 4 118 ], 119 "n": 1 120 }, 121 { 122 "kind": "edge_shared_by_n_triangles", 123 "edge": [ 124 1, 125 4 126 ], 127 "n": 1 128 }, 129 { 130 "kind": "edge_shared_by_n_triangles", 131 "edge": [ 132 1, 133 5 134 ], 135 "n": 1 136 }, 137 { 138 "kind": "edge_shared_by_n_triangles", 139 "edge": [ 140 5, 141 6 142 ], 143 "n": 1 144 }, 145 { 146 "kind": "edge_shared_by_n_triangles", 147 "edge": [ 148 1, 149 6 150 ], 151 "n": 1 152 } 153 ] 154 } 155}