M048 — Material / appearance / physical attributes silently dropped on STEP export

§12.8 (sub-class: materials/attributes)

P1 — silent data loss

crash silent-loss round-trip

Sources

Sender

Autodesk Fusion (V025); SolidWorks/Inventor → Inventor (V048)

Description

Visual appearances and physical (density, material name) attributes are absent from Fusion's STEP output (V025); Inventor strips appearance from STEP imports (V048); HOOPS Exchange merging materials on export (W024); Material with missing name crashes reader (G057); Material with 0-density emits invalid STEP density entities (G059).

Reproducer recipe

XCAF document with material density=0 or material with empty name field; export to STEP.

Expected kernel behavior

Heal and accept: emit `STYLED_ITEM`, `COLOUR_RGB`, `MECHANICAL_DESIGN_GEOMETRIC_PRESENTATION_REPRESENTATION` at minimum; skip density emission for zero-density materials; default empty datum/material description. Must not silently drop attributes.

Notes

Synonyms: "material attributes silently dropped", "STEP export loses appearance", "physical attributes missing on export", "material/density lost on STEP write", "appearance stripped on STEP output". **See also**: Pmi059.

Expected validation

occt=empty/empty gmsh=signal(11) ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

Pmi059

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M048: GEOMETRIC_CURVE_SET containing MATERIAL_DESIGNATION with empty name and MASS_DENSITY_MEASURE(0.0) — physical attributes silently dropped on export; input: AP242 STEP file where MATERIAL_DESIGNATION has an empty name string and a density property uses MASS_DENSITY_MEASURE(0.0); OCCT Mantis (G057, G059): reader crashed on empty material name; writer emitted invalid density entity when density==0; Autodesk Fusion (V025) / SolidWorks→Inventor (V048) / HOOPS Exchange (W024): visual appearances and density stripped on STEP round-trip; kernel must default empty datum/material description, skip density emission for zero-density, and never silently drop appearance attributes; OCC silently accepts (no diagnostic, empty result); GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty; synonyms: material attributes silently dropped, STEP export loses appearance, physical attributes missing on export, material/density lost on STEP write, appearance stripped on STEP output */
3HEADER;
4FILE_DESCRIPTION(('M048'),'2;1');
5FILE_NAME('M048.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=MATERIAL_DESIGNATION('','',$);
11#2=PROPERTY_DEFINITION('material_property','physical attributes',#1);
12#3=MEASURE_WITH_UNIT(MASS_DENSITY_MEASURE(0.0),$);
13#4=COLOUR_RGB('material_colour',0.5,0.5,0.5);
14#5=FILL_AREA_STYLE('material_fill',(#4));
15#6=SURFACE_STYLE_FILL_AREA(#5);
16#7=SURFACE_SIDE_STYLE('material_side',(#6));
17#8=SURFACE_STYLE_USAGE(.BOTH.,#7);
18#9=PRESENTATION_STYLE_ASSIGNMENT((#8));
19#10=STYLED_ITEM('material_appearance',(#9),$);
20#11=GEOMETRIC_CURVE_SET('material-appearance-dropped-on-export',(#1,#2,#3,#10,#4));
21#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
22#9051=PRODUCT('M048','M048','',(#9050));
23#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
24#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
25#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
26#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
27#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
28#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
29#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
30#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
31#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
32#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#11),#9060);
33#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
34ENDSEC;
35END-ISO-10303-21;