Version: 6.5.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
Functions
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 of specified type using list of existing groups A new group is created.

Detailed Description

Function Documentation

def UnionGroups (   self,
  group1,
  group2,
  name 
)

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 
)

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 
)

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 
)

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 
)

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 
)

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 
)

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

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

Returns
an instance of SMESH_Group
Copyright © 2007-2012 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