Version: 6.5.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
Functions
Convert to/from Quadratic Mesh
Modifying meshes

Functions

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

Detailed Description

Function Documentation

def ConvertToQuadratic (   self,
  theForce3d,
  theSubMesh = None 
)

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
def ConvertFromQuadratic (   self,
  theSubMesh = None 
)

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
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