Me108 — unlink_triangle_v1_manifold_duplication: v1 is non-manifold bowtie requiring duplication on unlink

§12.14 mesh defects (sub-class: triangle-unlink / manifold-duplication-v1)

topology

Sources

Description

v1 is a bowtie (non-manifold) vertex: its fan has two disconnected components — an upper component containing the target triangle t0, and an isolated lower fan. Branch 1 sets v1nm; Branch 11 carries out the actual v1 duplication (clone vertex, redirect incident edges, add clone to mesh) before the unlink proceeds.

Reproducer recipe

v0=(0,0,0), v1=(1,0,0), v2=(2,0,0), v3=(1,1,0), v4=(0,-1,0), v5=(2,-1,0). Upper: t0=(v0,v1,v3), t1=(v1,v2,v3), t2=(v0,v3,v2). Lower: t3=(v1,v4,v5).

Expected kernel behavior

clone v1; upper fan gets one copy, lower fan gets the duplicate; then unlink t0 from the upper copy.

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      0.0,
11      0.0
12    ],
13    [
14      2.0,
15      0.0,
16      0.0
17    ],
18    [
19      1.0,
20      1.0,
21      0.0
22    ],
23    [
24      0.0,
25      -1.0,
26      0.0
27    ],
28    [
29      2.0,
30      -1.0,
31      0.0
32    ]
33  ],
34  "triangles": [
35    [
36      0,
37      1,
38      3
39    ],
40    [
41      1,
42      2,
43      3
44    ],
45    [
46      0,
47      3,
48      2
49    ],
50    [
51      1,
52      4,
53      5
54    ]
55  ],
56  "metadata": {
57    "id": "Me108",
58    "schema_version": 0,
59    "defect_class": "unlink_manifold_duplication_v1",
60    "title": "unlink_triangle_v1_manifold_duplication: v1 is non-manifold bowtie requiring duplication on unlink",
61    "assertions": [
62      {
63        "kind": "edge_shared_by_n_triangles",
64        "edge": [
65          1,
66          3
67        ],
68        "n": 2
69      },
70      {
71        "kind": "edge_shared_by_n_triangles",
72        "edge": [
73          1,
74          2
75        ],
76        "n": 1
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          1,
90          4
91        ],
92        "n": 1
93      },
94      {
95        "kind": "edge_shared_by_n_triangles",
96        "edge": [
97          1,
98          5
99        ],
100        "n": 1
101      },
102      {
103        "kind": "vertex_fan_disconnected",
104        "vertex": 1
105      }
106    ]
107  }
108}