Hi,
nobody knows or is impossible?
Archived discussion
Hi,
I'd like to know if there's a way to write the "OCAF File" to a stream. As same as BRepTools::Write(shape,stream).
Thank You in Advance,
Regards
Discussion
Posts are displayed in their archived order.
Hi,
nobody knows or is impossible?
There is no high-level API enabling use of streams (though, I agree which is always helpful as a more general case than file name).
What you could possibly do is to dump contents into some temporary file and then feed into your stream.
Hope this helps,
Commenter-1
---
opencascade.blogspot.com - the Open CASCADE blog
www.cadexchanger.com - CAD Exchanger, your 3D data translator
Hi Roman,
thank you very much for your answer.
It's exactly I'm doing, I just thought could be a better way, as you explained! :)
Thank you again!
Regards