Twi009 — Common vertex shared between two distinct wires (STEP-invalid)

§12.3b wire-loop

topology

Sources

Description

STEP requires that each wire of a face own its own distinct `VERTEX_POINT`s. The sender produces a face whose outer wire and inner wire reference the same `VERTEX_POINT` instance; legal in some kernel-internal BRep representations, but invalid in STEP and ambiguous to receivers expecting per-wire vertex ownership.

Reproducer recipe

`FACE_OUTER_BOUND` and `FACE_BOUND` whose `EDGE_LOOP`s reference the same `VERTEX_POINT` `#v`.

Expected kernel behavior

split the shared vertex into per-wire copies, or reject as malformed.

Notes

**OCC behavior**: the validity-checker does not flag the shared `VERTEX_POINT` between distinct wires; tier-3 valid-flag should be ignored for this entry. The reader most likely silently fixes or ignores the shared vertex on import. Synonyms: "two wires reference same vertex instance", "outer and inner loops share VERTEX_POINT", "vertex shared across distinct wires", "wires must not share vertices", "ambiguous vertex ownership between loops".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(21) 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

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Twi009: OPEN_SHELL with one ADVANCED_FACE on a PLANE (z=0, normal +Z); FACE_OUTER_BOUND references an EDGE_LOOP for a unit-square outer wire; FACE_BOUND references an EDGE_LOOP for a small inner square (hole); one VERTEX_POINT entity (#v_shared at (0.5,0.5,0)) IS referenced by both the outer wire's edge and the inner wire's edge; STEP requires per-wire distinct VERTEX_POINTs — sharing IS the defect; kernel must split shared vertex into per-wire copies or reject as malformed */
3HEADER;
4FILE_DESCRIPTION(('Twi009'),'2;1');
5FILE_NAME('Twi009.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('',(0.5,0.5,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('',(2.0,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('',(0.0,2.0,0.0));
24#15=VERTEX_POINT('',#14);
25#16=CARTESIAN_POINT('',(0.0,0.0,0.0));
26#17=DIRECTION('',(1.0,0.0,0.0));
27#18=VECTOR('',#17,1.0);
28#19=LINE('',#16,#18);
29#20=EDGE_CURVE('',#9,#11,#19,.T.);
30#21=CARTESIAN_POINT('',(2.0,0.0,0.0));
31#22=DIRECTION('',(0.0,1.0,0.0));
32#23=VECTOR('',#22,1.0);
33#24=LINE('',#21,#23);
34#25=EDGE_CURVE('',#11,#13,#24,.T.);
35#26=CARTESIAN_POINT('',(2.0,2.0,0.0));
36#27=DIRECTION('',(-1.0,0.0,0.0));
37#28=VECTOR('',#27,1.0);
38#29=LINE('',#26,#28);
39#30=EDGE_CURVE('',#13,#15,#29,.T.);
40#31=CARTESIAN_POINT('',(0.0,2.0,0.0));
41#32=DIRECTION('',(0.316227766017,-0.948683298051,0.0));
42#33=VECTOR('',#32,1.0);
43#34=LINE('',#31,#33);
44#35=EDGE_CURVE('',#15,#7,#34,.T.);
45#36=CARTESIAN_POINT('',(0.5,0.5,0.0));
46#37=DIRECTION('',(-0.707106781187,-0.707106781187,0.0));
47#38=VECTOR('',#37,1.0);
48#39=LINE('',#36,#38);
49#40=EDGE_CURVE('',#7,#9,#39,.T.);
50#41=ORIENTED_EDGE('',$,$,#20,.T.);
51#42=ORIENTED_EDGE('',$,$,#25,.T.);
52#43=ORIENTED_EDGE('',$,$,#30,.T.);
53#44=ORIENTED_EDGE('',$,$,#35,.T.);
54#45=ORIENTED_EDGE('',$,$,#40,.T.);
55#46=EDGE_LOOP('',(#41,#42,#43,#44,#45));
56#47=CARTESIAN_POINT('',(0.3,0.3,0.0));
57#48=VERTEX_POINT('',#47);
58#49=CARTESIAN_POINT('',(0.7,0.3,0.0));
59#50=VERTEX_POINT('',#49);
60#51=CARTESIAN_POINT('',(0.7,0.7,0.0));
61#52=VERTEX_POINT('',#51);
62#53=CARTESIAN_POINT('',(0.3,0.7,0.0));
63#54=VERTEX_POINT('',#53);
64#55=CARTESIAN_POINT('',(0.3,0.3,0.0));
65#56=DIRECTION('',(1.0,0.0,0.0));
66#57=VECTOR('',#56,1.0);
67#58=LINE('',#55,#57);
68#59=EDGE_CURVE('',#48,#50,#58,.T.);
69#60=CARTESIAN_POINT('',(0.7,0.3,0.0));
70#61=DIRECTION('',(0.0,1.0,0.0));
71#62=VECTOR('',#61,1.0);
72#63=LINE('',#60,#62);
73#64=EDGE_CURVE('',#50,#52,#63,.T.);
74#65=CARTESIAN_POINT('',(0.7,0.7,0.0));
75#66=DIRECTION('',(-0.707106781187,-0.707106781187,0.0));
76#67=VECTOR('',#66,1.0);
77#68=LINE('',#65,#67);
78#69=EDGE_CURVE('',#52,#7,#68,.T.);
79#70=CARTESIAN_POINT('',(0.5,0.5,0.0));
80#71=DIRECTION('',(-0.707106781187,0.707106781187,0.0));
81#72=VECTOR('',#71,1.0);
82#73=LINE('',#70,#72);
83#74=EDGE_CURVE('',#7,#54,#73,.T.);
84#75=CARTESIAN_POINT('',(0.3,0.7,0.0));
85#76=DIRECTION('',(0.0,-1.0,0.0));
86#77=VECTOR('',#76,1.0);
87#78=LINE('',#75,#77);
88#79=EDGE_CURVE('',#54,#48,#78,.T.);
89#80=ORIENTED_EDGE('',$,$,#59,.T.);
90#81=ORIENTED_EDGE('',$,$,#64,.T.);
91#82=ORIENTED_EDGE('',$,$,#69,.T.);
92#83=ORIENTED_EDGE('',$,$,#74,.T.);
93#84=ORIENTED_EDGE('',$,$,#79,.T.);
94#85=EDGE_LOOP('',(#80,#81,#82,#83,#84));
95#86=FACE_OUTER_BOUND('',#46,.T.);
96#87=FACE_BOUND('',#85,.T.);
97#88=ADVANCED_FACE('',(#86,#87),#5,.T.);
98#89=OPEN_SHELL('',(#88));
99#90=SHELL_BASED_SURFACE_MODEL('',(#89));
100#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
101#9051=PRODUCT('Twi009','Twi009','',(#9050));
102#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
103#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
104#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
105#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
106#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
107#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
108#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
109#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
110#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
111#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#90),#9060);
112#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
113ENDSEC;
114END-ISO-10303-21;