step-examples/12-3b-wires/Twi274.stp
Sources
- synthesized — no external source cited
Description
CheckLoop Seam Classification
Reproducer recipe
Expected kernel behavior
The second edge starts and ends on the vertex at (1,0,0) and its curve is a full unit long, so it is a genuine closed sub-loop hanging off the end of an open chain and that vertex has three incident edge-ends. Only edges with zero 3D extent, or true seams on a periodic surface, may be discounted from that count, and neither exemption applies here — the surrounding entity is a bare curve set with no periodic surface anywhere in it — so separate the closed sub-loop from the chain instead of presenting the pair as one contour.
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/* Twi274: GEOMETRIC_CURVE_SET containing EDGE_LOOP with two edges; regular edge + seam (V->V self-loop); seam_reg: (0,0,0)->(1,0,0) normal edge; seam_seam: (1,0,0)->(1,0,0) seam self-loop â same vertex at start and end; CheckLoop must exclude seam edges from loop degree count IS spurious detection defect; without seam filter, self-loop at V1 triggers spurious multi-vertex detection; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; all EDGE_CURVEs ARE wired into EDGE_LOOP; never orphaned */ 3HEADER; 4FILE_DESCRIPTION(('Twi274'),'2;1'); 5FILE_NAME('Twi274.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=CARTESIAN_POINT('',(0.0,0.0,0.0)); 17#8=LINE('',#7,#6); 18#9=EDGE_CURVE('seam_reg',#2,#4,#8,.T.); 19#10=DIRECTION('',(0.0,1.0,0.0)); 20#11=VECTOR('',#10,1.0); 21#12=CARTESIAN_POINT('',(1.0,0.0,0.0)); 22#13=LINE('',#12,#11); 23#14=EDGE_CURVE('seam_seam',#4,#4,#13,.T.); 24#15=ORIENTED_EDGE('',*,*,#9,.T.); 25#16=ORIENTED_EDGE('',*,*,#14,.T.); 26#17=EDGE_LOOP('',(#15,#16)); 27#18=GEOMETRIC_CURVE_SET('',(#17)); 28#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 29#9051=PRODUCT('Twi274','Twi274','',(#9050)); 30#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 31#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 32#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 33#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 34#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 35#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 36#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 37#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 38#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 39#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#18),#9060); 40#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 41ENDSEC; 42END-ISO-10303-21;