How to insert data STEP file that could be interpreted as "Metadata" by CAD Assistant ?

Hello,

I'm currently looking for a way to add some data to my STEP export, that could fall under the "Metadata" category of info as displayed by CAD Assistant.
I've tried some descriptive entities from AP 203 at first like PROPERTY_DEFINITION or GENERAL_PROPERTY, as a way to describe a bit more the product :

#100 = PROPERTY_DEFINITION('material_property','Material specification',#30);
#101 = PROPERTY_DEFINITION_REPRESENTATION(#100,#102);
#102 = REPRESENTATION('material_properties',(#103),#104);
#103 = DESCRIPTIVE_REPRESENTATION_ITEM('steel','Material type');
#104 = REPRESENTATION_CONTEXT('','');

#200 = GENERAL_PROPERTY('weight','Mass of the component');
#201 = GENERAL_PROPERTY_ASSOCIATION(#200,#30);
#202 = PROPERTY_DEFINITION_REPRESENTATION(#201,#203);
#203 = REPRESENTATION('weight_value',(#204),#205);
#204 = MEASURE_REPRESENTATION_ITEM('weight_value',15.5,#206);
#205 = REPRESENTATION_CONTEXT('','');
#206 = MASS_UNIT()

I was thinking that it would be displayed under one of the "Properties" and/or in the "Metadata" section displayed in CAD Assistant when a STEP is opened, but to no avail ...

Perhaps it's possible using STEPCAFControl_Writer in combinaison with XCAFDoc_ShapeTool, XCAFDoc_MaterialTool ... and such, but I haven't found the necessary tool for it.

Could anyone provide a minimal sample for OCCT or a STEP that does contains such information in this regard please ?

[Small Edit] : I am using OCCT 7.9
Thanks

Dmitrii Pasukhin's picture

Hello. CAD Assistent can take "Metadata" only from XBF files or JT files at the current version.

You are free to convert any CAD files to XBF and if metadata inside, you will see that.

Best regards, Dmitrii.

Paul BIGEON's picture

Thanks for this quick answer Dmitrii,

Is it possible to add custom properties in anyway in a STEP file so that it could be seen on any of data tab displayed by CAD Assistant for example, or are the properties linked to volume or geometrical representation as it seems to be the case for most of our STEP files displaying centroid, area or volume data without having to add such infos ?

Thanks

Dmitrii Pasukhin's picture

At the moment, adding CUSTOME properties are not supported by OCCT or CAD Assistant. The properties that you see are validation properties and they have limited number of key values and values are only numbers.

Best regards, Dmitrii.