Defines a Use Existing Elements 1D-2D algorithm. More...

Public Member Functions | |
| def | __init__ |
| Private constructor. More... | |
| def | SourceFaces |
| Defines "Source faces" hypothesis, specifying groups of faces to import. More... | |
Static Public Attributes | |
| string | meshMethod = "UseExisting2DElements" |
| name of the dynamic method in smeshBuilder.Mesh class More... | |
| string | algoType = "Import_1D2D" |
| type of algorithm used with helper function in smeshBuilder.Mesh class More... | |
| isDefault = True | |
| flag pointing whether this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class More... | |
| string | docHelper = "Creates 1D-2D algorithm for faces with reusing of existing mesh elements" |
| doc string of the method More... | |
Defines a Use Existing Elements 1D-2D algorithm.
It is created by calling smeshBuilder.Mesh.UseExisting2DElements(geom=0)
| def __init__ | ( | self, | |
| mesh, | |||
geom = 0 |
|||
| ) |
Private constructor.
| 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, StdMeshersBuilder_Prism3D.algoType, StdMeshersBuilder_RadialPrism3D.algoType, StdMeshersBuilder_RadialQuadrangle1D2D.algoType, StdMeshersBuilder_QuadMA_1D2D.algoType, StdMeshersBuilder_PolygonPerFace.algoType, StdMeshersBuilder_UseExistingElements_1D.algoType, StdMeshersBuilder_UseExistingElements_1D2D.algoType, and Mesh_Algorithm.Create().
| def SourceFaces | ( | self, | |
| groups, | |||
toCopyMesh = False, |
|||
toCopyGroups = False, |
|||
UseExisting = False |
|||
| ) |
Defines "Source faces" hypothesis, specifying groups of faces to import.
| groups | list of groups of faces |
| toCopyMesh | if True, the whole mesh groups belong to is imported |
| toCopyGroups | if True, all groups of the mesh groups belong to are imported |
| UseExisting | if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one |
References Mesh_Algorithm.geom, StdMeshersBuilder_Segment.geom, Mesh.geom, and Mesh_Algorithm.Hypothesis().
|
static |
name of the dynamic method in smeshBuilder.Mesh class
|
static |
type of algorithm used with helper function in smeshBuilder.Mesh class
|
static |
flag pointing whether this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class
|
static |
doc string of the method