Defines a projection 1D-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 1D-2D algorithm.
It is created by calling smeshBuilder.Mesh.Projection1D2D(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 |
def SourceFace |
( |
|
self, |
|
|
|
face, |
|
|
|
mesh = None , |
|
|
|
srcV1 = None , |
|
|
|
tgtV1 = None , |
|
|
|
srcV2 = None , |
|
|
|
tgtV2 = None , |
|
|
|
UseExisting = 0 |
|
) |
| |
|
inherited |
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 = "Projection1D2D" |
|
static |
string algoType = "Projection_1D2D" |
|
static |
string docHelper = "Creates projection 1D-2D algorithm for faces" |
|
static |
flag pointing whether this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class