I have a problem with BRepTools::Read using an istream:
The following line works perfect. So far so good.
Standard_Boolean result = BRepTools::Read(ashape,"D:/test/edge.brep",B1);
I copied the follwing lines from the code of BRepTools::Read
Ang here the function crashes at SS.Read. I even cant examine wich kind of exception is thrown. I tried it with several brep files, always the same result.
I can´t understand the reason, because both cases use the same functions.
Any help would be apreciated