1 // File: BREPExport.cxx
2 // Created: Wed May 19 13:10:05 2004
3 // Author: Pavel TELKOV
4 // <ptv@mutex.nnov.opencascade.com>
8 #include <BRepTools.hxx>
10 #include <TCollection_AsciiString.hxx>
11 #include <TopoDS_Shape.hxx>
13 //=============================================================================
17 //=============================================================================
22 __declspec(__dllexport)
24 int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
26 MESSAGE("Export BREP into file " << theFileName.ToCString());
28 if ( !BRepTools::Write( theShape, theFileName.ToCString() ) )