Version: 6.3.1
Functions

Convert to/from Quadratic Mesh

Modifying meshes
Collaboration diagram for Convert to/from Quadratic Mesh:

Functions

def smeshDC::Mesh.ConvertToQuadratic
 Converts the mesh to quadratic, deletes old elements, replacing them with quadratic with the same id.
def smeshDC::Mesh.ConvertFromQuadratic
 Converts the mesh from quadratic to ordinary, deletes old quadratic elements,
replacing them with ordinary mesh elements with the same id.

Function Documentation

def smeshDC.Mesh.ConvertFromQuadratic (   self,
  theSubMesh = None 
) [inherited]

Converts the mesh from quadratic to ordinary, deletes old quadratic elements,
replacing them with ordinary mesh elements with the same id.

Parameters:
theSubMesha group or a sub-mesh to convert; WARNING: in this case the mesh can become not conformal

Definition at line 3081 of file smeshDC.py.

03082                                                    :
03083         if theSubMesh:
03084             self.editor.ConvertFromQuadraticObject(theSubMesh)
03085         else:
03086             return self.editor.ConvertFromQuadratic()

def smeshDC.Mesh.ConvertToQuadratic (   self,
  theForce3d,
  theSubMesh = None 
) [inherited]

Converts the mesh to quadratic, deletes old elements, replacing them with quadratic with the same id.

Parameters:
theForce3dnew node creation method: 0 - the medium node lies at the geometrical entity from which the mesh element is built 1 - the medium node lies at the middle of the line segments connecting start and end node of a mesh element
theSubMesha group or a sub-mesh to convert; WARNING: in this case the mesh can become not conformal

Definition at line 3070 of file smeshDC.py.

03071                                                              :
03072         if theSubMesh:
03073             self.editor.ConvertToQuadraticObject(theForce3d,theSubMesh)
03074         else:
03075             self.editor.ConvertToQuadratic(theForce3d)

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