Functions | |
| def | DeleteDiag |
| Replace two neighbour triangles sharing Node1-Node2 link with a quadrangle built on the same 4 nodes. More... | |
| def | TriToQuad |
| Fuse the neighbouring triangles into quadrangles. More... | |
| def | TriToQuadObject |
| Fuse the neighbouring triangles of the object into quadrangles. More... | |
| def DeleteDiag | ( | self, | |
| NodeID1, | |||
| NodeID2 | |||
| ) |
Replace 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 | |||
| ) |
Fuse the neighbouring triangles into quadrangles.
| IDsOfElements | The triangles to be fused. |
| theCriterion | a numerical functor, in terms of enum SMESH.FunctorType, used to applied to possible quadrangles to choose a neighbour to fuse with. Type SMESH.FunctorType._items in the Python Console to see all items. Note that not all items correspond to numerical functors. |
| 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 smeshBuilder.ParseAngles().
| def TriToQuadObject | ( | self, | |
| theObject, | |||
| theCriterion, | |||
| MaxAngle | |||
| ) |
Fuse the neighbouring triangles of the object into quadrangles.
| theObject | is mesh, submesh or group |
| theCriterion | is a numerical functor, in terms of enum SMESH.FunctorType, applied to possible quadrangles to choose a neighbour to fuse with. Type SMESH.FunctorType._items in the Python Console to see all items. Note that not all items correspond to numerical functors. |
| MaxAngle | a max angle between element normals at which the fusion is still performed; theMaxAngle is mesured in radians. |
References smeshBuilder.ParseAngles().