step-examples/12-3b-wires/Twi209.stp
Sources
- synthesized — no external source cited
Description
ShapeFix_Wire.FixReorder mixed-curve-types-vertex-merge
Reproducer recipe
Expected kernel behavior
this model is a bare curve set — it carries no face and no shell — so returning no solid is CORRECT here and is not the defect. `heal` means the wire-level condition (shared vertices across mixed curve types during reordering) must be detected and reported; it does not mean geometry should appear. A kernel should diagnose that condition and continue processing the remaining entities rather than discarding the model without comment.
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/* Twi209: GEOMETRIC_CURVE_SET containing EDGE_LOOP with 3 edges on PLANE; PLANE: normal +Z, origin (0,0,0); line_e: LINE edge V0(0,0,0)->V1(5,0,0); arc_e: CIRCLE arc (radius 5, center (5,0,0)) V1(5,0,0)->V2(5+5*cos(45),5*sin(45),0); bsp_e: degree-2 B-spline V2(7.071,3.536,0)->V0(0,0,0); heterogeneous curve types at every vertex â LINE/CIRCLE/B-spline transitions; FixReorder vertex-merge across mixed curve types IS mechanism; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; all EDGE_CURVEs ARE wired into EDGE_LOOP; never orphaned */ 3HEADER; 4FILE_DESCRIPTION(('Twi209'),'2;1'); 5FILE_NAME('Twi209.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('',(5.0,0.0,0.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(3.53553390593,3.53553390593,0.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(0.0,0.0,0.0)); 22#13=DIRECTION('',(1.0,0.0,0.0)); 23#14=VECTOR('',#13,5.0); 24#15=LINE('',#12,#14); 25#16=CARTESIAN_POINT('',(0.0,0.0)); 26#17=DIRECTION('',(1.0,0.0)); 27#18=VECTOR('',#17,5.0); 28#19=LINE('',#16,#18); 29#20=DEFINITIONAL_REPRESENTATION('',(#19),#*); 30#21=PCURVE('',#5,#20); 31#22=SURFACE_CURVE('',#15,(#21),.PCURVE_S1.); 32#23=EDGE_CURVE('line_e',#7,#9,#22,.T.); 33#24=ORIENTED_EDGE('',*,*,#23,.T.); 34#25=CARTESIAN_POINT('',(0.0,0.0,0.0)); 35#26=DIRECTION('',(0.0,0.0,1.0)); 36#27=DIRECTION('',(1.0,0.0,0.0)); 37#28=AXIS2_PLACEMENT_3D('',#25,#26,#27); 38#29=CIRCLE('',#28,5.0); 39#30=EDGE_CURVE('arc_e',#9,#11,#29,.T.); 40#31=ORIENTED_EDGE('',*,*,#30,.T.); 41#32=CARTESIAN_POINT('',(3.53553390593,3.53553390593,0.0)); 42#33=CARTESIAN_POINT('',(1.76776695297,1.76776695297,0.0)); 43#34=CARTESIAN_POINT('',(0.0,0.0,0.0)); 44#35=B_SPLINE_CURVE_WITH_KNOTS('',2,(#32,#33,#34),.UNSPECIFIED.,.F.,.F.,(3,3),(0.0,1.0),.UNSPECIFIED.); 45#36=EDGE_CURVE('bsp_e',#11,#7,#35,.T.); 46#37=ORIENTED_EDGE('',*,*,#36,.T.); 47#38=EDGE_LOOP('',(#24,#31,#37)); 48#39=GEOMETRIC_CURVE_SET('',(#38)); 49#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 50#9051=PRODUCT('Twi209','Twi209','',(#9050)); 51#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 52#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 53#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 54#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 55#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 56#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 57#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 58#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 59#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 60#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#39),#9060); 61#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 62ENDSEC; 63END-ISO-10303-21;