Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
Creating meshes

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...
 

Detailed Description

Function Documentation

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.

Parameters
meshesthe meshes, sub-meshes and groups to combine into one mesh
uniteIdenticalGroupsif true, groups with same names are united, else they are renamed
mergeNodesAndElementsif true, equal nodes and elements are merged
mergeTolerancetolerance for merging nodes
allGroupsforces creation of groups corresponding to every input mesh
namename of a new mesh
Returns
an instance of Mesh class

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.

Parameters
meshParta 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
meshNamea name of the new mesh
toCopyGroupsto create in the new mesh groups the copied elements belongs to
toKeepIDsto preserve order of the copied elements or not
Returns
an instance of Mesh class

References smeshBuilder.geompyD.