Load STEP from memory instead of file

Hi,

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

thanks,

Alfonso

 

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,

Alfonso

Martin Walter's picture

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

Best regards,

Martin

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:
https://dev.opencascade.org/index.php?q=home/get_involved