Load STEP from memory instead of file


Is it possible to open a file directly from a byte array instead of reading a file?




Kirill Gavrilov's picture

There is not such functionality (yet).
The feature status can be tracked within issue #0027342 on bug tracker (don't be confused by current status "resolved", existing patch is not ready for using).

Alfonso Tamés's picture

Thanks for the update, I hope it supports C++ streams soon.

All the best,


Martin Walter's picture

Is there any insight on when this will be available for writing step files?

Best regards,


Kirill Gavrilov's picture

OCCT 7.5.0 has been introduced support for reading STEP files from a C++ stream.
So far, nobody reported the feature request for writing STEP file into stream on OCCT Bugtracker - you can be first:

haidong ma's picture

add this write stream feature in here: #0032350