Twi043 — Disjoined / nearly-coincident wire vertices need merge or split decision

§12.3b wire-loop

topology

Sources

Description

A wire's vertices include same-coordinate or close-coordinate vertices that the global vertex-equality tolerance would treat as separate, but local context (wire-level adjacency) suggests they should be merged. Conversely, a wire may have a single vertex referenced where two distinct vertices are required.

Reproducer recipe

Wire with two vertices at coords (0,0,0) and (1e-7,0,0) that the global tolerance treats as separate.

Expected kernel behavior

at the wire level, decide merge vs. split based on local context and a wire-specific tolerance budget, then propagate the decision up to incident faces; or reject as malformed.

Notes

**See also**: Tfa019. Synonyms: "near-coincident wire vertices", "merge-or-split decision on close vertices", "two vertices at sub-tolerance distance in wire", "vertex equality decision context-dependent", "wire-local tolerance differs from global".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(7) ifc=schema_n/a

Closure intent

sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.

Tier-3 assertions

Cross-references

Tfa019

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Twi043: ADVANCED_FACE on a PLANE; EDGE_LOOP contains three EDGE_CURVEs forming a triangle; edge_1 ends at VERTEX_POINT v_B at (0.0,0.0,0.0); edge_2 starts at DISTINCT VERTEX_POINT v_B2 at (1e-7,0.0,0.0); these two vertices are separate STEP entities but |v_B - v_B2| = 1e-7 < global tolerance 1e-6; the sub-tolerance gap between v_B and v_B2 IS the mechanism (merge-or-split decision needed); all three edges ARE wired into EDGE_LOOP → FACE_OUTER_BOUND → ADVANCED_FACE in shell; kernel must use wire-local context, not global tolerance, for the merge decision */
3HEADER;
4FILE_DESCRIPTION(('Twi043'),'2;1');
5FILE_NAME('Twi043.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
11#2=DIRECTION('',(0.0,0.0,1.0));
12#3=DIRECTION('',(1.0,0.0,0.0));
13#4=AXIS2_PLACEMENT_3D('',#1,#2,#3);
14#5=PLANE('',#4);
15#6=CARTESIAN_POINT('',(2.0,0.0,0.0));
16#7=VERTEX_POINT('',#6);
17#8=CARTESIAN_POINT('',(0.0,0.0,0.0));
18#9=VERTEX_POINT('',#8);
19#10=CARTESIAN_POINT('',(1.0E-07,0.0,0.0));
20#11=VERTEX_POINT('',#10);
21#12=CARTESIAN_POINT('',(2.0,2.0,0.0));
22#13=VERTEX_POINT('',#12);
23#14=CARTESIAN_POINT('',(2.0,2.0,0.0));
24#15=DIRECTION('',(-1.0,-1.0,0.0));
25#16=VECTOR('',#15,2.82842712475);
26#17=LINE('',#14,#16);
27#18=EDGE_CURVE('',#13,#9,#17,.T.);
28#19=ORIENTED_EDGE('',$,$,#18,.T.);
29#20=CARTESIAN_POINT('',(1.0E-07,0.0,0.0));
30#21=DIRECTION('',(1.0,0.0,0.0));
31#22=VECTOR('',#21,2.0);
32#23=LINE('',#20,#22);
33#24=EDGE_CURVE('',#11,#7,#23,.T.);
34#25=ORIENTED_EDGE('',$,$,#24,.T.);
35#26=CARTESIAN_POINT('',(2.0,0.0,0.0));
36#27=DIRECTION('',(0.0,1.0,0.0));
37#28=VECTOR('',#27,2.0);
38#29=LINE('',#26,#28);
39#30=EDGE_CURVE('',#7,#13,#29,.T.);
40#31=ORIENTED_EDGE('',$,$,#30,.T.);
41#32=EDGE_LOOP('',(#19,#25,#31));
42#33=FACE_OUTER_BOUND('',#32,.T.);
43#34=ADVANCED_FACE('',(#33),#5,.T.);
44#35=CLOSED_SHELL('',(#34));
45#36=SHELL_BASED_SURFACE_MODEL('',(#35));
46#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
47#9051=PRODUCT('Twi043','Twi043','',(#9050));
48#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
49#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
50#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
51#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
52#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
53#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
54#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
55#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
56#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
57#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#36),#9060);
58#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
59ENDSEC;
60END-ISO-10303-21;