dopclothtoolutils module¶
-
dopclothtoolutils.
applyClothObjectPreset
(dopobject, preset)¶
-
dopclothtoolutils.
createAutoPinToAnimationAttribute
(scriptargs)¶ Creates a point attribute for the selected points on the cloth object that specifies the points should be pinned to animation.
-
dopclothtoolutils.
createClothAttachConstraint
(scriptargs, conreltype, objecttypename)¶ Create hard/soft constraints between a set of points and the nearest points on a group of primitives of a selected dynamics object that belongs to a different solver.
-
dopclothtoolutils.
createClothStitchConstraint
(scriptargs, nodetype, objecttypename)¶ Create hard/soft constraints between points of a cloth object and points on another dynamics object.
-
dopclothtoolutils.
paintTearableClothObject
(active_pane, object)¶ This drops a paint SOP in the cloth’s input geometry SOP, so that the tearability thresholds can be modified locally
-
dopclothtoolutils.
selectAndCreateClothObjects
(scriptargs, objecttype, behavior, objectdescriptor)¶ For a selection of geometry objects, ensure that corresponding DOP Objects with a specific behavior exist.
-
dopclothtoolutils.
selectAndPaintTearableClothObjects
(scriptargs)¶ Select scene objects corresponding to cloth objects and paint threshold multipliers for tearability for each of them.
-
dopclothtoolutils.
selectionPrompt
(element_type)¶ Returns a string for prompting the user to make a selection in the viewport for the stitch constraint tool.
-
dopclothtoolutils.
setParm
(node, name, value)¶ Safely sets a parameter value, if that parameter exists.