Me204 — zip_geometry_check_enabled: check_geom rejects zip when ov1 and ov2 have distinct coordinates

§12.14 mesh defects (sub-class: zip / geometry-check-enabled)

spec-violation

Sources

Description

With check_geom=true, zip refuses to merge when the opposite vertices ov1 and ov2 have different coordinates. Geometry: two isolated triangles sharing only v0; ov1=v3=(0,1,0) and ov2=v4=(0,3,0) are clearly distinct → return 0.

Reproducer recipe

v0=(0,0,0), v1=(1,0,0), v2=(-1,0,0), v3=(0,1,0), v4=(0,3,0); t0=(v0,v1,v3), t1=(v0,v2,v4).

Expected kernel behavior

check_geom detects (*ov1)!=(*ov2) by coordinates → return 0 without merging.

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      -1.0,
15      0.0,
16      0.0
17    ],
18    [
19      0.0,
20      1.0,
21      0.0
22    ],
23    [
24      0.0,
25      3.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      3
34    ],
35    [
36      0,
37      2,
38      4
39    ]
40  ],
41  "metadata": {
42    "id": "Me204",
43    "schema_version": 0,
44    "defect_class": "zip_geometry_check_enabled",
45    "title": "zip_geometry_check_enabled: check_geom rejects zip when ov1 and ov2 have distinct coordinates",
46    "assertions": [
47      {
48        "kind": "edge_shared_by_n_triangles",
49        "edge": [
50          0,
51          1
52        ],
53        "n": 1
54      },
55      {
56        "kind": "edge_shared_by_n_triangles",
57        "edge": [
58          0,
59          2
60        ],
61        "n": 1
62      },
63      {
64        "kind": "edge_shared_by_n_triangles",
65        "edge": [
66          0,
67          3
68        ],
69        "n": 1
70      },
71      {
72        "kind": "edge_shared_by_n_triangles",
73        "edge": [
74          0,
75          4
76        ],
77        "n": 1
78      },
79      {
80        "kind": "edge_shared_by_n_triangles",
81        "edge": [
82          1,
83          3
84        ],
85        "n": 1
86      },
87      {
88        "kind": "edge_shared_by_n_triangles",
89        "edge": [
90          2,
91          4
92        ],
93        "n": 1
94      },
95      {
96        "kind": "hole_boundary",
97        "loop": [
98          0,
99          1,
100          3
101        ]
102      },
103      {
104        "kind": "hole_boundary",
105        "loop": [
106          0,
107          2,
108          4
109        ]
110      }
111    ]
112  }
113}