step-examples/12-4-tolerance/N113.stp
Sources
- synthesized — no external source cited
Description
UpdateEdgeTol with-coincident-vertices
Reproducer recipe
Expected kernel behavior
reject-with-diagnostic: the face's only boundary edge is a genuine zero-length self-loop (`EDGE_CURVE` from vertex #2 to itself, `VECTOR` magnitude 0.0) -- the face has zero perimeter and therefore zero area. This is a degenerate placeholder, not a real face; a correct kernel should reject it (or drop it from the shell) rather than reporting a finite or infinite tolerance for a boundary that encloses nothing.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(1) 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/* N113: UpdateEdgeTol on degenerate edge (zero length) produces inf tolerance */ 3HEADER; 4FILE_DESCRIPTION(('N113'),'2;1'); 5FILE_NAME('N113.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.5,0.5,0.0)); 11#2=VERTEX_POINT('',#1); 12#3=DIRECTION('',(0.0,0.0,1.0)); 13#4=VECTOR('',#3,0.0); 14#5=LINE('',#1,#4); 15#6=EDGE_CURVE('',#2,#2,#5,.T.); 16#7=ORIENTED_EDGE('',$,$,#6,.T.); 17#8=EDGE_LOOP('',(#7)); 18#9=CARTESIAN_POINT('',(0.0,0.0,0.0)); 19#10=DIRECTION('',(0.0,0.0,1.0)); 20#11=DIRECTION('',(1.0,0.0,0.0)); 21#12=AXIS2_PLACEMENT_3D('',#9,#10,#11); 22#13=PLANE('',#12); 23#14=FACE_OUTER_BOUND('',#8,.T.); 24#15=ADVANCED_FACE('',(#14),#13,.T.); 25#16=OPEN_SHELL('',(#15)); 26#17=SHELL_BASED_SURFACE_MODEL('',(#16)); 27#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 28#9051=PRODUCT('N113','N113','',(#9050)); 29#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 30#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 31#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 32#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 33#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 34#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 35#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 36#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 37#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 38#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#17),#9060); 39#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 40ENDSEC; 41END-ISO-10303-21;