Functions | |
def | MoveClosestNodeToPoint |
Finds the node closest to a point and moves it to a point location. | |
def | FindNodeClosestTo |
Finds the node closest to a point. | |
def | FindElementsByPoint |
Finds the elements where a point lays IN or ON. | |
def | MeshToPassThroughAPoint |
Finds the node closest to a point and moves it to a point location. |
def MoveClosestNodeToPoint | ( | self, | |
x, | |||
y, | |||
z, | |||
NodeID | |||
) |
Finds the node closest to a point and moves it to a point location.
x | the X coordinate of a point |
y | the Y coordinate of a point |
z | the Z coordinate of a point |
NodeID | if specified (>0), the node with this ID is moved, otherwise, the node closest to point (x,y,z) is moved |
References smesh.ParseParameters().
def FindNodeClosestTo | ( | self, | |
x, | |||
y, | |||
z | |||
) |
Finds the node closest to a point.
x | the X coordinate of a point |
y | the Y coordinate of a point |
z | the Z coordinate of a point |
def FindElementsByPoint | ( | self, | |
x, | |||
y, | |||
z, | |||
elementType = SMESH.ALL , |
|||
meshPart = None |
|||
) |
Finds the elements where a point lays IN or ON.
x | the X coordinate of a point |
y | the Y coordinate of a point |
z | the Z coordinate of a point |
elementType | type of elements to find (SMESH.ALL type means elements of any type excluding nodes and 0D elements) |
meshPart | a part of mesh (group, sub-mesh) to search within |
def MeshToPassThroughAPoint | ( | self, | |
x, | |||
y, | |||
z | |||
) |
Finds the node closest to a point and moves it to a point location.
x | the X coordinate of a point |
y | the Y coordinate of a point |
z | the Z coordinate of a point |