step-examples/12-4-tolerance/N144.stp
Sources
- synthesized — no external source cited
Description
Vertex tolerance tracking fails when concatenating PCurves from edges with divergent tolerances.
Reproducer recipe
Expected kernel behavior
accept: the 2-edge chain is well-formed; the declared tolerances (1.0E-3 'v1_tight_tol', 1.0E-2 'v0v2_coarse_tol') are live global values, not bound to the specific shared vertex the labels imply -- STEP has no per-vertex tolerance entity. A correct kernel uses the tighter value (1e-3mm) as its working precision across the whole chain rather than trying to track per-vertex provenance through a concatenation.
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/* N144: UnionPCurves vertex_tolerance_mismatch: 2-edge chain; shared V1 tol=1e-3; outer V0/V2 tol=1e-2; max_tolerance_tracking inconsistent across concatenated PCurve; GEOMETRIC_CURVE_SET â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('N144'),'2;1'); 5FILE_NAME('N144.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('p_v0',(0.0,0.0,0.0)); 10#2=CARTESIAN_POINT('p_v1_tight',(1.0,0.0,0.0)); 11#3=CARTESIAN_POINT('p_v2_coarse',(2.0,0.0,0.0)); 12#4=VERTEX_POINT('v0',#1); 13#5=VERTEX_POINT('v1_tight',#2); 14#6=VERTEX_POINT('v2_coarse',#3); 15#7=DIRECTION('',(1.0,0.0,0.0)); 16#8=VECTOR('',#7,1.0); 17#9=LINE('',#1,#8); 18#10=EDGE_CURVE('e0',#4,#5,#9,.T.); 19#11=VECTOR('',#7,1.0); 20#12=LINE('',#2,#11); 21#13=EDGE_CURVE('e1',#5,#6,#12,.T.); 22#14=GEOMETRIC_CURVE_SET('pcurve_chain',(#10,#13)); 23#15=APPLICATION_CONTEXT('automotive_design'); 24#16=PRODUCT_CONTEXT('',#15,'mechanical'); 25#17=PRODUCT('N144','N144','',(#16)); 26#18=PRODUCT_DEFINITION_FORMATION('','',#17); 27#19=PRODUCT_DEFINITION_CONTEXT('part definition',#15,'design'); 28#20=PRODUCT_DEFINITION('','',#18,#19); 29#21=PRODUCT_DEFINITION_SHAPE('','',#20); 30#22=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 31#23=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 32#24=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 33#25=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-3),#22,'distance_accuracy_value','v1_tight_tol'); 34#26=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-2),#22,'distance_accuracy_value','v0v2_coarse_tol'); 35#27=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#25,#26))GLOBAL_UNIT_ASSIGNED_CONTEXT((#22,#23,#24))REPRESENTATION_CONTEXT('ctx','3D')); 36#28=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#14),#27); 37#29=SHAPE_DEFINITION_REPRESENTATION(#21,#28); 38ENDSEC; 39END-ISO-10303-21;