*elementquality_move_node
Moves a node from its current position to a new position to improve element quality.
Syntax
*elementquality_move_node entity_id movelength=<value> x=<value> y=<value> z=<value>Type
HyperMesh Tcl Modify Command
Description
Moves a node from its current position to a new position to improve element quality. The command supports three different use cases: move a node to a specific position, translate the node in a specified direction, or translate it along its normal vector.
Inputs
- entity_id
- The ID of the node.
- movelength=<value>
- The distance to translate the node. The value can be positive or negative.
- x=<value>
- The x-component of the directional vector or the x-coordinate of the new position.
- y=<value>
- The y-component of the directional vector or the y-coordinate of the new position.
- z=<value>
- The z-component of the directional vector or the z-coordinate of the new position.
Example
*elementquality_move_node 15 x=25.5 y=65.9 z=15.9
*elementquality_move_node 15 movelength=6.5 x=0 y=1 z=1
*elementquality_move_node 15 movelength=6.5
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2021.1