N032 — Tolerance type entity coverage: AP242 tolerance entities dropped on import

§12.4 (sub-class: tolerance type entity coverage)

spec-violation

Sources

Sender

AP242 PMI emitter (Creo MBD, NX MBD, SolidWorks MBD)

Description

STEP file uses an AP242 tolerance entity (e.g. `RUNOUT_TOLERANCE_WITH_VALUES`, `UNEQUALLY_DISPOSED_GEOMETRIC_TOLERANCE`, `RUNOUT_ZONE_DEFINITION` with `RUNOUT_ZONE_ORIENTATION_REFERENCE_DIRECTION`) that the importer drops because it isn't in its parser. Repeated fixes across HOOPS releases prove this class is large and ongoing.

Reproducer recipe

AP242 file containing `RUNOUT_ZONE_DEFINITION` etc.; importer that only knows AP214.

Expected kernel behavior

accept gracefully; at minimum preserve the raw entity through round-trip; do not crash; warn on unknown subtype.

Notes

Synonyms: "AP242 tolerance entity dropped on import", "GD&T tolerance lost in translation", "RUNOUT_TOLERANCE not parsed", "tolerance frame missing after STEP read".

Expected validation

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

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* N032: AP242 RUNOUT_TOLERANCE_WITH_VALUES + RUNOUT_ZONE_DEFINITION + RUNOUT_ZONE_ORIENTATION_REFERENCE_DIRECTION; AP214-only importer drops all; GEOMETRIC_CURVE_SET — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('N032'),'2;1');
5FILE_NAME('N032.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF { 1 0 10303 442 1 1 4 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
11#2=GEOMETRIC_CURVE_SET('',(#1));
12#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
13#9051=PRODUCT('N032','N032','',(#9050));
14#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
15#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
16#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
17#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
18#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
19#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
20#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
21#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
22#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
23#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#2),#9060);
24#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
25#9063=SHAPE_ASPECT('cylindrical_surface','',#9055,.T.);
26#9064=LENGTH_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.05),#9056);
27#9065=DATUM('A','primary_datum',#9055,.T.,'A');
28#9066=DATUM_REFERENCE_ELEMENT('',$,#9065);
29#9067=DATUM_REFERENCE_COMPARTMENT('',$,#9066);
30#9068=DATUM_SYSTEM('ds_A','',#9055,.T.,(#9067));
31#9069=RUNOUT_ZONE_ORIENTATION_REFERENCE_DIRECTION(#9068);
32#9070=RUNOUT_ZONE_DEFINITION('',#9063,#9069);
33#9071=RUNOUT_TOLERANCE_WITH_VALUES('runout_tol','total_runout',#9064,#9063,#9068);
34ENDSEC;
35END-ISO-10303-21;