|
Functions | |
| def | smeshDC::Mesh_Quadrangle.QuadrangleParameters |
| Defines "QuadrangleParameters" hypothesis. | |
| def | smeshDC::Mesh_Quadrangle.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 | smeshDC::Mesh_Quadrangle.TrianglePreference |
| Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only triangles are built in the transition area along the finer meshed sides. | |
| def | smeshDC::Mesh_Quadrangle.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 | smeshDC::Mesh_Quadrangle.TriangleVertex |
| Defines "QuadrangleParams" hypothesis with QUAD_STANDARD type of quadrangulation. | |
| def smeshDC.Mesh_Quadrangle.QuadrangleParameters | ( | self, | |
quadType = StdMeshers.QUAD_STANDARD, |
|||
triangleVertex = 0, |
|||
UseExisting = 0 |
|||
| ) | [inherited] |
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 |
| UseExisting,: | if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one |
Definition at line 5207 of file smeshDC.py.
05208 : 05209 vertexID = triangleVertex 05210 if isinstance( triangleVertex, geompyDC.GEOM._objref_GEOM_Object ): 05211 vertexID = self.mesh.geompyD.GetSubShapeID( self.mesh.geom, triangleVertex ) 05212 if not self.params: 05213 compFun = lambda hyp,args: \ 05214 hyp.GetQuadType() == args[0] and \ 05215 ( hyp.GetTriaVertex()==args[1] or ( hyp.GetTriaVertex()<1 and args[1]<1)) 05216 self.params = self.Hypothesis("QuadrangleParams", [quadType,vertexID], 05217 UseExisting = UseExisting, CompareMethod=compFun) 05218 pass 05219 if self.params.GetQuadType() != quadType: 05220 self.params.SetQuadType(quadType) 05221 if vertexID > 0: 05222 self.params.SetTriaVertex( vertexID ) 05223 return self.params
| def smeshDC.Mesh_Quadrangle.QuadranglePreference | ( | self, | |
reversed = False, |
|||
UseExisting = 0 |
|||
| ) | [inherited] |
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 |
Definition at line 5231 of file smeshDC.py.
| def smeshDC.Mesh_Quadrangle.Reduced | ( | self, | |
UseExisting = 0 |
|||
| ) | [inherited] |
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 |
Definition at line 5252 of file smeshDC.py.
| def smeshDC.Mesh_Quadrangle.TrianglePreference | ( | self, | |
UseExisting = 0 |
|||
| ) | [inherited] |
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 |
Definition at line 5241 of file smeshDC.py.
| def smeshDC.Mesh_Quadrangle.TriangleVertex | ( | self, | |
| vertex, | |||
UseExisting = 0 |
|||
| ) | [inherited] |
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 |
Definition at line 5263 of file smeshDC.py.