Pmi163 — `ANGULAR_SIZE` / `ANGULAR_LOCATION` semantic dimension with plane-angle unit [VALID-BUT-HARD]

§12.7 PMI/GD&T (sub-class: semantic dimension — angular vs linear)

P2 — spec deviation (no data loss)

pmi

Sources

Description

AP242 carries angular dimensions as `angular_size` (with an `angle_relator` selection) and `angular_location` (angle between two features), tied to their value through a `dimensional_characteristic_representation` whose measure is a plane-angle `MEASURE_REPRESENTATION_ITEM` in RADIAN units (the file's `plane_angle_unit`, #9057). A reader that coerces the angular dimension to a linear `dimensional_size`, or drops the plane-angle unit, mis-carries the dimension. Angular semantic dimensions are absent from the corpus (nearest = Pmi072 dimension-pair unit mismatch).

Reproducer recipe

AP242 file; two wedge-face `SHAPE_ASPECT`s; `ANGULAR_SIZE(#face1,'wedge_angle',.EQUAL.)` and `ANGULAR_LOCATION('face_angle','',#face1,#face2,.EQUAL.)`; a `(MEASURE_REPRESENTATION_ITEM()MEASURE_WITH_UNIT(PLANE_ANGLE_MEASURE(0.5235987756),#9057)REPRESENTATION_ITEM('wedge_angle'))` inside a `SHAPE_DIMENSION_REPRESENTATION`; two `DIMENSIONAL_CHARACTERISTIC_REPRESENTATION`s tying each angular dimension to the value.

Expected kernel behavior

Carry the angular dimension with its plane-angle unit; do not coerce to a linear size or drop the angular unit.

Notes

Semantic-PMI carrier geometry is a `GEOMETRIC_CURVE_SET` (single point → one loaded vertex, like Pmi010). See also: Pmi072. Synonyms: "angular size coerced to linear", "angular location dimension dropped", "plane-angle unit lost on dimension", "30-degree wedge angle imported as length", "angle_relator selection ignored". Provenance tier: bytes-only — semantic dimension metadata is oracle-invisible at BRep load (OCC loads only the carrier geometry); pattern-mined, not yet mutation-verified.

Expected validation

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

Provenance tier

bytes-only — defect not fully embodied in fixture bytes.

Byte assertions

Tier-3 assertions

Cross-references

Pmi010, Pmi072

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Pmi163: ANGULAR_SIZE (30 degrees, angle_relator .EQUAL.) and ANGULAR_LOCATION between two wedge faces, tied via DIMENSIONAL_CHARACTERISTIC_REPRESENTATION to a plane-angle MEASURE_REPRESENTATION_ITEM in RADIAN units (#9057); coercing to a linear size or dropping the plane-angle unit mis-carries it; GEOMETRIC_CURVE_SET IS model entity — OCC loads the point as one vertex */
3HEADER;
4FILE_DESCRIPTION(('Pmi163'),'2;1');
5FILE_NAME('Pmi163.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('Pmi163','Pmi163','',(#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('wedge_face_1','',#9055,.T.);
26#9064=SHAPE_ASPECT('wedge_face_2','',#9055,.T.);
27#9065=ANGULAR_SIZE(#9063,'wedge_angle',.EQUAL.);
28#9066=ANGULAR_LOCATION('face_angle','angle between wedge faces',#9063,#9064,.EQUAL.);
29#9067=(MEASURE_REPRESENTATION_ITEM()MEASURE_WITH_UNIT(PLANE_ANGLE_MEASURE(0.5235987756),#9057)REPRESENTATION_ITEM('wedge_angle'));
30#9068=SHAPE_DIMENSION_REPRESENTATION('30deg',(#9067),#9060);
31#9069=DIMENSIONAL_CHARACTERISTIC_REPRESENTATION(#9065,#9068);
32#9070=DIMENSIONAL_CHARACTERISTIC_REPRESENTATION(#9066,#9068);
33ENDSEC;
34END-ISO-10303-21;