Version: 6.5.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
Functions
Quadrangle Parameters hypothesis
Defining hypotheses

Functions

def QuadrangleParameters
 Defines "QuadrangleParameters" hypothesis.
def QuadranglePreference
 Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only quadrangles are built in the transition area along the finer meshed sides, iff the total quantity of segments on all four sides of the face is even.
def TrianglePreference
 Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only triangles are built in the transition area along the finer meshed sides.
def Reduced
 Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only quadrangles are built and the transition between the sides is made gradually, layer by layer.
def TriangleVertex
 Defines "QuadrangleParams" hypothesis with QUAD_STANDARD type of quadrangulation.

Detailed Description

Function Documentation

def QuadrangleParameters (   self,
  quadType = StdMeshers.QUAD_STANDARD,
  triangleVertex = 0,
  UseExisting = 0 
)

Defines "QuadrangleParameters" hypothesis.

Parameters
quadTypedefines the algorithm of transition between differently descretized sides of a geometrical face:
  • QUAD_STANDARD - both triangles and quadrangles are possible in the transition area along the finer meshed sides.
  • QUAD_TRIANGLE_PREF - only triangles are built in the transition area along the finer meshed sides.
  • QUAD_QUADRANGLE_PREF - only quadrangles are built in the transition area along the finer meshed sides, iff the total quantity of segments on all four sides of the face is even (divisible by 2).
  • QUAD_QUADRANGLE_PREF_REVERSED - same as QUAD_QUADRANGLE_PREF but the transition area is located along the coarser meshed sides.
  • QUAD_REDUCED - only quadrangles are built and the transition between the sides is made gradually, layer by layer. This type has a limitation on the number of segments: one pair of opposite sides must have the same number of segments, the other pair must have an even difference between the numbers of segments on the sides.
triangleVertex,:vertex of a trilateral geometrical face, around which triangles will be created while other elements will be quadrangles. Vertex can be either a GEOM_Object or a vertex ID within the shape to mesh
UseExisting,:if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one

References StdMeshersDC_Quadrangle.params.

def QuadranglePreference (   self,
  reversed = False,
  UseExisting = 0 
)

Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only quadrangles are built in the transition area along the finer meshed sides, iff the total quantity of segments on all four sides of the face is even.

Parameters
reversedif True, transition area is located along the coarser meshed sides.
UseExisting,:if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one

References StdMeshersDC_Quadrangle.QuadrangleParameters().

def TrianglePreference (   self,
  UseExisting = 0 
)

Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only triangles are built in the transition area along the finer meshed sides.

Parameters
UseExisting,:if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one

References StdMeshersDC_Quadrangle.QuadrangleParameters().

def Reduced (   self,
  UseExisting = 0 
)

Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only quadrangles are built and the transition between the sides is made gradually, layer by layer.

This type has a limitation on the number of segments: one pair of opposite sides must have the same number of segments, the other pair must have an even difference between the numbers of segments on the sides.

Parameters
UseExisting,:if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one

References StdMeshersDC_Quadrangle.QuadrangleParameters().

def TriangleVertex (   self,
  vertex,
  UseExisting = 0 
)

Defines "QuadrangleParams" hypothesis with QUAD_STANDARD type of quadrangulation.

Parameters
vertex,:vertex of a trilateral geometrical face, around which triangles will be created while other elements will be quadrangles. Vertex can be either a GEOM_Object or a vertex ID within the shape to mesh
UseExisting,:if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one

References StdMeshersDC_Quadrangle.QuadrangleParameters().

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