Open CASCADE Technology 7.8.2.dev
|
Offers the API for STL data manipulation. More...
#include <StlAPI.hxx>
Static Public Member Functions | |
static Standard_Boolean | Write (const TopoDS_Shape &theShape, const Standard_CString theFile, const Standard_Boolean theAsciiMode=Standard_True) |
Convert and write shape to STL format. File is written in binary if aAsciiMode is False otherwise it is written in Ascii (by default). | |
static Standard_Boolean | Read (TopoDS_Shape &theShape, const Standard_CString aFile) |
Legacy interface. Read STL file and create a shape composed of triangular faces, one per facet. This approach is very inefficient, especially for large files. Consider reading STL file to Poly_Triangulation object instead (see class RWStl). | |
Offers the API for STL data manipulation.
|
static |
Legacy interface. Read STL file and create a shape composed of triangular faces, one per facet. This approach is very inefficient, especially for large files. Consider reading STL file to Poly_Triangulation object instead (see class RWStl).
|
static |
Convert and write shape to STL format. File is written in binary if aAsciiMode is False otherwise it is written in Ascii (by default).