step-examples/12-4-tolerance/N045.stp
Sources
- OCCT MANTIS#0024922 (OCCT MANTIS tracker 502 as of 2026-05-02)
Description
Two edges intersect inside their parameter range but the intersection point is within vertex tolerance of one edge's endpoint. A wire-intersection check filters out the intersection because the vertex "owns" that point; leaving an undetected interior intersection that invalidates the wire downstream.
Reproducer recipe
Two edges meeting at a `T`-junction: one edge ends at vertex V; the other passes through V's tolerance ball but does not end at V. Edge-intersection check returns "no intersection" because the point is inside V's tolerance.
Expected kernel behavior
edge-intersection report "intersection inside vertex tolerance" as a distinct status; do not silently filter.
Notes
**See also**: Twi049, N039. **OCC behavior**: silently filters out the edge-internal intersection with no diagnostic; kernel mishandling; the catalog above forbids silent filtering. Synonyms: "edge-internal intersection ignored", "two edges cross inside parameter range but missed", "intersection check only at endpoints", "vertex tolerance check skips edge interior".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
count_entity_def(b'EDGE_CURVE') == 2contains(b'1.0E-3')
Tier-3 assertions
shape_null == True
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* N045: T-junction: edge A ends at V; edge B passes through V's 1.0E-3 tol ball but doesn't terminate there; wire-intersection check silently filters; GEOMETRIC_CURVE_SET â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('N045'),'2;1'); 5FILE_NAME('N045.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 7ENDSEC; 8DATA; 9#1=CARTESIAN_POINT('pA0',(0.0,0.0,0.0)); 10#2=CARTESIAN_POINT('pV_junction',(5.0,0.0,0.0)); 11#3=VERTEX_POINT('vA0',#1); 12#4=VERTEX_POINT('vV_junction',#2); 13#5=DIRECTION('',(1.0,0.0,0.0)); 14#6=VECTOR('',#5,5.0); 15#7=LINE('lineA',#1,#6); 16#8=EDGE_CURVE('eA_ends_at_V',#3,#4,#7,.T.); 17#9=CARTESIAN_POINT('pB0',(5.0,-10.0,0.0)); 18#10=CARTESIAN_POINT('pB1',(5.0,10.0,0.0)); 19#11=VERTEX_POINT('vB0',#9); 20#12=VERTEX_POINT('vB1',#10); 21#13=DIRECTION('',(0.0,1.0,0.0)); 22#14=VECTOR('',#13,20.0); 23#15=LINE('lineB_through_V_interior',#9,#14); 24#16=EDGE_CURVE('eB_passes_through_V_tol_ball',#11,#12,#15,.T.); 25#17=GEOMETRIC_CURVE_SET('T_junction',(#8,#16)); 26#18=APPLICATION_CONTEXT('automotive_design'); 27#19=PRODUCT_CONTEXT('',#18,'mechanical'); 28#20=PRODUCT('N045','N045','',(#19)); 29#21=PRODUCT_DEFINITION_FORMATION('','',#20); 30#22=PRODUCT_DEFINITION_CONTEXT('part definition',#18,'design'); 31#23=PRODUCT_DEFINITION('','',#21,#22); 32#24=PRODUCT_DEFINITION_SHAPE('','',#23); 33#25=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 34#26=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 35#27=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 36#28=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-3),#25,'distance_accuracy_value','vertex_tol_ball'); 37#29=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#28))GLOBAL_UNIT_ASSIGNED_CONTEXT((#25,#26,#27))REPRESENTATION_CONTEXT('ctx','3D')); 38#30=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#17),#29); 39#31=SHAPE_DEFINITION_REPRESENTATION(#24,#30); 40ENDSEC; 41END-ISO-10303-21;