Tsh220 — multiconnect_edge_loop_unbounded

§12.3a

topology

Sources

Description

multiconnect_edge_loop_unbounded

Reproducer recipe

Expected kernel behavior

All three faces (A in the XY-plane, B below it, C above it) reference the identical EDGE_CURVE running from (0,0,0) to (1,0,0) — a single edge incident to three faces at once, which is non-manifold (a valid manifold edge has exactly two incident faces). Detect edges with three or more incident faces as a distinct, explicitly reported non-manifold condition before running any per-pair orientation-consistency logic on that edge; treating it as an ordinary shared edge and running pairwise checks over all three faces has no well-defined 'consistent' answer and risks unbounded pairwise work as the incident-face count grows.

Expected validation

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

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tsh220: OPEN_SHELL with THREE ADVANCED_FACEs sharing a SINGLE COMMON EDGE IS the multiconnect_edge_loop_unbounded trigger; the shared edge IS the central spine along X-axis from (0,0,0) to (1,0,0) — IS the multi-incident edge; face A IS a triangle in the XY-plane (Z=0, Y>0 side) — IS the first incident face; face B IS a triangle below the XY-plane (Z<0, Y=0) — IS the second incident face; face C IS a triangle above the XY-plane (Z>0, Y=0) — IS the third incident face; all three faces share the same EDGE_CURVE entity — IS the 3+ faces-per-edge topology; isAccountMultiConex loop iterates without bound over 3 incident faces — IS the O(n²) path; no complexity guard on iteration count — IS the unbounded-loop defect; fix: add complexity guard (face count per edge <= 2 manifold check) before isAccountMultiConex loop; emit E_MULTICONNECT_EDGE_LOOP_UNBOUNDED when edge has 3+ incident faces */
3HEADER;
4FILE_DESCRIPTION(('Tsh220'),'2;1');
5FILE_NAME('Tsh220.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=VERTEX_POINT('',#1);
12#3=CARTESIAN_POINT('',(1.0,0.0,0.0));
13#4=VERTEX_POINT('',#3);
14#5=DIRECTION('',(1.0,0.0,0.0));
15#6=VECTOR('',#5,1.0);
16#7=LINE('',#1,#6);
17#8=EDGE_CURVE('',#2,#4,#7,.T.);
18#9=CARTESIAN_POINT('',(0.5,1.0,0.0));
19#10=VERTEX_POINT('',#9);
20#11=CARTESIAN_POINT('',(0.5,0.0,-1.0));
21#12=VERTEX_POINT('',#11);
22#13=CARTESIAN_POINT('',(0.5,0.0,1.0));
23#14=VERTEX_POINT('',#13);
24#15=DIRECTION('',(0.5,1.0,0.0));
25#16=VECTOR('',#15,1.0);
26#17=LINE('',#1,#16);
27#18=EDGE_CURVE('',#2,#10,#17,.T.);
28#19=DIRECTION('',(0.5,-1.0,0.0));
29#20=VECTOR('',#19,1.0);
30#21=LINE('',#9,#20);
31#22=EDGE_CURVE('',#10,#4,#21,.T.);
32#23=DIRECTION('',(0.5,0.0,-1.0));
33#24=VECTOR('',#23,1.0);
34#25=LINE('',#1,#24);
35#26=EDGE_CURVE('',#2,#12,#25,.T.);
36#27=DIRECTION('',(0.5,0.0,1.0));
37#28=VECTOR('',#27,1.0);
38#29=LINE('',#11,#28);
39#30=EDGE_CURVE('',#12,#4,#29,.T.);
40#31=DIRECTION('',(0.5,0.0,1.0));
41#32=VECTOR('',#31,1.0);
42#33=LINE('',#1,#32);
43#34=EDGE_CURVE('',#2,#14,#33,.T.);
44#35=DIRECTION('',(0.5,0.0,-1.0));
45#36=VECTOR('',#35,1.0);
46#37=LINE('',#13,#36);
47#38=EDGE_CURVE('',#14,#4,#37,.T.);
48#39=ORIENTED_EDGE('',$,$,#8,.T.);
49#40=ORIENTED_EDGE('',$,$,#22,.T.);
50#41=ORIENTED_EDGE('',$,$,#18,.F.);
51#42=EDGE_LOOP('',(#39,#40,#41));
52#43=DIRECTION('',(0.0,0.0,1.0));
53#44=DIRECTION('',(1.0,0.0,0.0));
54#45=AXIS2_PLACEMENT_3D('',#1,#43,#44);
55#46=PLANE('',#45);
56#47=FACE_OUTER_BOUND('',#42,.T.);
57#48=ADVANCED_FACE('',(#47),#46,.T.);
58#49=ORIENTED_EDGE('',$,$,#8,.T.);
59#50=ORIENTED_EDGE('',$,$,#30,.T.);
60#51=ORIENTED_EDGE('',$,$,#26,.F.);
61#52=EDGE_LOOP('',(#49,#50,#51));
62#53=DIRECTION('',(0.0,-1.0,0.0));
63#54=DIRECTION('',(1.0,0.0,0.0));
64#55=AXIS2_PLACEMENT_3D('',#1,#53,#54);
65#56=PLANE('',#55);
66#57=FACE_OUTER_BOUND('',#52,.T.);
67#58=ADVANCED_FACE('',(#57),#56,.T.);
68#59=ORIENTED_EDGE('',$,$,#8,.T.);
69#60=ORIENTED_EDGE('',$,$,#38,.T.);
70#61=ORIENTED_EDGE('',$,$,#34,.F.);
71#62=EDGE_LOOP('',(#59,#60,#61));
72#63=DIRECTION('',(0.0,1.0,0.0));
73#64=DIRECTION('',(1.0,0.0,0.0));
74#65=AXIS2_PLACEMENT_3D('',#1,#63,#64);
75#66=PLANE('',#65);
76#67=FACE_OUTER_BOUND('',#62,.T.);
77#68=ADVANCED_FACE('',(#67),#66,.T.);
78#69=OPEN_SHELL('',(#48,#58,#68));
79#70=SHELL_BASED_SURFACE_MODEL('',(#69));
80#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
81#9051=PRODUCT('Tsh220','Tsh220','',(#9050));
82#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
83#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
84#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
85#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
86#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
87#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
88#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
89#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
90#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
91#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#70),#9060);
92#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
93ENDSEC;
94END-ISO-10303-21;