HyperWorks Tools

::hwat::utils::PositionLimbs

::hwat::utils::PositionLimbs

Previous topic Next topic No expanding text in this topic  

::hwat::utils::PositionLimbs

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::utils::PositionLimbs - Positions the dummy's hands or feet to the required position.

 

SYNTAX

::hwat::utils::PositionLimbs n_compId n_baseNode n_targetNode n_systemList n_sysCompList n_maxIterations d_tolerance

 

ARGUMENTS

n_compId

The ID of the root component if positive or the root multibody if negative.

n_baseNode

The base node to move on the dummy.

n_targetNode

The target node to move to.

n_systemList

The first list returned by the ::hwat::solver::CreateDummyPositionArray function(default = "").

n_sysCompList

The second list returned by the ::hwat::solver::CreateDummyPositionArray function(default = "").

n_maxIterations

The maximum number of iterations (default = 100).

d_tolerance

The tolerance within which to position the limbs (default = 10.0).

 

RETURNS

A Tcl list of the form {componentid1 anglelist1 ....} if successful, {} otherwise.  Where componentid is the id of the component being rotated and anglelist is the list of angles before rotation for that component.

 

EXAMPLE

::hwat::utils::PositionLimbs 12031 13454 21334 {} {} 50 5.  //component

::hwat::utils::PositionLimbs -29 13454 21334 {} {} 50 5.  //multibody

 

 

See also

Utils Functions