Hi,
I have a question which is probably a bit off-topic since the STEP file export seems to be managed entirely by OCC.
However, is it possible to add some additional metadata such as materials to the exported STEP file?
I know that I can add some information (company, author) for STEP file export in the FreeCAD preferences.
Cheers,
Tobi
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/Australia (en_AU)
Export of STEP files: adding metadata such as materials
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: Export of STEP files: adding metadata such as materials
STEP format supports many extra data:
Those should be fully supported by OCC, but ATM are not translated by FC.
https://www.opencascade.com/content/rea ... nformation
A FC thread:
https://forum.freecadweb.org/viewtopic. ... 2&start=10
http://support.ptc.com/help/creo/creo_p ... asses.htmlSTEP AP203E2 and AP214IS Classes
The AP203E2 and AP214IS STEP classes support the exchange of the following non-geometric data between the Creo application and STEP:
• Material properties of name and density
• The geometric and assembly validation properties
• Datum features such as points, planes, axes, and coordinate systems
• The user-defined parameters for the part and assembly models, components, and entities such as quilts, surfaces, edges, and curves
• Annotations that include Product Manufacturing Information (PMI)
• The import of STEP groups
Those should be fully supported by OCC, but ATM are not translated by FC.
https://www.opencascade.com/content/rea ... nformation
A FC thread:
https://forum.freecadweb.org/viewtopic. ... 2&start=10
Re: Export of STEP files: adding metadata such as materials
Thanks, easyw-fc!
Your links look like a good starting point!
I was only searching for "STEP files and metadata".
But of course "STEP files and annotations" makes a lot of sense.
Cheers,
Tobi
Your links look like a good starting point!
I was only searching for "STEP files and metadata".
But of course "STEP files and annotations" makes a lot of sense.
Cheers,
Tobi
-
- Veteran
- Posts: 2764
- Joined: Mon Feb 27, 2012 5:31 pm
Re: Export of STEP files: adding metadata such as materials
With my GDML workbench each GDML object has a material. I would like to have the material included in an exported step file.easyw-fc wrote: ↑Sun Sep 15, 2019 9:58 am STEP format supports many extra data:
http://support.ptc.com/help/creo/creo_p ... asses.htmlSTEP AP203E2 and AP214IS Classes
The AP203E2 and AP214IS STEP classes support the exchange of the following non-geometric data between the Creo application and STEP:
• Material properties of name and density
• The geometric and assembly validation properties
• Datum features such as points, planes, axes, and coordinate systems
• The user-defined parameters for the part and assembly models, components, and entities such as quilts, surfaces, edges, and curves
• Annotations that include Product Manufacturing Information (PMI)
• The import of STEP groups
Those should be fully supported by OCC, but ATM are not translated by FC.
https://www.opencascade.com/content/rea ... nformation
A FC thread:
https://forum.freecadweb.org/viewtopic. ... 2&start=10
I am also having problems preserving structure when exporting stand alone. https://forum.freecadweb.org/viewtopic.php?f=22&t=44454
Where can I find more info on directly coding an export via pythonocc?