step-examples/12-3b-wires/Twi190.stp
Sources
- synthesized — no external source cited
Description
ShapeAnalysis_Wire.CheckShapeConnect three-edge-fan
Reproducer recipe
Expected kernel behavior
Recognize vertex H=(2,1,0) as a 4-way branch point, not a chain junction: all three "spoke" edges (from A=(0,0,0), B=(4,0,0), and C=(2,3,0)) end at H, and a fourth edge starts at H and returns to A — so H is touched by all four edges in this loop, while B and C are each touched by only one edge (dead ends). A kernel must compute vertex degree and recognize that a vertex referenced by more than two edge-ends cannot be a simple polygon corner; the three spokes plus hub-return form a star with two dangling blades, not a valid 4-sided closed wire, regardless of the order the edges are listed in.
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Twi190: GEOMETRIC_CURVE_SET containing EDGE_LOOP with 4 edges on PLANE; PLANE: normal +Z, origin (0,0,0); hub vertex H(2,1,0) shared by 3 incoming edges and 1 outgoing edge; fan_spoke_0: A(0,0)->H(2,1) first incoming edge; fan_spoke_1: B(4,0)->H(2,1) second incoming edge; fan_spoke_2: C(2,3)->H(2,1) third incoming edge; fan_hub_out: H(2,1)->A(0,0) outgoing edge; three-edge fan at H IS mechanism: CheckShapeConnect expects 2-edge sharing; CheckShapeConnect IS mechanism â wrong verdict for n-way fan topology; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; all EDGE_CURVEs ARE wired into EDGE_LOOP; never orphaned */ 3HEADER; 4FILE_DESCRIPTION(('Twi190'),'2;1'); 5FILE_NAME('Twi190.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.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(4.0,0.0,0.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(2.0,3.0,0.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(2.0,1.0,0.0)); 22#13=VERTEX_POINT('',#12); 23#14=CARTESIAN_POINT('',(0.0,0.0,0.0)); 24#15=DIRECTION('',(0.894427191,0.4472135955,0.0)); 25#16=VECTOR('',#15,2.2360679775); 26#17=LINE('',#14,#16); 27#18=CARTESIAN_POINT('',(0.0,0.0)); 28#19=DIRECTION('',(0.894427191,0.4472135955)); 29#20=VECTOR('',#19,2.2360679775); 30#21=LINE('',#18,#20); 31#22=DEFINITIONAL_REPRESENTATION('',(#21),#*); 32#23=PCURVE('',#5,#22); 33#24=SURFACE_CURVE('',#17,(#23),.PCURVE_S1.); 34#25=EDGE_CURVE('fan_spoke_0',#7,#13,#24,.T.); 35#26=ORIENTED_EDGE('',*,*,#25,.T.); 36#27=CARTESIAN_POINT('',(4.0,0.0,0.0)); 37#28=DIRECTION('',(-0.894427191,0.4472135955,0.0)); 38#29=VECTOR('',#28,2.2360679775); 39#30=LINE('',#27,#29); 40#31=CARTESIAN_POINT('',(4.0,0.0)); 41#32=DIRECTION('',(-0.894427191,0.4472135955)); 42#33=VECTOR('',#32,2.2360679775); 43#34=LINE('',#31,#33); 44#35=DEFINITIONAL_REPRESENTATION('',(#34),#*); 45#36=PCURVE('',#5,#35); 46#37=SURFACE_CURVE('',#30,(#36),.PCURVE_S1.); 47#38=EDGE_CURVE('fan_spoke_1',#9,#13,#37,.T.); 48#39=ORIENTED_EDGE('',*,*,#38,.T.); 49#40=CARTESIAN_POINT('',(2.0,3.0,0.0)); 50#41=DIRECTION('',(0.0,-1.0,0.0)); 51#42=VECTOR('',#41,2.0); 52#43=LINE('',#40,#42); 53#44=CARTESIAN_POINT('',(2.0,3.0)); 54#45=DIRECTION('',(0.0,-1.0)); 55#46=VECTOR('',#45,2.0); 56#47=LINE('',#44,#46); 57#48=DEFINITIONAL_REPRESENTATION('',(#47),#*); 58#49=PCURVE('',#5,#48); 59#50=SURFACE_CURVE('',#43,(#49),.PCURVE_S1.); 60#51=EDGE_CURVE('fan_spoke_2',#11,#13,#50,.T.); 61#52=ORIENTED_EDGE('',*,*,#51,.T.); 62#53=CARTESIAN_POINT('',(2.0,1.0,0.0)); 63#54=DIRECTION('',(-0.894427191,-0.4472135955,0.0)); 64#55=VECTOR('',#54,2.2360679775); 65#56=LINE('',#53,#55); 66#57=CARTESIAN_POINT('',(2.0,1.0)); 67#58=DIRECTION('',(-0.894427191,-0.4472135955)); 68#59=VECTOR('',#58,2.2360679775); 69#60=LINE('',#57,#59); 70#61=DEFINITIONAL_REPRESENTATION('',(#60),#*); 71#62=PCURVE('',#5,#61); 72#63=SURFACE_CURVE('',#56,(#62),.PCURVE_S1.); 73#64=EDGE_CURVE('fan_hub_out',#13,#7,#63,.T.); 74#65=ORIENTED_EDGE('',*,*,#64,.T.); 75#66=EDGE_LOOP('',(#26,#39,#52,#65)); 76#67=GEOMETRIC_CURVE_SET('',(#66)); 77#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 78#9051=PRODUCT('Twi190','Twi190','',(#9050)); 79#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 80#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 81#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 82#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 83#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 84#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 85#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 86#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 87#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 88#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#67),#9060); 89#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 90ENDSEC; 91END-ISO-10303-21;