
Thu, 02/04/2010 - 09:31
Forums:
I'm creating a prism using the API BRepPrimAPI_MakePrism() which returns me the resulting shape of type TopoDS_Shape.
Can any body suggest me the relevant APIs or sample codepiece to save it on disk ?
I'm creating a prism using the API BRepPrimAPI_MakePrism() which returns me the resulting shape of type TopoDS_Shape.
Can any body suggest me the relevant APIs or sample codepiece to save it on disk ?
Thu, 02/04/2010 - 13:12
Hi,
Take a look at BRepTools::Write.
BRepTools::Write(myShape, "myFile.brep");