mesh-examples/12-14-mesh/Me109.mesh.json
Sources
- MeshFix `Basic_TMesh.unlinkTriangle` Branch 12 (*manifold_duplication_v2*: `if (v2nm)`)
- `MESH_HEAL_COVERAGE.md`.
Description
v2 is a bowtie vertex with two disconnected fan components — an upper component (containing t0) where both t0-edges at v2 are interior, and an isolated lower fan. Branch 2 sets v2nm; Branch 12 clones v2 and redirects incident edges before the unlink. Mirror of Me108 for the second vertex position.
Reproducer recipe
v0=(0,0,0), v1=(2,0,0), v2=(1,0,0), v3=(1,1,0), v4=(-1,-1,0), v5=(3,-1,0). Upper: t0=(v0,v2,v1), t1=(v0,v3,v2), t2=(v2,v3,v1). Lower: t3=(v2,v4,v5).
Expected kernel behavior
clone v2; upper fan triangles reference one copy; lower fan gets the duplicate; then unlink t0.
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 0.0, 16 0.0 17 ], 18 [ 19 1.0, 20 1.0, 21 0.0 22 ], 23 [ 24 -1.0, 25 -1.0, 26 0.0 27 ], 28 [ 29 3.0, 30 -1.0, 31 0.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 0, 37 2, 38 1 39 ], 40 [ 41 0, 42 3, 43 2 44 ], 45 [ 46 2, 47 3, 48 1 49 ], 50 [ 51 2, 52 4, 53 5 54 ] 55 ], 56 "metadata": { 57 "id": "Me109", 58 "schema_version": 0, 59 "defect_class": "unlink_manifold_duplication_v2", 60 "title": "unlink_triangle_v2_manifold_duplication: v2 is non-manifold bowtie requiring duplication on unlink", 61 "assertions": [ 62 { 63 "kind": "edge_shared_by_n_triangles", 64 "edge": [ 65 0, 66 2 67 ], 68 "n": 2 69 }, 70 { 71 "kind": "edge_shared_by_n_triangles", 72 "edge": [ 73 1, 74 2 75 ], 76 "n": 2 77 }, 78 { 79 "kind": "edge_shared_by_n_triangles", 80 "edge": [ 81 0, 82 1 83 ], 84 "n": 1 85 }, 86 { 87 "kind": "edge_shared_by_n_triangles", 88 "edge": [ 89 0, 90 3 91 ], 92 "n": 1 93 }, 94 { 95 "kind": "edge_shared_by_n_triangles", 96 "edge": [ 97 1, 98 3 99 ], 100 "n": 1 101 }, 102 { 103 "kind": "edge_shared_by_n_triangles", 104 "edge": [ 105 2, 106 4 107 ], 108 "n": 1 109 }, 110 { 111 "kind": "edge_shared_by_n_triangles", 112 "edge": [ 113 2, 114 5 115 ], 116 "n": 1 117 }, 118 { 119 "kind": "vertex_fan_disconnected", 120 "vertex": 2 121 } 122 ] 123 } 124}