SALOME documentation central

Using operations on groups
[Grouping elements]

Functions

def UnionGroups
 Produces a union of two groups A new group is created.
def UnionListOfGroups
 Produces a union list of groups New group is created.
def IntersectGroups
 Prodices an intersection of two groups A new group is created.
def IntersectListOfGroups
 Produces an intersection of groups New group is created.
def CutGroups
 Produces a cut of two groups A new group is created.
def CutListOfGroups
 Produces a cut of groups A new group is created.
def CreateDimGroup
 Produces a group of elements with specified element type using list of existing groups A new group is created.

Function Documentation

def UnionGroups (   self,
  group1,
  group2,
  name 
) [inherited]

Produces a union of two groups A new group is created.

All mesh elements that are present in the initial groups are added to the new one

Returns:
an instance of SMESH_Group
def UnionListOfGroups (   self,
  groups,
  name 
) [inherited]

Produces a union list of groups New group is created.

All mesh elements that are present in initial groups are added to the new one

Returns:
an instance of SMESH_Group
def IntersectGroups (   self,
  group1,
  group2,
  name 
) [inherited]

Prodices an intersection of two groups A new group is created.

All mesh elements that are common for the two initial groups are added to the new one.

Returns:
an instance of SMESH_Group
def IntersectListOfGroups (   self,
  groups,
  name 
) [inherited]

Produces an intersection of groups New group is created.

All mesh elements that are present in all initial groups simultaneously are added to the new one

Returns:
an instance of SMESH_Group
def CutGroups (   self,
  main_group,
  tool_group,
  name 
) [inherited]

Produces a cut of two groups A new group is created.

All mesh elements that are present in the main group but are not present in the tool group are added to the new one

Returns:
an instance of SMESH_Group
def CutListOfGroups (   self,
  main_groups,
  tool_groups,
  name 
) [inherited]

Produces a cut of groups A new group is created.

All mesh elements that are present in main groups but do not present in tool groups are added to the new one

Returns:
an instance of SMESH_Group
def CreateDimGroup (   self,
  groups,
  elem_type,
  name 
) [inherited]

Produces a group of elements with specified element type using list of existing groups A new group is created.

System 1) extract all nodes on which groups elements are built 2) combine all elements of specified dimension laying on these nodes

Returns:
an instance of SMESH_Group
 All Data Structures Namespaces Files Functions Variables

Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS