
Thu, 01/14/2010 - 14:56
Forums:
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
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
Sun, 01/17/2010 - 08:09
Hi,
nobody knows or is impossible?
Mon, 01/18/2010 - 08:38
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,
Roman
---
opencascade.blogspot.com - the Open CASCADE blog
www.cadexchanger.com - CAD Exchanger, your 3D data translator
Mon, 01/18/2010 - 15:13
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