Modules | |
| Importing and exporting meshes | |
| Constructing meshes | |
| Defining Algorithms | |
| Defining hypotheses | |
| Constructing sub-meshes | |
| Editing Meshes | |
Functions | |
| def | Concatenate |
| Concatenate the given meshes into one mesh. More... | |
| def | CopyMesh |
| Create a mesh by copying a part of another mesh. More... | |
| def Concatenate | ( | self, | |
| meshes, | |||
| uniteIdenticalGroups, | |||
mergeNodesAndElements = False, |
|||
mergeTolerance = 1e-5, |
|||
allGroups = False, |
|||
name = "" |
|||
| ) |
Concatenate the given meshes into one mesh.
All groups of input meshes will be present in the new mesh.
| meshes | the meshes, sub-meshes and groups to combine into one mesh |
| uniteIdenticalGroups | if true, groups with same names are united, else they are renamed |
| mergeNodesAndElements | if true, equal nodes and elements are merged |
| mergeTolerance | tolerance for merging nodes |
| allGroups | forces creation of groups corresponding to every input mesh |
| name | name of a new mesh |
References smeshBuilder.geompyD, and smeshBuilder.ParseParameters().
| def CopyMesh | ( | self, | |
| meshPart, | |||
| meshName, | |||
toCopyGroups = False, |
|||
toKeepIDs = False |
|||
| ) |
Create a mesh by copying a part of another mesh.
| meshPart | a part of mesh to copy, either a Mesh, a sub-mesh or a group; to copy nodes or elements not contained in any mesh object, pass result of Mesh.GetIDSource( list_of_ids, type ) as meshPart |
| meshName | a name of the new mesh |
| toCopyGroups | to create in the new mesh groups the copied elements belongs to |
| toKeepIDs | to preserve order of the copied elements or not |
References smeshBuilder.geompyD.