step-examples/12-8-mixed/M031.stp
Sources
- 06-nist-sfa.md (S033)
- sfa-valprop.tcl:351, 942
Description
A geometric/validation property has values but no `unit_component`, leaving units unspecified.
Reproducer recipe
GVP with `length_measure` value but no associated unit reference.
Expected kernel behavior
warn; archive-reject if strict.
Notes
Synonyms: "GVP missing unit_component", "validation property no units", "validation value with no unit", "unit_component absent on property".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'MEASURE_REPRESENTATION_ITEM')matches(rb'LENGTH_MEASURE\(123.45\),\$')
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/* M031: GEOMETRIC_CURVE_SET containing MEASURE_REPRESENTATION_ITEM with LENGTH_MEASURE(123.45) and no unit_component ($); input: AP242 STEP file where a geometric validation property has a length_measure value but the unit_component field is $ (unset), leaving units unspecified; CAx-IF RP requires every measure to carry an explicit unit reference; kernel must warn; archive-reject if strict; OCC silently accepts (no diagnostic, empty result); GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty; synonyms: GVP missing unit_component, validation property no units, validation value with no unit, unit_component absent on property */ 3HEADER; 4FILE_DESCRIPTION(('M031'),'2;1'); 5FILE_NAME('M031.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('edge_length',LENGTH_MEASURE(123.45),$); 11#2=PROPERTY_DEFINITION('geometric validation property','edge length without unit',$); 12#3=PROPERTY_DEFINITION_REPRESENTATION(#2,#1); 13#4=MEASURE_REPRESENTATION_ITEM('bounding_area',AREA_MEASURE(56.78),$); 14#5=PROPERTY_DEFINITION('geometric validation property','bounding area without unit',$); 15#6=PROPERTY_DEFINITION_REPRESENTATION(#5,#4); 16#7=GEOMETRIC_CURVE_SET('gvp-missing-unit-component',(#1,#2,#3,#4,#5,#6)); 17#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 18#9051=PRODUCT('M031','M031','',(#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;