U004 — Inventor STEP export switches angle unit from DEGREE to RADIAN, breaks doc preference on round-trip

§12.5 (sub-class: wrong-declaration / plane-angle radians vs degrees)

P1 — silent data loss

round-trip units

Sources

Sender

Autodesk Inventor 2018+

Description

Inventor changed STEP angle unit to `.RADIAN.` for cross-vendor consistency. After import the document angle unit setting is overwritten. The producer's preference for degrees does not round-trip via the STEP `plane_angle_unit` context.

Reproducer recipe

doc set to degrees; export STEP; file contains `(NAMED_UNIT(*) PLANE_ANGLE_UNIT() SI_UNIT($,.RADIAN.))`; reopen — display now in radians.

Expected kernel behavior

Heal and accept: normalize / separate the "wire" unit (RADIAN by spec) from the "display" unit; preserve session angular display preference, or coerce an explicit `CONVERSION_BASED_UNIT('DEGREE',..)` when the author prefers degrees.

Notes

**See also**: U031. Synonyms: "Inventor STEP forces RADIAN angles", "angle unit changes from DEGREE to RADIAN", "doc preference broken on STEP round-trip", "Inventor switches plane_angle to radians", "STEP angle unit overwritten on import".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

U031

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* U004: Inventor STEP export switches angle unit from DEGREE to RADIAN */
3/* Autodesk Inventor 2018+ changed STEP angle unit to .RADIAN. for cross-vendor compat */
4/* Document set to degrees display; STEP export switches to RADIAN silently */
5/* On re-import the session angle preference is overwritten to radians */
6HEADER;
7FILE_DESCRIPTION(('U004: Inventor switches plane_angle_unit to RADIAN on export'),'2;1');
8FILE_NAME('U004.stp','2026-06-20T00:00:00',(''),(''),'cad-research-suite','','');
9FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
10ENDSEC;
11DATA;
12/* Geometry: a simple 50x50 mm part with a 45-degree chamfer */
13/* Chamfer angle stored as radian value (PI/4 = 0.7854) in RADIAN unit context */
14#1=CARTESIAN_POINT('origin',(0.,0.,0.));
15#2=CARTESIAN_POINT('corner-x',(50.0,0.,0.));
16#3=CARTESIAN_POINT('corner-y',(0.,50.0,0.));
17#4=CARTESIAN_POINT('corner-z',(0.,0.,20.0));
18#5=CARTESIAN_POINT('corner-xyz',(50.0,50.0,20.0));
19#6=DIRECTION('xdir',(1.,0.,0.));
20#7=DIRECTION('zdir',(0.,0.,1.));
21/* DEFECT: PLANE_ANGLE_UNIT is SI_UNIT($,.RADIAN.) — document preference was DEGREE */
22/* Inventor emits RADIAN for cross-vendor consistency, overwriting doc preference */
23#10=(LENGTH_UNIT() NAMED_UNIT(*) SI_UNIT(.MILLI.,.METRE.));
24#11=(NAMED_UNIT(*) PLANE_ANGLE_UNIT() SI_UNIT($,.RADIAN.));
25#12=(NAMED_UNIT(*) SI_UNIT($,.STERADIAN.) SOLID_ANGLE_UNIT());
26#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10,
27  'distance_accuracy_value','maximum model space distance between geometric entities');
28#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3) GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))
29  GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12)) REPRESENTATION_CONTEXT('ctx','3D'));
30/* Angle value: 45 degrees = 0.7854 radians; doc preference was DEGREE not RADIAN */
31#15=PLANE_ANGLE_MEASURE_WITH_UNIT(PLANE_ANGLE_MEASURE(0.7853981634),#11);
32/* Model entity is GEOMETRIC_CURVE_SET — OCC returns empty shape */
33#20=GEOMETRIC_CURVE_SET('inventor-radian-angle-part',(#1,#2,#3,#4,#5));
34ENDSEC;
35END-ISO-10303-21;