N098 — ShapeAnalysis_ShapeTolerance.GlobalTolerance empty-shape

§12.4

spec-violation

Sources

Description

ShapeAnalysis_ShapeTolerance.GlobalTolerance empty-shape

Reproducer recipe

Expected kernel behavior

accept: the single free-standing point is well-formed at the declared 1.0E-7mm tolerance; it is not an 'empty shape' -- it is a shape consisting of exactly one vertex and no edges/faces. A correct kernel should return a genuine 1-vertex shape (as this file's own oracle measurement confirms: 1 vertex) and must not conflate 'a global-tolerance aggregate over zero edges/faces' with 'no geometry at all' -- those are different conditions and should be distinguishable in any diagnostic output.

Expected validation

occt=shape(1)/shape(1) gmsh=shape(1) 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/* N098: GlobalTolerance empty-shape: standalone point with no topology; GlobalTolerance returns 0 — indistinguishable from all-zero tolerances; GEOMETRIC_CURVE_SET — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('N098'),'2;1');
5FILE_NAME('N098.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('lone_point',(0.0,0.0,0.0));
10#2=GEOMETRIC_CURVE_SET('empty_shape',(#1));
11#3=APPLICATION_CONTEXT('automotive_design');
12#4=PRODUCT_CONTEXT('',#3,'mechanical');
13#5=PRODUCT('N098','N098','',(#4));
14#6=PRODUCT_DEFINITION_FORMATION('','',#5);
15#7=PRODUCT_DEFINITION_CONTEXT('part definition',#3,'design');
16#8=PRODUCT_DEFINITION('','',#6,#7);
17#9=PRODUCT_DEFINITION_SHAPE('','',#8);
18#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
19#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
20#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
21#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#10,'distance_accuracy_value','model_precision');
22#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12))REPRESENTATION_CONTEXT('ctx','3D'));
23#15=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#2),#14);
24#16=SHAPE_DEFINITION_REPRESENTATION(#9,#15);
25ENDSEC;
26END-ISO-10303-21;