step-examples/12-3b-wires/Twi194.stp
Sources
- synthesized — no external source cited
Description
FixIntersectingEdges shared-vertex-misclassification
Reproducer recipe
Expected kernel behavior
Two edges may be reported as intersecting only when their curves share a point in model space. Overlapping parameter intervals prove nothing across different curve entities — each of these three lines is parametrised from zero with a unit direction vector, so all three ranges start at 0 and necessarily overlap — so decide the test by evaluating each curve over its own vertex-bounded range, and treat contact confined to a shared endpoint vertex as connectivity rather than as a crossing to be split or absorbed into inflated tolerance.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(7) ifc=schema_n/a
Tier-3 assertions
n_faces_total == 1
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Twi194: triangle wire where two edges share param-range origin */ 3HEADER; 4FILE_DESCRIPTION(('Twi194'),'2;1'); 5FILE_NAME('Twi194.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=CARTESIAN_POINT('',(10.0,0.0,0.0)); 12#3=CARTESIAN_POINT('',(10.0,20.0,0.0)); 13#4=VERTEX_POINT('',#1); 14#5=VERTEX_POINT('',#2); 15#6=VERTEX_POINT('',#3); 16#7=DIRECTION('',(1.0,0.0,0.0)); 17#8=VECTOR('',#7,1.0); 18#9=LINE('',#1,#8); 19#10=EDGE_CURVE('',#4,#5,#9,.T.); 20#11=DIRECTION('',(0.0,1.0,0.0)); 21#12=VECTOR('',#11,1.0); 22#13=LINE('',#2,#12); 23#14=EDGE_CURVE('',#5,#6,#13,.T.); 24#15=DIRECTION('',(-0.4472135955,-0.894427191,0.0)); 25#16=VECTOR('',#15,1.0); 26#17=LINE('',#3,#16); 27#18=EDGE_CURVE('',#6,#4,#17,.T.); 28#19=ORIENTED_EDGE('',$,$,#10,.T.); 29#20=ORIENTED_EDGE('',$,$,#14,.T.); 30#21=ORIENTED_EDGE('',$,$,#18,.T.); 31#22=EDGE_LOOP('',(#19,#20,#21)); 32#23=CARTESIAN_POINT('',(0.0,0.0,0.0)); 33#24=DIRECTION('',(0.0,0.0,1.0)); 34#25=DIRECTION('',(1.0,0.0,0.0)); 35#26=AXIS2_PLACEMENT_3D('',#23,#24,#25); 36#27=PLANE('',#26); 37#28=FACE_OUTER_BOUND('',#22,.T.); 38#29=ADVANCED_FACE('',(#28),#27,.T.); 39#30=OPEN_SHELL('',(#29)); 40#31=SHELL_BASED_SURFACE_MODEL('',(#30)); 41#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 42#9051=PRODUCT('Twi194','Twi194','',(#9050)); 43#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 44#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 45#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 46#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 47#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 48#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 49#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 50#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 51#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 52#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#31),#9060); 53#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 54ENDSEC; 55END-ISO-10303-21;