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

Functions

def ConvertToQuadratic
 Convert the mesh to quadratic or bi-quadratic, deletes old elements, replacing them with quadratic with the same id. More...
 
def ConvertFromQuadratic
 Convert the mesh from quadratic to ordinary, deletes old quadratic elements,
replacing them with ordinary mesh elements with the same id. More...
 

Detailed Description

Function Documentation

def ConvertToQuadratic (   self,
  theForce3d = False,
  theSubMesh = None,
  theToBiQuad = False 
)

Convert the mesh to quadratic or bi-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 two nodes of a mesh element
theSubMesha group or a sub-mesh to convert; WARNING: in this case the mesh can become not conformal
theToBiQuadIf True, converts the mesh to bi-quadratic
Returns
SMESH.ComputeError which can hold a warning
def ConvertFromQuadratic (   self,
  theSubMesh = None 
)

Convert 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