OCC.Core.RWStl module¶
RWStl module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstl.html
-
class
SwigPyIterator(*args, **kwargs)¶ Bases:
object-
advance()¶
-
copy()¶
-
decr()¶
-
distance()¶
-
equal()¶
-
incr()¶
-
next()¶
-
previous()¶
-
property
thisown¶ The membership flag
-
value()¶
-
-
class
rwstl(*args, **kwargs)¶ Bases:
object-
static
ReadAscii()¶ - Read triangulation from an Ascii STL file In case of error, returns Null handle.
- param thePath
- type thePath
OSD_Path &
- param theProgInd
default value is opencascade::handle<Message_ProgressIndicator>()
- type theProgInd
opencascade::handle<Message_ProgressIndicator> &
- rtype
opencascade::handle<Poly_Triangulation>
-
static
ReadBinary()¶ - Read triangulation from a binary STL file In case of error, returns Null handle.
- param thePath
- type thePath
OSD_Path &
- param theProgInd
default value is opencascade::handle<Message_ProgressIndicator>()
- type theProgInd
opencascade::handle<Message_ProgressIndicator> &
- rtype
opencascade::handle<Poly_Triangulation>
-
static
ReadFile()¶ - Read specified STL file and returns its content as triangulation. In case of error, returns Null handle.
- param theFile
- type theFile
OSD_Path &
- param aProgInd
default value is opencascade::handle<Message_ProgressIndicator>()
- type aProgInd
opencascade::handle<Message_ProgressIndicator> &
- rtype
opencascade::handle<Poly_Triangulation>* Read specified STL file and returns its content as triangulation. In case of error, returns Null handle.
- param theFile
- type theFile
char *
- param aProgInd
default value is opencascade::handle<Message_ProgressIndicator>()
- type aProgInd
opencascade::handle<Message_ProgressIndicator> &
- rtype
opencascade::handle<Poly_Triangulation>
-
static
WriteAscii()¶ - write the meshing in a file following the Ascii format of an STL file. Returns false if the cannot be opened;
- param theMesh
- type theMesh
opencascade::handle<Poly_Triangulation> &
- param thePath
- type thePath
OSD_Path &
- param theProgInd
default value is opencascade::handle<Message_ProgressIndicator>()
- type theProgInd
opencascade::handle<Message_ProgressIndicator> &
- rtype
bool
-
static
WriteBinary()¶ - Write triangulation to binary STL file. binary format of an STL file. Returns false if the cannot be opened;
- param theMesh
- type theMesh
opencascade::handle<Poly_Triangulation> &
- param thePath
- type thePath
OSD_Path &
- param theProgInd
default value is opencascade::handle<Message_ProgressIndicator>()
- type theProgInd
opencascade::handle<Message_ProgressIndicator> &
- rtype
bool
-
property
thisown¶ The membership flag
-
static