N016 — Edge tolerance 2-3 orders of magnitude > file tolerance (CATIA per-edge precision)

§12.4 (sub-class: working precision / per-entity tolerance)

P1 — silent data loss

topology

Sources

Sender

CATIA V5/V6

Description

CATIA writes per-edge tolerance values (via `geometric_representation_context_and_global_uncertainty_assigned_context` plus per-edge precisions encoded in the entity attributes) that are 2-3 orders of magnitude larger than the file's default tolerance. Receivers reading only the global tolerance find gaps between adjacent faces and treat the body as an open shell.

Reproducer recipe

CATIA-emitted STEP with file tolerance 0.0001 mm but specific edges using 0.005 mm tolerance metadata.

Expected kernel behavior

heal; respect per-edge tolerance metadata; do not collapse to a single document tolerance. Tag every edge/vertex with its own tolerance budget.

Notes

**See also**: U028. Synonyms: "CATIA per-edge tolerance much larger than file default", "edges carry their own precision values", "shell looks open because reader missed per-edge tolerance", "global tolerance too tight vs per-edge values".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

U028

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* N016: CATIA per-edge tol: global=1.0E-4, edge1=5.0E-3, edge2=1.0E-2; receiver using only global sees gaps; 3×UNCERTAINTY_MEASURE_WITH_UNIT; GEOMETRIC_CURVE_SET — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('N016'),'2;1');
5FILE_NAME('N016.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('p0',(0.0,0.0,0.0));
10#2=CARTESIAN_POINT('p1_shared',(10.0,0.0,0.0));
11#3=CARTESIAN_POINT('p2',(20.0,0.0,0.0));
12#4=VERTEX_POINT('v0',#1);
13#5=VERTEX_POINT('v1_shared',#2);
14#6=VERTEX_POINT('v2',#3);
15#7=DIRECTION('',(1.0,0.0,0.0));
16#8=VECTOR('',#7,10.0);
17#9=LINE('',#1,#8);
18#10=EDGE_CURVE('eA_tight',#4,#5,#9,.T.);
19#11=DIRECTION('',(1.0,0.0,0.0));
20#12=VECTOR('',#11,10.0);
21#13=LINE('',#2,#12);
22#14=EDGE_CURVE('eB_loose',#5,#6,#13,.T.);
23#15=GEOMETRIC_CURVE_SET('catia_edges',(#10,#14));
24#16=APPLICATION_CONTEXT('automotive_design');
25#17=PRODUCT_CONTEXT('',#16,'mechanical');
26#18=PRODUCT('N016','N016','',(#17));
27#19=PRODUCT_DEFINITION_FORMATION('','',#18);
28#20=PRODUCT_DEFINITION_CONTEXT('part definition',#16,'design');
29#21=PRODUCT_DEFINITION('','',#19,#20);
30#22=PRODUCT_DEFINITION_SHAPE('','',#21);
31#23=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
32#24=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
33#25=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
34#26=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-4),#23,'distance_accuracy_value','global_file_tolerance');
35#27=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(5.0E-3),#23,'distance_accuracy_value','catia_per_edge_tol_medium');
36#28=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-2),#23,'distance_accuracy_value','catia_per_edge_tol_worst');
37#29=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#26,#27,#28))GLOBAL_UNIT_ASSIGNED_CONTEXT((#23,#24,#25))REPRESENTATION_CONTEXT('ctx','3D'));
38#30=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#15),#29);
39#31=SHAPE_DEFINITION_REPRESENTATION(#22,#30);
40ENDSEC;
41END-ISO-10303-21;