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

Public Member Functions | |
| def | __init__ |
| Private constructor. More... | |
| def | SourceEdges |
| Defines "Source edges" hypothesis, specifying groups of edges to import. More... | |
Static Public Attributes | |
| string | meshMethod = "UseExisting1DElements" |
| name of the dynamic method in smeshBuilder.Mesh class More... | |
| string | algoType = "Import_1D" |
| 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 algorithm for edges with reusing of existing mesh elements" |
| doc string of the method More... | |
Defines a Use Existing Elements 1D algorithm.
It is created by calling smeshBuilder.Mesh.UseExisting1DElements(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, and Mesh_Algorithm.Create().
| def SourceEdges | ( | self, | |
| groups, | |||
toCopyMesh = False, |
|||
toCopyGroups = False, |
|||
UseExisting = False |
|||
| ) |
Defines "Source edges" hypothesis, specifying groups of edges to import.
| groups | list of groups of edges |
| 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 smeshBuilder.AssureGeomPublished(), Mesh_Algorithm.Hypothesis(), Mesh_Algorithm.mesh, Mesh.mesh, submeshProxy.mesh, meshEditor.mesh, and algoCreator.mesh.
|
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