Fri, 02/03/2023 - 10:31
hi all,
what is the best, most efficient, way to exchange 3d objects data (TopoDS_Shape-s) between oc 6.9.1 and oc 7.7.0?
to use step or iges files is for me the last chance...
thank you for answers in advance.
best regards,
adrian
Fri, 02/03/2023 - 11:53
You may use native OCCT formats: XCAF document (
.xbf
file format, may store names and colors), ascii.brep
format (BRepTools::Write()
+BRepTools::Read()
) or it's binary version (BinTools::Write()
andBinTools::Read()
).The following article provides some details about history of these formats. The newer versions of OCCT should be able reading files stored by older OCCT, and there is an API to write files in older compatible format when using newer OCCT.
Fri, 02/03/2023 - 12:02
thank you for your response