N169 — GetTolerance mixed-precision accumulation | BRep_Tool | tolerance | BRep_Tool::GetTolerance | accumulates vertex/edge tolerances without precision normalization | precision-tolerance-mismatch | reproducible | true

§12.4

topology

Sources

Description

GetTolerance mixed-precision accumulation | BRep_Tool | tolerance | BRep_Tool::GetTolerance | accumulates vertex/edge tolerances without precision normalization | precision-tolerance-mismatch | reproducible | true

Reproducer recipe

Expected kernel behavior

accept: the shell's face is well-formed at the declared 1.0E-7mm tolerance. Whether a tolerance-accumulation routine mixes vertex- and edge-level contributions without normalizing for their different precision contexts is an internal-algorithm property; a correct kernel's own aggregate-tolerance query must combine sub-shape tolerances consistently (e.g. always take the maximum) rather than blending values that were computed under different precision assumptions.

Expected validation

occt=shape(1)/shape(1) gmsh=reject ifc=schema_n/a

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* N169: GetTolerance accumulates without precision normalization */
3HEADER;
4FILE_DESCRIPTION(('N169'),'2;1');
5FILE_NAME('N169.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.0,0.0,0.0));
11#2=VERTEX_POINT('',#1);
12#3=CARTESIAN_POINT('',(1.0000001,0.0,0.0));
13#4=VERTEX_POINT('',#3);
14#5=CARTESIAN_POINT('',(0.0,0.0,0.0));
15#6=DIRECTION('',(1.0,0.0,0.0));
16#7=VECTOR('',#6,1.0);
17#8=LINE('',#5,#7);
18#9=EDGE_CURVE('',#2,#4,#8,.T.);
19#10=ORIENTED_EDGE('',$,$,#9,.T.);
20#11=EDGE_LOOP('',(#10));
21#12=CARTESIAN_POINT('',(0.0,0.0,0.0));
22#13=DIRECTION('',(0.0,0.0,1.0));
23#14=DIRECTION('',(1.0,0.0,0.0));
24#15=AXIS2_PLACEMENT_3D('',#12,#13,#14);
25#16=PLANE('',#15);
26#17=FACE_OUTER_BOUND('',#11,.T.);
27#18=ADVANCED_FACE('',(#17),#16,.T.);
28#19=OPEN_SHELL('',(#18));
29#20=SHELL_BASED_SURFACE_MODEL('',(#19));
30#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
31#9051=PRODUCT('N169','N169','',(#9050));
32#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
33#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
34#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
35#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
36#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
37#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
38#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
39#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
40#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
41#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#20),#9060);
42#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
43ENDSEC;
44END-ISO-10303-21;