Version: 6.5.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
Functions
Cutting quadrangles
Modifying meshes

Functions

def QuadToTri
 Splits quadrangles into triangles.
def QuadToTriObject
 Splits quadrangles into triangles.
def SplitQuad
 Splits quadrangles into triangles.
def SplitQuadObject
 Splits quadrangles into triangles.
def BestSplit
 Finds a better splitting of the given quadrangle.
def SplitVolumesIntoTetra
 Splits volumic elements into tetrahedrons.

Detailed Description

Function Documentation

def QuadToTri (   self,
  IDsOfElements,
  theCriterion 
)

Splits quadrangles into triangles.

Parameters
IDsOfElementsthe faces to be splitted.
theCriterionFT_...; used to choose a diagonal for splitting.
Returns
TRUE in case of success, FALSE otherwise.

References Mesh.GetElementsId().

def QuadToTriObject (   self,
  theObject,
  theCriterion 
)

Splits quadrangles into triangles.

Parameters
theObjectthe object from which the list of elements is taken, this is mesh, submesh or group
theCriterionFT_...; used to choose a diagonal for splitting.
Returns
TRUE in case of success, FALSE otherwise.
def SplitQuad (   self,
  IDsOfElements,
  Diag13 
)

Splits quadrangles into triangles.

Parameters
IDsOfElementsthe faces to be splitted
Diag13is used to choose a diagonal for splitting.
Returns
TRUE in case of success, FALSE otherwise.

References Mesh.GetElementsId().

def SplitQuadObject (   self,
  theObject,
  Diag13 
)

Splits quadrangles into triangles.

Parameters
theObjectthe object from which the list of elements is taken, this is mesh, submesh or group
Diag13is used to choose a diagonal for splitting.
Returns
TRUE in case of success, FALSE otherwise.
def BestSplit (   self,
  IDOfQuad,
  theCriterion 
)

Finds a better splitting of the given quadrangle.

Parameters
IDOfQuadthe ID of the quadrangle to be splitted.
theCriterionFT_...; a criterion to choose a diagonal for splitting.
Returns
1 if 1-3 diagonal is better, 2 if 2-4 diagonal is better, 0 if error occurs.
def SplitVolumesIntoTetra (   self,
  elemIDs,
  method = Hex_5Tet 
)

Splits volumic elements into tetrahedrons.

Parameters
elemIDseither list of elements or mesh or group or submesh
methodflags passing splitting method: Hex_5Tet, Hex_6Tet, Hex_24Tet Hex_5Tet - split the hexahedron into 5 tetrahedrons, etc
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