Defines a projection 2D algorithm.
More...
|
def | __init__ |
| Private constructor. More...
|
|
def | SourceFace |
| Defines "Source Face" hypothesis, specifying a meshed face, from where a mesh pattern is taken, and, optionally, the association of vertices between the source face and the target face (to which a hypothesis is assigned) More...
|
|
Defines a projection 2D algorithm.
It is created by calling smeshBuilder.Mesh.Projection2D(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, Mesh_Algorithm.Create(), and StdMeshersBuilder_Projection2D.SourceFace().
def SourceFace |
( |
|
self, |
|
|
|
face, |
|
|
|
mesh = None , |
|
|
|
srcV1 = None , |
|
|
|
tgtV1 = None , |
|
|
|
srcV2 = None , |
|
|
|
tgtV2 = None , |
|
|
|
UseExisting = 0 |
|
) |
| |
Defines "Source Face" hypothesis, specifying a meshed face, from where a mesh pattern is taken, and, optionally, the association of vertices between the source face and the target face (to which a hypothesis is assigned)
- Parameters
-
face | from which the mesh pattern is taken |
mesh | from which the mesh pattern is taken (optional) |
srcV1 | a vertex of face to associate with tgtV1 (optional) |
tgtV1 | a vertex of the face to which the algorithm is assigned, to associate with srcV1 (optional) |
srcV2 | a vertex of face to associate with tgtV1 (optional) |
tgtV2 | a vertex of the face to which the algorithm is assigned, to associate with srcV2 (optional) |
UseExisting | if ==true - forces the search for the existing hypothesis created with the same parameters, else (default) - forces the creation a new one |
Note: all association vertices must belong to one edge of a face
References smeshBuilder.AssureGeomPublished(), Mesh_Algorithm.geom, StdMeshersBuilder_Segment.geom, Mesh.geom, Mesh_Algorithm.Hypothesis(), Mesh_Algorithm.mesh, Mesh.mesh, submeshProxy.mesh, meshEditor.mesh, and algoCreator.mesh.
string meshMethod = "Projection2D" |
|
static |
string algoType = "Projection_2D" |
|
static |
flag pointing whether this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class
string docHelper = "Creates projection 2D algorithm for faces" |
|
static |