Me1131 — SI pair needing 2-ring expansion: expand_face_selection step>0 branch

§12.14 mesh defects (sub-class: self-intersection/expansion-needed)

topology

Sources

Description

tris 0 and 1 form a center crossing pair (XY and XZ planes, shared apex at origin). Tris 2-5 form an inner belt sharing edges with the center pair; this selection is still not disk-fillable. Only after adding the outer belt (tris 6-9) does the total selection become topologically a disk (chi=1), enabling hole-fill at step=2. This exercises the iterative expand_face_selection loop that expands the face set by multiple topological rings before attempting repair.

Reproducer recipe

center crossing pair (tris 0-1); inner belt at radius 2.0 (tris 2-5, 4 triangles sharing edges with center pair); outer belt at radius 3.0 (tris 6-9, 4 triangles extending the selection to a disk).

Expected kernel behavior

detect that initial SI region is not disk-fillable; iterate expand_face_selection with step > 0 to include 2 rings; hole-fill once disk topology is achieved.

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      0.0,
21      1.0
22    ],
23    [
24      1.0,
25      0.0,
26      -1.0
27    ],
28    [
29      2.0,
30      1.5,
31      0.0
32    ],
33    [
34      2.0,
35      -1.5,
36      0.0
37    ],
38    [
39      2.0,
40      0.0,
41      1.5
42    ],
43    [
44      2.0,
45      0.0,
46      -1.5
47    ],
48    [
49      3.0,
50      1.5,
51      0.0
52    ],
53    [
54      3.0,
55      -1.5,
56      0.0
57    ],
58    [
59      3.0,
60      0.0,
61      1.5
62    ],
63    [
64      3.0,
65      0.0,
66      -1.5
67    ]
68  ],
69  "triangles": [
70    [
71      0,
72      1,
73      2
74    ],
75    [
76      0,
77      3,
78      4
79    ],
80    [
81      1,
82      5,
83      2
84    ],
85    [
86      3,
87      7,
88      4
89    ],
90    [
91      1,
92      3,
93      5
94    ],
95    [
96      2,
97      4,
98      6
99    ],
100    [
101      5,
102      9,
103      7
104    ],
105    [
106      6,
107      8,
108      10
109    ],
110    [
111      5,
112      7,
113      9
114    ],
115    [
116      6,
117      10,
118      8
119    ]
120  ],
121  "metadata": {
122    "id": "Me1131",
123    "schema_version": 0,
124    "defect_class": "self_intersection_expansion_needed",
125    "title": "SI pair needing 2-ring expansion: expand_face_selection step>0 branch",
126    "assertions": [
127      {
128        "kind": "triangles_self_intersect",
129        "triangles": [
130          0,
131          1
132        ]
133      },
134      {
135        "kind": "edge_shared_by_n_triangles",
136        "edge": [
137          1,
138          2
139        ],
140        "n": 2
141      },
142      {
143        "kind": "edge_shared_by_n_triangles",
144        "edge": [
145          5,
146          7
147        ],
148        "n": 2
149      }
150    ]
151  }
152}