step-examples/12-4-tolerance/N007.stp
Sources
- 04-occt-translation Q010 (PRO8845)
Sender
Pro/E PRO8845
Description
When the imported edge's 3D curve and its endpoint vertices disagree beyond a precision threshold, the translator bumps the vertex tolerance by a constant multiplier (slightly above 1.0×) of the deviation, just enough to make the edge pass invariants. Repeated reads through the same path accumulate the multiplier and bloat tolerance without anchoring it against the file-level uncertainty.
Reproducer recipe
AP203 file where a `VERTEX_POINT.cartesian_point` lies 1e-3 from the curve evaluation at the edge's parametric endpoint, on a model with 1e-6 declared uncertainty.
Expected kernel behavior
cap vertex-tolerance bumps against a multiple of the model's `uncertainty_measure_with_unit`, warn when the bump exceeds that threshold, or reject as malformed.
Notes
**See also**: N025. Synonyms: "vertex tolerance bumped by tiny constant multiplier", "translator multiplies tolerance by 1.000001", "tolerance creeps up across repeated reads", "constant multiplier applied to vertex tolerance".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'1.0E-6') and contains(b'EDGE_CURVE')count_entity_def(b'VERTEX_POINT') == 2
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/* N007: vertex at (0,0.001,0) displaced 1.0E-3 mm from LINE endpoint at (0,0,0); translator bumped vertex tol by 1.000001x; model uncertainty 1.0E-6; GEOMETRIC_CURVE_SET â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('N007'),'2;1'); 5FILE_NAME('N007.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('curve_start',(0.0,0.0,0.0)); 10#2=CARTESIAN_POINT('curve_end',(10.0,0.0,0.0)); 11#3=CARTESIAN_POINT('vtx_displaced_1e-3',(0.0,0.001,0.0)); 12#4=VERTEX_POINT('v_start_displaced',#3); 13#5=VERTEX_POINT('v_end',#2); 14#6=DIRECTION('',(1.0,0.0,0.0)); 15#7=VECTOR('',#6,10.0); 16#8=LINE('line',#1,#7); 17#9=EDGE_CURVE('edge_vtx_displaced',#4,#5,#8,.T.); 18#10=GEOMETRIC_CURVE_SET('edges',(#9)); 19#11=APPLICATION_CONTEXT('automotive_design'); 20#12=PRODUCT_CONTEXT('',#11,'mechanical'); 21#13=PRODUCT('N007','N007','',(#12)); 22#14=PRODUCT_DEFINITION_FORMATION('','',#13); 23#15=PRODUCT_DEFINITION_CONTEXT('part definition',#11,'design'); 24#16=PRODUCT_DEFINITION('','',#14,#15); 25#17=PRODUCT_DEFINITION_SHAPE('','',#16); 26#18=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 27#19=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 28#20=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 29#21=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-6),#18,'distance_accuracy_value','model_precision'); 30#22=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#21))GLOBAL_UNIT_ASSIGNED_CONTEXT((#18,#19,#20))REPRESENTATION_CONTEXT('ctx','3D')); 31#23=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#10),#22); 32#24=SHAPE_DEFINITION_REPRESENTATION(#17,#23); 33ENDSEC; 34END-ISO-10303-21;