#include <utilities.h>
#include <Utils_SALOME_Exception.hxx>
#include "SMESH_DriverShape.hxx"
#include <STEPControl_Reader.hxx>
#include <STEPControl_Writer.hxx>
#include <Interface_Static.hxx>
#include <BRepTools.hxx>
#include <BRep_Builder.hxx>
#include <TopoDS.hxx>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
Functions | |
int | importSTEPShape (const std::string shape_file, TopoDS_Shape &aShape) |
Import the content of a shape file (STEP) into a TopDS_Shape object. More... | |
int | exportSTEPShape (const std::string shape_file, const TopoDS_Shape &aShape) |
Export the content of a TopoDS_Shape into a shape file (STEP) More... | |
int | importBREPShape (const std::string shape_file, TopoDS_Shape &aShape) |
Import the content of a shape file (BREP) into a TopDS_Shape object. More... | |
int | exportBREPShape (const std::string shape_file, const TopoDS_Shape &aShape) |
Export the content of a TopoDS_Shape into a shape file (BREP) More... | |
int exportBREPShape | ( | const std::string | shape_file, |
const TopoDS_Shape & | aShape | ||
) |
Export the content of a TopoDS_Shape into a shape file (BREP)
shape_file | the shape file |
aShape | the object |
References MESSAGE, and UNV164::Write().
Referenced by SMESH_DriverShape::exportShape().
int exportSTEPShape | ( | const std::string | shape_file, |
const TopoDS_Shape & | aShape | ||
) |
Export the content of a TopoDS_Shape into a shape file (STEP)
shape_file | the shape file |
aShape | the object |
References MESSAGE.
Referenced by SMESH_DriverShape::exportShape().
int importBREPShape | ( | const std::string | shape_file, |
TopoDS_Shape & | aShape | ||
) |
Import the content of a shape file (BREP) into a TopDS_Shape object.
shape_file | the shape file |
aShape | the object |
References MESSAGE, and UNV164::Read().
Referenced by SMESH_DriverShape::importShape().
int importSTEPShape | ( | const std::string | shape_file, |
TopoDS_Shape & | aShape | ||
) |
Import the content of a shape file (STEP) into a TopDS_Shape object.
shape_file | the shape file |
aShape | the object |
References MESSAGE.
Referenced by SMESH_DriverShape::importShape().