Version: 6.3.1
Functions

Using operations on groups

Grouping elements
Collaboration diagram for Using operations on groups:

Functions

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

Function Documentation

def smeshDC.Mesh.CreateDimGroup (   self,
  groups,
  elem_type,
  name 
) [inherited]

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

Definition at line 1947 of file smeshDC.py.

01948                                                      :
01949       return self.mesh.CreateDimGroup(groups, elem_type, name)
01950 

def smeshDC.Mesh.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

Definition at line 1930 of file smeshDC.py.

01931                                                      :
01932         return self.mesh.CutGroups(main_group, tool_group, name)

def smeshDC.Mesh.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

Definition at line 1938 of file smeshDC.py.

01939                                                              :
01940       return self.mesh.CutListOfGroups(main_groups, tool_groups, name)

def smeshDC.Mesh.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

Definition at line 1914 of file smeshDC.py.

01915                                                    :
01916         return self.mesh.IntersectGroups(group1, group2, name)

def smeshDC.Mesh.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

Definition at line 1922 of file smeshDC.py.

01923                                                  :
01924       return self.mesh.IntersectListOfGroups(groups, name)

def smeshDC.Mesh.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

Definition at line 1898 of file smeshDC.py.

01899                                                :
01900         return self.mesh.UnionGroups(group1, group2, name)

def smeshDC.Mesh.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

Definition at line 1906 of file smeshDC.py.

01907                                              :
01908       return self.mesh.UnionListOfGroups(groups, name)

Copyright © 2007-2011 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