Open CASCADE Technology 7.9.0
|
Reading from stereolithography format. Reads STL file and creates a shape composed of triangular faces, one per facet. IMPORTANT: This approach is very inefficient, especially for large files. IMPORTANT: Consider reading STL file to Poly_Triangulation object instead (see class RWStl). More...
#include <StlAPI_Reader.hxx>
Public Member Functions | |
Standard_Boolean | Read (TopoDS_Shape &theShape, const Standard_CString theFileName) |
Reads STL file to the TopoDS_Shape (each triangle is converted to the face). | |
Reading from stereolithography format. Reads STL file and creates a shape composed of triangular faces, one per facet. IMPORTANT: This approach is very inefficient, especially for large files. IMPORTANT: Consider reading STL file to Poly_Triangulation object instead (see class RWStl).
Standard_Boolean StlAPI_Reader::Read | ( | TopoDS_Shape & | theShape, |
const Standard_CString | theFileName ) |
Reads STL file to the TopoDS_Shape (each triangle is converted to the face).