Twi120 — ShapeAnalysis_Wire.CheckShapeConnect 4-way orientation encoding

§12.3b

topology

Sources

Description

ShapeAnalysis_Wire.CheckShapeConnect 4-way orientation encoding

Reproducer recipe

Expected kernel behavior

Recognize that vertex #2 at (0,0,0) is an endpoint of all four edges, not a simple 2-edge chain junction: edge 1 runs (0,0,0)→(5,0,0), edge 2 (oriented reversed) runs (0,5,0)→(0,0,0), edge 3 runs (5,5,0)→(0,0,0), and edge 4 (oriented reversed) runs (0,0,0)→(-5,0,0) — four spokes that all touch the same hub point but, taken in the EDGE_LOOP's listed order, never share an endpoint between consecutive edges. A kernel must recognize a vertex referenced by more than two edge-ends as a branch point and either split the star into independent chains anchored there or reject the EDGE_LOOP as not a simple cycle, rather than attempt to chain the edges as if each connects to the next in sequence.

Expected validation

occt=empty/empty gmsh=empty 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/* Twi120: GEOMETRIC_CURVE_SET containing EDGE_LOOP with 4 radial edges meeting at hub vertex (0,0,0); mixed orientation pattern (--,++,-+) at hub IS defect; e1: FORWARD (0,0,0)→(5,0,0) tip1; e2: FORWARD (0,0,0)→(0,5,0) tip2 (reversed in loop); e3: FORWARD (5,5,0)→(0,0,0) — convergent; e4: FORWARD (-5,0,0)→(0,0,0) reversed-sense in loop — divergent; CheckShapeConnect DONE2/3/4 status templates miss mixed orientation; silent merge-decision miss — status propagation undefined; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty; all EDGE_CURVEs ARE wired into EDGE_LOOP; never orphaned */
3HEADER;
4FILE_DESCRIPTION(('Twi120'),'2;1');
5FILE_NAME('Twi120.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('',(5.0,0.0,0.0));
13#4=VERTEX_POINT('',#3);
14#5=CARTESIAN_POINT('',(0.0,5.0,0.0));
15#6=VERTEX_POINT('',#5);
16#7=CARTESIAN_POINT('',(5.0,5.0,0.0));
17#8=VERTEX_POINT('',#7);
18#9=CARTESIAN_POINT('',(-5.0,0.0,0.0));
19#10=VERTEX_POINT('',#9);
20#11=CARTESIAN_POINT('',(0.0,0.0,0.0));
21#12=DIRECTION('',(1.0,0.0,0.0));
22#13=VECTOR('',#12,5.0);
23#14=LINE('',#11,#13);
24#15=EDGE_CURVE('',#2,#4,#14,.T.);
25#16=ORIENTED_EDGE('',$,$,#15,.T.);
26#17=CARTESIAN_POINT('',(0.0,0.0,0.0));
27#18=DIRECTION('',(0.0,1.0,0.0));
28#19=VECTOR('',#18,5.0);
29#20=LINE('',#17,#19);
30#21=EDGE_CURVE('',#2,#6,#20,.T.);
31#22=ORIENTED_EDGE('',$,$,#21,.F.);
32#23=CARTESIAN_POINT('',(5.0,5.0,0.0));
33#24=DIRECTION('',(-0.707106781187,-0.707106781187,0.0));
34#25=VECTOR('',#24,7.07106781187);
35#26=LINE('',#23,#25);
36#27=EDGE_CURVE('',#8,#2,#26,.T.);
37#28=ORIENTED_EDGE('',$,$,#27,.T.);
38#29=CARTESIAN_POINT('',(-5.0,0.0,0.0));
39#30=DIRECTION('',(1.0,0.0,0.0));
40#31=VECTOR('',#30,5.0);
41#32=LINE('',#29,#31);
42#33=EDGE_CURVE('',#10,#2,#32,.T.);
43#34=ORIENTED_EDGE('',$,$,#33,.F.);
44#35=EDGE_LOOP('',(#16,#22,#28,#34));
45#36=GEOMETRIC_CURVE_SET('',(#35));
46#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
47#9051=PRODUCT('Twi120','Twi120','',(#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;