mesh-examples/12-14-mesh/Me560.mesh.json
Sources
- MeshFix `holeFilling::TriangulateHole@L157` Branch 4 (*NORMAL_COMPUTATION_FAILURE*: `nor.isNull()` → log "Unable to compute"
- return nt)
- `MESH_HEAL_COVERAGE.md`.
Description
Seven-vertex mesh with 6 rim triangles around a central hexagonal hole. Boundary vertices alternate z=+0.5 and z=-0.5 forming a saddle: v0=(0,0,0.5), v1=(2,0,-0.5), v2=(3,1,0.5), v3=(2,2,-0.5), v4=(0,2,0.5), v5=(-1,1,-0.5); hub vh=(1,1,0). Any triangulation of this saddle hole produces triangles with anti-parallel normals that sum to zero → nor.isNull() → Branch 4 fires; optimization phase skipped. All 6 hub edges n=2; 6 outer boundary edges n=1. Hole boundary: [v0,v1,v2,v3,v4,v5]. Euler: V=7, E=12, F=6, chi=1.
Reproducer recipe
saddle hexagon + hub vh=(1,1,0); 6 rim triangles t0=(v0,v1,vh) through t5=(v5,v0,vh); hub edges n=2; outer edges n=1; hole_boundary=[v0..v5]; euler V=7,E=12,F=6,chi=1.
Expected kernel behavior
Branch 4 fires; fill triangles created but average normal is zero/null; warning "Unable to compute" logged; method returns nt (triangle count) without entering optimization loop.
Expected validation
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1{ 2 "vertices": [ 3 [ 4 1.0, 5 0.0, 6 0.0 7 ], 8 [ 9 1.5, 10 0.866, 11 0.0 12 ], 13 [ 14 1.0, 15 1.732, 16 0.0 17 ], 18 [ 19 0.0, 20 1.732, 21 0.0 22 ], 23 [ 24 -0.5, 25 0.866, 26 0.0 27 ], 28 [ 29 0.0, 30 0.0, 31 0.0 32 ], 33 [ 34 0.5, 35 0.866, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 6 44 ], 45 [ 46 1, 47 2, 48 6 49 ], 50 [ 51 2, 52 3, 53 6 54 ], 55 [ 56 3, 57 4, 58 6 59 ], 60 [ 61 4, 62 5, 63 6 64 ], 65 [ 66 5, 67 0, 68 6 69 ] 70 ], 71 "metadata": { 72 "id": "Me560", 73 "schema_version": 0, 74 "defect_class": "loop_subdivision", 75 "title": "loopSubdivision midpoint_vs_full_relaxation: central vertex v6 is fully interior; eligible for Loop-scheme vertex relaxation (Branch 1)", 76 "assertions": [ 77 { 78 "kind": "edge_shared_by_n_triangles", 79 "edge": [ 80 0, 81 6 82 ], 83 "n": 2 84 }, 85 { 86 "kind": "edge_shared_by_n_triangles", 87 "edge": [ 88 1, 89 6 90 ], 91 "n": 2 92 }, 93 { 94 "kind": "edge_shared_by_n_triangles", 95 "edge": [ 96 2, 97 6 98 ], 99 "n": 2 100 }, 101 { 102 "kind": "edge_shared_by_n_triangles", 103 "edge": [ 104 3, 105 6 106 ], 107 "n": 2 108 }, 109 { 110 "kind": "edge_shared_by_n_triangles", 111 "edge": [ 112 4, 113 6 114 ], 115 "n": 2 116 }, 117 { 118 "kind": "edge_shared_by_n_triangles", 119 "edge": [ 120 5, 121 6 122 ], 123 "n": 2 124 }, 125 { 126 "kind": "edge_shared_by_n_triangles", 127 "edge": [ 128 0, 129 1 130 ], 131 "n": 1 132 }, 133 { 134 "kind": "edge_shared_by_n_triangles", 135 "edge": [ 136 1, 137 2 138 ], 139 "n": 1 140 }, 141 { 142 "kind": "edge_shared_by_n_triangles", 143 "edge": [ 144 2, 145 3 146 ], 147 "n": 1 148 }, 149 { 150 "kind": "edge_shared_by_n_triangles", 151 "edge": [ 152 3, 153 4 154 ], 155 "n": 1 156 }, 157 { 158 "kind": "edge_shared_by_n_triangles", 159 "edge": [ 160 4, 161 5 162 ], 163 "n": 1 164 }, 165 { 166 "kind": "edge_shared_by_n_triangles", 167 "edge": [ 168 0, 169 5 170 ], 171 "n": 1 172 }, 173 { 174 "kind": "euler_characteristic", 175 "v": 7, 176 "e": 12, 177 "f": 6, 178 "chi": 1 179 } 180 ] 181 } 182}