Version: 6.3.1
Functions

Changing orientation of elements

Modifying meshes
Collaboration diagram for Changing orientation of elements:

Functions

def smeshDC::Mesh.Reorient
 Reorients elements by ids.
def smeshDC::Mesh.ReorientObject
 Reorients all elements of the object.

Function Documentation

def smeshDC.Mesh.Reorient (   self,
  IDsOfElements = None 
) [inherited]

Reorients elements by ids.

Parameters:
IDsOfElementsif undefined reorients all mesh elements
Returns:
True if succeed else False

Definition at line 2741 of file smeshDC.py.

02742                                           :
02743         if IDsOfElements == None:
02744             IDsOfElements = self.GetElementsId()
02745         return self.editor.Reorient(IDsOfElements)

def smeshDC.Mesh.ReorientObject (   self,
  theObject 
) [inherited]

Reorients all elements of the object.

Parameters:
theObjectmesh, submesh or group
Returns:
True if succeed else False

Definition at line 2750 of file smeshDC.py.

02751                                        :
02752         if ( isinstance( theObject, Mesh )):
02753             theObject = theObject.GetMesh()
02754         return self.editor.ReorientObject(theObject)

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