Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
Modifying nodes and elements

Functions

def MoveNode
 Move the node with the given id. More...
 
def MoveClosestNodeToPoint
 Find the node closest to a point and moves it to a point location. More...
 
def MeshToPassThroughAPoint
 Find the node closest to a point and moves it to a point location. More...
 
def ChangeElemNodes
 Set new nodes for the given element. More...
 

Detailed Description

Function Documentation

def MoveNode (   self,
  NodeID,
  x,
  y,
  z 
)

Move the node with the given id.

Parameters
NodeIDthe id of the node
xa new X coordinate
ya new Y coordinate
za new Z coordinate
Returns
True if succeed else False

References smeshBuilder.ParseParameters().

def MoveClosestNodeToPoint (   self,
  x,
  y,
  z,
  NodeID 
)

Find the node closest to a point and moves it to a point location.

Parameters
xthe X coordinate of a point
ythe Y coordinate of a point
zthe Z coordinate of a point
NodeIDif specified (>0), the node with this ID is moved, otherwise, the node closest to point (x,y,z) is moved
Returns
the ID of a node

References smeshBuilder.ParseParameters().

def MeshToPassThroughAPoint (   self,
  x,
  y,
  z 
)

Find the node closest to a point and moves it to a point location.

Parameters
xthe X coordinate of a point
ythe Y coordinate of a point
zthe Z coordinate of a point
Returns
the ID of a moved node
def ChangeElemNodes (   self,
  ide,
  newIDs 
)

Set new nodes for the given element.

Parameters
idethe element id
newIDsnodes ids
Returns
If the number of nodes does not correspond to the type of element - return false