Defines a projection 3D algorithm It is created by calling Mesh.Projection3D(COMPOSITE) More...
Public Member Functions | |
def | __init__ |
Private constructor. | |
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) | |
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. | |
def | ReversedEdgeIndices |
Transform a list of ether edges or tuples (edge 1st_vertex_of_edge) into a list acceptable to SetReversedEdges() of some 1D hypotheses. |
Data Fields | |
mesh | |
geom | |
subm | |
algo |
Static Public Attributes | |
string | meshMethod = "Projection3D" |
Name of method of class Mesh creating an instance of this class. | |
string | algoType = "Projection_3D" |
Name of algorithm type. |
Defines a projection 3D algorithm It is created by calling Mesh.Projection3D(COMPOSITE)
def __init__ | ( | self, | |
mesh, | |||
geom = 0 |
|||
) |
Private constructor.
References StdMeshersDC_Segment.algoType, StdMeshersDC_CompositeSegment.algoType, StdMeshersDC_Segment_Python.algoType, StdMeshersDC_Triangle_MEFISTO.algoType, StdMeshersDC_Quadrangle.algoType, StdMeshersDC_Hexahedron.algoType, StdMeshersDC_Projection1D.algoType, StdMeshersDC_Projection2D.algoType, StdMeshersDC_Projection1D2D.algoType, StdMeshersDC_Projection3D.algoType, Mesh_Algorithm.Create(), and StdMeshersDC_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)
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 smesh.AssureGeomPublished(), Mesh_Algorithm.Hypothesis(), Mesh.mesh, and Mesh_Algorithm.mesh.
|
inherited |
Finds a hypothesis in the study by its type name and parameters.
Finds only the hypotheses created in smeshpyD engine.
|
inherited |
Finds the algorithm in the study by its type name.
Finds only the algorithms, which have been created in smeshpyD engine.
|
inherited |
If the algorithm is global, returns 0;
else returns the submesh associated to this algorithm.
References Mesh_Algorithm.subm.
|
inherited |
Returns the wrapped mesher.
References Mesh_Algorithm.algo.
|
inherited |
Gets the list of hypothesis that can be used with this algorithm.
References Mesh_Algorithm.algo.
|
inherited |
Gets the name of the algorithm.
References Mesh_Algorithm.algo.
|
inherited |
Sets the name to the algorithm.
References Mesh_Algorithm.algo.
|
inherited |
Gets the id of the algorithm.
|
inherited |
Private method.
References Mesh_Algorithm.algo, Mesh_Algorithm.Assign(), and Mesh_Algorithm.FindAlgorithm().
|
inherited |
Private method.
References Mesh_Algorithm.algo, smesh.AssureGeomPublished(), Mesh.geom, Mesh_Algorithm.geom, Mesh_Algorithm.GetName(), Mesh.mesh, Mesh_Algorithm.mesh, Mesh_Algorithm.subm, and smesh.TreatHypoStatus().
|
inherited |
|
inherited |
References Mesh_Algorithm.Hypothesis().
|
inherited |
Private method.
References Mesh_Algorithm.CompareHyp(), Mesh_Algorithm.FindHypothesis(), Mesh.geom, Mesh_Algorithm.geom, Mesh_Algorithm.GetName(), and smesh.TreatHypoStatus().
|
inherited |
Returns entry of the shape to mesh in the study.
References Mesh.mesh, and Mesh_Algorithm.mesh.
|
static |
Name of method of class Mesh creating an instance of this class.
|
static |
Name of algorithm type.
|
inherited |
|
inherited |
|
inherited |
|
inherited |