Functions | |
def | Reorient |
Reorient elements by ids. More... | |
def | ReorientObject |
Reorient all elements of the object. More... | |
def | Reorient2D |
Reorient faces contained in the2DObject. More... | |
def | Reorient2DBy3D |
Reorient faces according to adjacent volumes. More... | |
def Reorient | ( | self, | |
IDsOfElements = None |
|||
) |
Reorient elements by ids.
IDsOfElements | if undefined reorients all mesh elements |
References Mesh.GetElementsId().
def ReorientObject | ( | self, | |
theObject | |||
) |
Reorient all elements of the object.
theObject | mesh, submesh or group |
def Reorient2D | ( | self, | |
the2DObject, | |||
theDirection, | |||
theFaceOrPoint | |||
) |
Reorient faces contained in the2DObject.
the2DObject | is a mesh, sub-mesh, group or list of IDs of 2D elements |
theDirection | is a desired direction of normal of theFace. It can be either a GEOM vector or a list of coordinates [x,y,z]. |
theFaceOrPoint | defines a face of the2DObject whose normal will be compared with theDirection. It can be either ID of face or a point by which the face will be found. The point can be given as either a GEOM vertex or a list of point coordinates. |
References Mesh.GetIDSource().
def Reorient2DBy3D | ( | self, | |
the2DObject, | |||
the3DObject, | |||
theOutsideNormal = True |
|||
) |
Reorient faces according to adjacent volumes.
the2DObject | is a mesh, sub-mesh, group or list of either IDs of faces or face groups. |
the3DObject | is a mesh, sub-mesh, group or list of IDs of volumes. |
theOutsideNormal | to orient faces to have their normals pointing either outside or inside the adjacent volumes. |
References Mesh.GetIDSource().