mesh-examples/12-14-mesh/Me163.mesh.json
Sources
- MeshFix `Edge.stitch` Branch 4 (*BOUNDARY_WALK_V2*: `v0 = ((v0 == v1) ? (v2) : (NULL))`)
- `MESH_HEAL_COVERAGE.md`.
Description
Asymmetric three-triangle strip. The coincident boundary edge is only reachable from the v2 endpoint. The v1-side walk dead-ends (blocked by interior edge v0,v2); Branch 4 resets the walk anchor to v2 and finds the candidate on Patch B from there.
Reproducer recipe
v0=(0,0,0), v1=(2,0,0), v2=(1,1,0), v3=(-1,0,0); t0=(v0,v1,v2), t1=(v0,v3,v2). Patch B: v4=(1,1,0), v5=(2,0,0), v6=(1.5,2,0); t2=(v4,v5,v6).
Expected kernel behavior
v1 walk blocked by interior (v0,v2); retry from v2 finds candidate (v4,v5).
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 -1.0, 20 0.0, 21 0.0 22 ], 23 [ 24 1.0, 25 1.0, 26 0.0 27 ], 28 [ 29 2.0, 30 0.0, 31 0.0 32 ], 33 [ 34 1.5, 35 2.0, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 2 44 ], 45 [ 46 0, 47 3, 48 2 49 ], 50 [ 51 4, 52 5, 53 6 54 ] 55 ], 56 "metadata": { 57 "id": "Me163", 58 "schema_version": 0, 59 "defect_class": "stitch_boundary_walk_v2_retry", 60 "title": "stitch_boundary_walk_v2: v1 walk fails, boundary walk retries from v2 endpoint to find coincident edge", 61 "assertions": [ 62 { 63 "kind": "edge_shared_by_n_triangles", 64 "edge": [ 65 1, 66 2 67 ], 68 "n": 1 69 }, 70 { 71 "kind": "edge_shared_by_n_triangles", 72 "edge": [ 73 0, 74 2 75 ], 76 "n": 2 77 }, 78 { 79 "kind": "edge_shared_by_n_triangles", 80 "edge": [ 81 4, 82 5 83 ], 84 "n": 1 85 }, 86 { 87 "kind": "vertex_pair_distance_lt", 88 "pair": [ 89 2, 90 4 91 ], 92 "lt": 1e-09 93 }, 94 { 95 "kind": "vertex_pair_distance_lt", 96 "pair": [ 97 1, 98 5 99 ], 100 "lt": 1e-09 101 } 102 ] 103 } 104}