Functions | |
def | Mirror |
Creates a symmetrical copy of mesh elements. | |
def | MirrorMakeMesh |
Creates a new mesh by a symmetrical copy of mesh elements. | |
def | MirrorObject |
Creates a symmetrical copy of the object. | |
def | MirrorObjectMakeMesh |
Creates a new mesh by a symmetrical copy of the object. | |
def | Translate |
Translates the elements. | |
def | TranslateMakeMesh |
Creates a new mesh of translated elements. | |
def | TranslateObject |
Translates the object. | |
def | TranslateObjectMakeMesh |
Creates a new mesh from the translated object. | |
def | Rotate |
Rotates the elements. | |
def | RotateMakeMesh |
Creates a new mesh of rotated elements. | |
def | RotateObject |
Rotates the object. | |
def | RotateObjectMakeMesh |
Creates a new mesh from the rotated object. | |
def | FindCoincidentNodes |
Finds groups of ajacent nodes within Tolerance. | |
def | FindCoincidentNodesOnPart |
Finds groups of ajacent nodes within Tolerance. | |
def | MergeNodes |
Merges nodes. | |
def | FindEqualElements |
Finds the elements built on the same nodes. | |
def | MergeElements |
Merges elements in each given group. | |
def | MergeEqualElements |
Leaves one element and removes all other elements built on the same nodes. | |
def | SewFreeBorders |
Sews free borders. | |
def | SewConformFreeBorders |
Sews conform free borders. | |
def | SewBorderToSide |
Sews border to side. | |
def | SewSideElements |
Sews two sides of a mesh. |
def Mirror | ( | self, | ||
IDsOfElements, | ||||
Mirror, | ||||
theMirrorType, | ||||
Copy = 0 , |
||||
MakeGroups = False | ||||
) | [inherited] |
Creates a symmetrical copy of mesh elements.
IDsOfElements | list of elements ids | |
Mirror | is AxisStruct or geom object(point, line, plane) | |
theMirrorType | is POINT, AXIS or PLANE If the Mirror is a geom object this parameter is unnecessary | |
Copy | allows to copy element (Copy is 1) or to replace with its mirroring (Copy is 0) | |
MakeGroups | forces the generation of new groups from existing ones (if Copy) |
def MirrorMakeMesh | ( | self, | ||
IDsOfElements, | ||||
Mirror, | ||||
theMirrorType, | ||||
MakeGroups = 0 , |
||||
NewMeshName = "" | ||||
) | [inherited] |
Creates a new mesh by a symmetrical copy of mesh elements.
IDsOfElements | the list of elements ids | |
Mirror | is AxisStruct or geom object (point, line, plane) | |
theMirrorType | is POINT, AXIS or PLANE If the Mirror is a geom object this parameter is unnecessary | |
MakeGroups | to generate new groups from existing ones | |
NewMeshName | a name of the new mesh to create |
def MirrorObject | ( | self, | ||
theObject, | ||||
Mirror, | ||||
theMirrorType, | ||||
Copy = 0 , |
||||
MakeGroups = False | ||||
) | [inherited] |
Creates a symmetrical copy of the object.
theObject | mesh, submesh or group | |
Mirror | AxisStruct or geom object (point, line, plane) | |
theMirrorType | is POINT, AXIS or PLANE If the Mirror is a geom object this parameter is unnecessary | |
Copy | allows copying the element (Copy is 1) or replacing it with its mirror (Copy is 0) | |
MakeGroups | forces the generation of new groups from existing ones (if Copy) |
def MirrorObjectMakeMesh | ( | self, | ||
theObject, | ||||
Mirror, | ||||
theMirrorType, | ||||
MakeGroups = 0 , |
||||
NewMeshName = "" | ||||
) | [inherited] |
Creates a new mesh by a symmetrical copy of the object.
theObject | mesh, submesh or group | |
Mirror | AxisStruct or geom object (point, line, plane) | |
theMirrorType | POINT, AXIS or PLANE If the Mirror is a geom object this parameter is unnecessary | |
MakeGroups | forces the generation of new groups from existing ones | |
NewMeshName | the name of the new mesh to create |
def Translate | ( | self, | ||
IDsOfElements, | ||||
Vector, | ||||
Copy, | ||||
MakeGroups = False | ||||
) | [inherited] |
Translates the elements.
IDsOfElements | list of elements ids | |
Vector | the direction of translation (DirStruct or vector) | |
Copy | allows copying the translated elements | |
MakeGroups | forces the generation of new groups from existing ones (if Copy) |
def TranslateMakeMesh | ( | self, | ||
IDsOfElements, | ||||
Vector, | ||||
MakeGroups = False , |
||||
NewMeshName = "" | ||||
) | [inherited] |
Creates a new mesh of translated elements.
IDsOfElements | list of elements ids | |
Vector | the direction of translation (DirStruct or vector) | |
MakeGroups | forces the generation of new groups from existing ones | |
NewMeshName | the name of the newly created mesh |
def TranslateObject | ( | self, | ||
theObject, | ||||
Vector, | ||||
Copy, | ||||
MakeGroups = False | ||||
) | [inherited] |
Translates the object.
theObject | the object to translate (mesh, submesh, or group) | |
Vector | direction of translation (DirStruct or geom vector) | |
Copy | allows copying the translated elements | |
MakeGroups | forces the generation of new groups from existing ones (if Copy) |
def TranslateObjectMakeMesh | ( | self, | ||
theObject, | ||||
Vector, | ||||
MakeGroups = False , |
||||
NewMeshName = "" | ||||
) | [inherited] |
Creates a new mesh from the translated object.
theObject | the object to translate (mesh, submesh, or group) | |
Vector | the direction of translation (DirStruct or geom vector) | |
MakeGroups | forces the generation of new groups from existing ones | |
NewMeshName | the name of the newly created mesh |
def Rotate | ( | self, | ||
IDsOfElements, | ||||
Axis, | ||||
AngleInRadians, | ||||
Copy, | ||||
MakeGroups = False | ||||
) | [inherited] |
Rotates the elements.
IDsOfElements | list of elements ids | |
Axis | the axis of rotation (AxisStruct or geom line) | |
AngleInRadians | the angle of rotation (in radians) or a name of variable which defines angle in degrees | |
Copy | allows copying the rotated elements | |
MakeGroups | forces the generation of new groups from existing ones (if Copy) |
def RotateMakeMesh | ( | self, | ||
IDsOfElements, | ||||
Axis, | ||||
AngleInRadians, | ||||
MakeGroups = 0 , |
||||
NewMeshName = "" | ||||
) | [inherited] |
Creates a new mesh of rotated elements.
IDsOfElements | list of element ids | |
Axis | the axis of rotation (AxisStruct or geom line) | |
AngleInRadians | the angle of rotation (in radians) or a name of variable which defines angle in degrees | |
MakeGroups | forces the generation of new groups from existing ones | |
NewMeshName | the name of the newly created mesh |
def RotateObject | ( | self, | ||
theObject, | ||||
Axis, | ||||
AngleInRadians, | ||||
Copy, | ||||
MakeGroups = False | ||||
) | [inherited] |
Rotates the object.
theObject | the object to rotate( mesh, submesh, or group) | |
Axis | the axis of rotation (AxisStruct or geom line) | |
AngleInRadians | the angle of rotation (in radians) or a name of variable which defines angle in degrees | |
Copy | allows copying the rotated elements | |
MakeGroups | forces the generation of new groups from existing ones (if Copy) |
def RotateObjectMakeMesh | ( | self, | ||
theObject, | ||||
Axis, | ||||
AngleInRadians, | ||||
MakeGroups = 0 , |
||||
NewMeshName = "" | ||||
) | [inherited] |
Creates a new mesh from the rotated object.
theObject | the object to rotate (mesh, submesh, or group) | |
Axis | the axis of rotation (AxisStruct or geom line) | |
AngleInRadians | the angle of rotation (in radians) or a name of variable which defines angle in degrees | |
MakeGroups | forces the generation of new groups from existing ones | |
NewMeshName | the name of the newly created mesh |
def FindCoincidentNodes | ( | self, | ||
Tolerance | ||||
) | [inherited] |
Finds groups of ajacent nodes within Tolerance.
Tolerance | the value of tolerance |
def FindCoincidentNodesOnPart | ( | self, | ||
SubMeshOrGroup, | ||||
Tolerance | ||||
) | [inherited] |
Finds groups of ajacent nodes within Tolerance.
Tolerance | the value of tolerance | |
SubMeshOrGroup | SubMesh or Group |
def MergeNodes | ( | self, | ||
GroupsOfNodes | ||||
) | [inherited] |
Merges nodes.
GroupsOfNodes | the list of groups of nodes |
def FindEqualElements | ( | self, | ||
MeshOrSubMeshOrGroup | ||||
) | [inherited] |
Finds the elements built on the same nodes.
MeshOrSubMeshOrGroup | Mesh or SubMesh, or Group of elements for searching |
def MergeElements | ( | self, | ||
GroupsOfElementsID | ||||
) | [inherited] |
Merges elements in each given group.
GroupsOfElementsID | groups of elements for merging |
def MergeEqualElements | ( | self | ) | [inherited] |
Leaves one element and removes all other elements built on the same nodes.
def SewFreeBorders | ( | self, | ||
FirstNodeID1, | ||||
SecondNodeID1, | ||||
LastNodeID1, | ||||
FirstNodeID2, | ||||
SecondNodeID2, | ||||
LastNodeID2, | ||||
CreatePolygons, | ||||
CreatePolyedrs | ||||
) | [inherited] |
Sews free borders.
def SewConformFreeBorders | ( | self, | ||
FirstNodeID1, | ||||
SecondNodeID1, | ||||
LastNodeID1, | ||||
FirstNodeID2, | ||||
SecondNodeID2 | ||||
) | [inherited] |
Sews conform free borders.
def SewBorderToSide | ( | self, | ||
FirstNodeIDOnFreeBorder, | ||||
SecondNodeIDOnFreeBorder, | ||||
LastNodeIDOnFreeBorder, | ||||
FirstNodeIDOnSide, | ||||
LastNodeIDOnSide, | ||||
CreatePolygons, | ||||
CreatePolyedrs | ||||
) | [inherited] |
Sews border to side.
def SewSideElements | ( | self, | ||
IDsOfSide1Elements, | ||||
IDsOfSide2Elements, | ||||
NodeID1OfSide1ToMerge, | ||||
NodeID1OfSide2ToMerge, | ||||
NodeID2OfSide1ToMerge, | ||||
NodeID2OfSide2ToMerge | ||||
) | [inherited] |
Sews two sides of a mesh.
The nodes belonging to Side1 are merged with the nodes of elements of Side2. The number of elements in theSide1 and in theSide2 must be equal and they should have similar nodal connectivity. The nodes to merge should belong to side borders and the first node should be linked to the second.