OCC.StlTransfer module¶
The package Algorithm for Meshing implementsfacilities to retrieve the Mesh data-structure from a shape of packageTopoDS. The triangulation should be computed before.The result is stored in the meshdata-structure Mesh from package StlMesh.
-
class
SwigPyIterator(*args, **kwargs)¶ Bases:
object-
advance()¶
-
copy()¶
-
decr()¶
-
distance()¶
-
equal()¶
-
incr()¶
-
next()¶
-
previous()¶
-
thisown¶ The membership flag
-
value()¶
-
-
new_instancemethod(func, inst, cls)¶
-
register_handle(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases
-
class
stltransfer¶ Bases:
object-
static
RetrieveMesh()¶ - Retrieve a Mesh data-structure from the Shape, convert and store it into the Mesh.
Parameters: - Shape (TopoDS_Shape &) –
- Mesh (Handle_StlMesh_Mesh &) –
Return type: void
-
thisown¶ The membership flag
-
static
-
stltransfer_RetrieveMesh()¶ - Retrieve a Mesh data-structure from the Shape, convert and store it into the Mesh.
Parameters: - Shape (TopoDS_Shape &) –
- Mesh (Handle_StlMesh_Mesh &) –
Return type: void