Me078 — duplicate_singular_vertices: 3-fan vertex requiring 2 new duplicate points

§12.14 mesh defects (sub-class: non-manifold vertex / singular vertex)

topology

Sources

Description

vertex 0 is a singular vertex with 3 link CCs (three fans at different Z heights: z=0, z=2, z=4). After repair, the point_duplication_loop creates 2 new clone points (Branch 11 fires twice) and the polygon_index_replacement sub-pass (Branch 12) updates 2 triangle references. The fixture stresses the multi-duplication path in a fully 3D configuration.

Reproducer recipe

v0=(0,0,0); fan A at z=0 (v1,v2); fan B at z=2 (v3,v4); fan C at z=4 (v5,v6); 3 triangles total, no shared edges.

Expected kernel behavior

split v0 into 3 copies; fan A retains original; fans B and C receive the 2 new clones; vertex count increases by 2.

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      1.0,
10      1.0,
11      0.0
12    ],
13    [
14      -1.0,
15      1.0,
16      0.0
17    ],
18    [
19      1.0,
20      1.0,
21      2.0
22    ],
23    [
24      -1.0,
25      1.0,
26      2.0
27    ],
28    [
29      1.0,
30      1.0,
31      4.0
32    ],
33    [
34      -1.0,
35      1.0,
36      4.0
37    ]
38  ],
39  "triangles": [
40    [
41      0,
42      1,
43      2
44    ],
45    [
46      0,
47      3,
48      4
49    ],
50    [
51      0,
52      5,
53      6
54    ]
55  ],
56  "metadata": {
57    "id": "Me078",
58    "schema_version": 0,
59    "defect_class": "non_manifold_vertex",
60    "title": "duplicate_singular_vertices: 3-fan vertex requiring 2 new duplicate points",
61    "assertions": [
62      {
63        "kind": "edge_shared_by_n_triangles",
64        "edge": [
65          0,
66          1
67        ],
68        "n": 1
69      },
70      {
71        "kind": "edge_shared_by_n_triangles",
72        "edge": [
73          0,
74          2
75        ],
76        "n": 1
77      },
78      {
79        "kind": "edge_shared_by_n_triangles",
80        "edge": [
81          0,
82          3
83        ],
84        "n": 1
85      },
86      {
87        "kind": "edge_shared_by_n_triangles",
88        "edge": [
89          0,
90          4
91        ],
92        "n": 1
93      },
94      {
95        "kind": "edge_shared_by_n_triangles",
96        "edge": [
97          0,
98          5
99        ],
100        "n": 1
101      },
102      {
103        "kind": "edge_shared_by_n_triangles",
104        "edge": [
105          0,
106          6
107        ],
108        "n": 1
109      },
110      {
111        "kind": "vertex_fan_disconnected",
112        "vertex": 0
113      }
114    ]
115  }
116}