How to persist OCC shapes converted from STEP?

Hi. I am evaluating OCC. Reading documentation I do not see a ready to go way to persist shapes created / loaded in memory. Suppose I have loaded a STEP file. It is significant conversion. Is there a way to persist (save, close application, reload) the set of shapes with all information in native to OCC format?
OCAF documents does not seem to be a solution as it expects Function drivers to be supplied by the dveloper. Am I wrong?.
Thank you

cheng's picture

I'm use Nikolai[url=http://www.itemah.com/]World of Warcraft Items[/url]
[url=http://www.fzf.com/Runescape.gold]RS Gold[/url]
[url=http://www.tera2u.com/Tera2u.items]Tera Items[/url]

Forum supervisor's picture

Hi Nikolai,
OCCT has ready to use services to keep shapes depending on your needs.
You may keep it
1) in BRep format (OCCT native format) using services of BRepTools package.
2) or in one of formats proposing by OCAF document services.
If you are using standard attributes (which are part of OCCT delivery) you can use
ready to use services of TDocStd_Application.
Also you may overlook "Extended Data Exchange (XDE)User’s Guide" which provide ready to use DE solution based on OCAF usage.
Regards

Nikolai's picture

Thank you, This is encouraging. I will look closer at all options again