Functions | |
def | DeleteDiag |
Replaces two neighbour triangles sharing Node1-Node2 link with a quadrangle built on the same 4 nodes. | |
def | TriToQuad |
Fuses the neighbouring triangles into quadrangles. | |
def | TriToQuadObject |
Fuses the neighbouring triangles of the object into quadrangles. |
def DeleteDiag | ( | self, | |
NodeID1, | |||
NodeID2 | |||
) |
Replaces two neighbour triangles sharing Node1-Node2 link with a quadrangle built on the same 4 nodes.
NodeID1 | the ID of the first node |
NodeID2 | the ID of the second node |
def TriToQuad | ( | self, | |
IDsOfElements, | |||
theCriterion, | |||
MaxAngle | |||
) |
Fuses the neighbouring triangles into quadrangles.
IDsOfElements | The triangles to be fused, |
theCriterion | is FT_...; used to choose a neighbour to fuse with. |
MaxAngle | is the maximum angle between element normals at which the fusion is still performed; theMaxAngle is mesured in radians. Also it could be a name of variable which defines angle in degrees. |
References Mesh.GetElementsId(), and smesh.ParseAngles().
def TriToQuadObject | ( | self, | |
theObject, | |||
theCriterion, | |||
MaxAngle | |||
) |
Fuses the neighbouring triangles of the object into quadrangles.
theObject | is mesh, submesh or group |
theCriterion | is FT_...; used to choose a neighbour to fuse with. |
MaxAngle | a max angle between element normals at which the fusion is still performed; theMaxAngle is mesured in radians. |
References smesh.ParseAngles().