Functions | |
def | QuadrangleParameters |
Defines "QuadrangleParameters" hypothesis. More... | |
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. More... | |
def | TrianglePreference |
Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only triangles are built in the transition area along the finer meshed sides. More... | |
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. More... | |
def | TriangleVertex |
Defines "QuadrangleParams" hypothesis with QUAD_STANDARD type of quadrangulation. More... | |
def QuadrangleParameters | ( | self, | |
quadType = StdMeshers.QUAD_STANDARD , |
|||
triangleVertex = 0 , |
|||
enfVertices = [] , |
|||
enfPoints = [] , |
|||
UseExisting = 0 |
|||
) |
Defines "QuadrangleParameters" hypothesis.
quadType | defines the algorithm of transition between differently descretized sides of a geometrical face:
|
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 |
enfVertices,: | list of shapes defining positions where nodes (enforced nodes) must be created by the mesher. Shapes can be of any type, vertices of given shapes define positions of enforced nodes. Only vertices successfully projected to the face are used. |
enfPoints,: | list of points giving positions of enforced nodes. Point can be defined either as SMESH.PointStruct's ([SMESH.PointStruct(x1,y1,z1), SMESH.PointStruct(x2,y2,z2),...]) or triples of values ([[x1,y1,z1], [x2,y2,z2], ...]). In the case if the defined QuadrangleParameters() refer to a sole face, all given points must lie on this face, else the mesher fails. |
UseExisting,: | if True - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one |
References StdMeshersBuilder_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.
reversed | if 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 StdMeshersBuilder_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.
UseExisting,: | if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one |
References StdMeshersBuilder_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.
UseExisting,: | if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one |
References StdMeshersBuilder_Quadrangle.QuadrangleParameters().
def TriangleVertex | ( | self, | |
vertex, | |||
UseExisting = 0 |
|||
) |
Defines "QuadrangleParams" hypothesis with QUAD_STANDARD type of quadrangulation.
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 StdMeshersBuilder_Quadrangle.QuadrangleParameters().