Exporting an Axis System to IGES/STEP/BREP

I am looking for a way to export and import just the axis systems created in space. For that, as a workaround, I am currently creating a vertex and three orthonormal edges and then exporting it to iges/step. Is there any other way where the axis system can be written and read as an axis system specifically and not just topological entities? I couldn't find any persistent class for representing the axis system for import/export in OCC. Just wanted to know if someone has done that.

Nicholas Fette's picture

Sharjith, I have the same question. I know that STEP protocol supports coordinate system entities through Axis2_Placement_3d, which OCCT uses if you define a transformation via gp_Trsf and gp_Ax2. But when I import the STEP file, I only get the objects that I created descending from TopoDS. Is this just something not supported by OCCT?

Nicholas Fette's picture

There is another post where the author suggested an XCAF reader.
http://www.opencascade.org/org/forum/thread_20746/?forum=3