step-examples/12-8-mixed/M030.stp
Sources
- 08-occt-gitlog.md (G048)
- OCCT ffe1b14
- Mantis 0029846
Description
Validation-property recommended-practices name changed (`geometric_validation_property` → `geometric validation property`); both forms appear in the wild.
Reproducer recipe
`PROPERTY_DEFINITION` named with the underscore form.
Expected kernel behavior
heal; match either form (replace `_` with space before compare).
Notes
Synonyms: "GVP name underscore vs space", "validation property naming inconsistent", "geometric_validation_property naming form", "RP changed name format".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b"PROPERTY_DEFINITION('geometric_validation_property'")
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* M030: GEOMETRIC_CURVE_SET containing PROPERTY_DEFINITION named 'geometric_validation_property' (underscore form); input: AP242 STEP file where validation-property RP name changed from 'geometric_validation_property' to 'geometric validation property' (space form); the underscore form is written by older CAD tools that predate the RP update; kernel must heal: replace underscore with space before comparison, or accept both name forms as equivalent; OCC silently accepts (no diagnostic, empty result); GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty; synonyms: GVP name underscore vs space, validation property naming inconsistent, geometric_validation_property naming form, RP changed name format */ 3HEADER; 4FILE_DESCRIPTION(('M030'),'2;1'); 5FILE_NAME('M030.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=MEASURE_REPRESENTATION_ITEM('volume',VOLUME_MEASURE(1234.567),(SI_UNIT(.MILLI.,.METRE.) LENGTH_UNIT() NAMED_UNIT(*))); 11#2=PROPERTY_DEFINITION('geometric_validation_property','volume in cubic mm',$); 12#3=PROPERTY_DEFINITION_REPRESENTATION(#2,#1); 13#4=PROPERTY_DEFINITION('geometric validation property','area in square mm',$); 14#5=MEASURE_REPRESENTATION_ITEM('surface_area',AREA_MEASURE(456.789),(SI_UNIT(.MILLI.,.METRE.) LENGTH_UNIT() NAMED_UNIT(*))); 15#6=PROPERTY_DEFINITION_REPRESENTATION(#4,#5); 16#7=GEOMETRIC_CURVE_SET('gvp-name-underscore-vs-space',(#1,#2,#3,#4,#5,#6)); 17#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 18#9051=PRODUCT('M030','M030','',(#9050)); 19#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 20#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 21#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 22#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 23#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 24#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 25#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 26#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 27#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 28#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#7),#9060); 29#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 30ENDSEC; 31END-ISO-10303-21;