Public Member Functions |
| def | __init__ |
| | Private constructor.
|
| 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)
|
| def | FindHypothesis |
| | Finds a hypothesis in the study by its type name and parameters.
|
| def | FindAlgorithm |
| | Finds the algorithm in the study by its type name.
|
| def | GetSubMesh |
| | If the algorithm is global, returns 0;
else returns the submesh associated to this algorithm.
|
| def | GetAlgorithm |
| | Returns the wrapped mesher.
|
| def | GetCompatibleHypothesis |
| | Gets the list of hypothesis that can be used with this algorithm.
|
| def | GetName |
| | Gets the name of the algorithm.
|
| def | SetName |
| | Sets the name to the algorithm.
|
| def | GetId |
| | Gets the id of the algorithm.
|
| def | Create |
| | Private method.
|
| def | Assign |
| | Private method.
|
| def | CompareHyp |
| def | CompareEqualHyp |
| def | Hypothesis |
| | Private method.
|
| def | MainShapeEntry |
| | Returns entry of the shape to mesh in the study.
|
| def | ViscousLayers |
| | Defines "ViscousLayers" hypothesis to give parameters of layers of prisms to build near mesh boundary.
|
Data Fields |
| | mesh |
| | geom |
| | subm |
| | algo |
Defines a projection 2D algorithm.
| 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