Go to: Synopsis. Flags. Return value. Related.

Synopsis

cpTool([drag=boolean], [help=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

cpTool is undoable, queryable, and editable.

Create a cloth control. Controls allow you to manipulate the cloth object directly. To create a control, select one or more vertices of the cloth mesh. Then issue the cpTool -drag command to create a cloth control. The control will be attached to these vertices. You must then run a local simulation to see the cloth object move.

Flags

drag, help
Long name (short name) [argument types] Properties
help(h) boolean create
Print a quick help message.
drag(d) boolean create
Create a drag control. This control has a shuttle object which moves along a motion path. The shuttle is attached to the selected vertices and pulls them along. The motion path's shape can be modified by selecting the end locator and moving it. The shuttle will follow the modified path. A local simulation will move the shuttle along the path. The shuttle can also be key framed by setting keys on the the uValue attribute.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Return value


[none]

Related

cpButton, cpCollision, cpConstraint, cpPanel, cpProperty, cpSeam, cpSolver