Defines a projection 3D algorithm.
More...
|
def | __init__ |
| Private constructor. More...
|
|
def | SourceShape3D |
| Defines the "Source Shape 3D" hypothesis, specifying a meshed solid, from where the mesh pattern is taken, and, optionally, the association of vertices between the source and the target solid (to which a hipothesis is assigned) More...
|
|
Defines a projection 3D algorithm.
It is created by calling smeshBuilder.Mesh.Projection3D(geom=0)
def __init__ |
( |
|
self, |
|
|
|
mesh, |
|
|
|
geom = 0 |
|
) |
| |
Private constructor.
- Parameters
-
mesh | parent mesh object algorithm is assigned to |
geom | geometry (shape/sub-shape) algorithm is assigned to; if it is 0 (default), the algorithm is assigned to the main shape |
References StdMeshersBuilder_Segment.algoType, StdMeshersBuilder_CompositeSegment.algoType, StdMeshersBuilder_Segment_Python.algoType, StdMeshersBuilder_Triangle_MEFISTO.algoType, StdMeshersBuilder_Quadrangle.algoType, StdMeshersBuilder_Hexahedron.algoType, StdMeshersBuilder_Projection1D.algoType, StdMeshersBuilder_Projection2D.algoType, StdMeshersBuilder_Projection1D2D.algoType, StdMeshersBuilder_Projection3D.algoType, Mesh_Algorithm.Create(), and StdMeshersBuilder_Projection3D.SourceShape3D().
def SourceShape3D |
( |
|
self, |
|
|
|
solid, |
|
|
|
mesh = 0 , |
|
|
|
srcV1 = 0 , |
|
|
|
tgtV1 = 0 , |
|
|
|
srcV2 = 0 , |
|
|
|
tgtV2 = 0 , |
|
|
|
UseExisting = 0 |
|
) |
| |
Defines the "Source Shape 3D" hypothesis, specifying a meshed solid, from where the mesh pattern is taken, and, optionally, the association of vertices between the source and the target solid (to which a hipothesis is assigned)
- Parameters
-
solid | from where the mesh pattern is taken |
mesh | from where the mesh pattern is taken (optional) |
srcV1 | a vertex of solid to associate with tgtV1 (optional) |
tgtV1 | a vertex of the solid where the algorithm is assigned, to associate with srcV1 (optional) |
srcV2 | a vertex of solid to associate with tgtV1 (optional) |
tgtV2 | a vertex of the solid to which the algorithm is assigned, to associate with srcV2 (optional) |
UseExisting | - if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one |
Note: association vertices must belong to one edge of a solid
References smeshBuilder.AssureGeomPublished(), Mesh_Algorithm.Hypothesis(), Mesh_Algorithm.mesh, Mesh.mesh, submeshProxy.mesh, meshEditor.mesh, and algoCreator.mesh.
string meshMethod = "Projection3D" |
|
static |
string algoType = "Projection_3D" |
|
static |
string docHelper = "Creates projection 3D algorithm for volumes" |
|
static |