MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #29846 All Revisions ] Back to Issue ]
Summary 0029846: Data Exchange - STEP validation properties support is obsolete
Revision 2018-06-06 15:30 by abv
Description The problem has been reported by Hugues Delorme on the user's forum at
https://www.opencascade.com/content/step-validation-properties [^]

~~~~~
Hello,

I'm trying to load the (geometric) validation properties associated to a STEP model (as1-oc-214.stp form cax-if.org) with STEPCAFControl_Reader.

I made sure to call SetPropsMode(true) on the reader object, but at the end no validation properties were loaded.

After some debugging it appears that STEPConstruct_ValidationProps::LoadProps() checks for a property definition named "geometric_validation_property".

But in the as1-oc-214 STEP file the corresponding properties are named "geometric validation property" ie words separated by space instead of underscore :

#6264 = PROPERTY_DEFINITION_REPRESENTATION(#6265,#6266);
#6265 = PROPERTY_DEFINITION('geometric validation property','volume', #741);
#6266 = REPRESENTATION('volume',(#6267),#735);

Could that be the issue ?
~~~~~

Indeed the support of validation properties in OCCT is quite obsolete: it conforms to the very first recommended practices circa 1999, but not actual version (4.4 issued in 2016, see https://www.cax-if.org/documents/rec_prac_gvp_v44.pdf [^]). In particular, names of the properties should not contain underscores.
Revision 2018-06-06 15:27 by abv
Description The problem has been reported by Hugues Delorme on the user's forum at
https://www.opencascade.com/content/step-validation-properties [^]

~~~~~
Hello,

I'm trying to load the (geometric) validation properties associated to a STEP model (as1-oc-214.stp form cax-if.org) with STEPCAFControl_Reader.

I made sure to call SetPropsMode(true) on the reader object, but at the end no validation properties were loaded.

After some debugging it appears that STEPConstruct_ValidationProps::LoadProps() checks for a property definition named "geometric_validation_property".

But in the as1-oc-214 STEP file the corresponding properties are named "geometric validation property" ie words separated by space instead of underscore :

#6264 = PROPERTY_DEFINITION_REPRESENTATION(#6265,#6266);
#6265 = PROPERTY_DEFINITION('geometric validation property','volume', #741);
#6266 = REPRESENTATION('volume',(#6267),#735);

Could that be the issue ?
~~~~~

Indeed the support of validation properties in OCCT is quite obsolete: it conforms to the very first recommended practices circa 1999, but not actual version (4.4 issued in 2016). In particular, names of the properties should not contain underscores.


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker