muscletoolutils module¶
-
muscletoolutils.
applyStrokeRadius
(muscle_obj, stroke_radius)¶
-
muscletoolutils.
attachMuscleInputs
(node)¶
-
muscletoolutils.
copyCaptureToPose
(node)¶ Take positions of the Capture Pose Nulls and export them to the CV Nulls
-
muscletoolutils.
copyPinCaptureToPose
(node)¶ Take positions of the Capture Pose Nulls and export them to the CV Nulls
-
muscletoolutils.
createFrankenMuscle
(scriptargs)¶
-
muscletoolutils.
createMusclePin
(scriptargs)¶
-
muscletoolutils.
createMuscleRigByStroke
()¶
-
muscletoolutils.
createRiggedMuscle
(scriptargs)¶
-
muscletoolutils.
createRiggedMuscleByStroke
()¶
-
muscletoolutils.
createTissueSim
()¶ creates a tissue system by combining muscles, bones, and connective tissue into a physical simulation.
-
muscletoolutils.
detachMuscleInputs
(node)¶
-
muscletoolutils.
displaceSkinWithMuscle
()¶
-
muscletoolutils.
displayFrankenCapturePose
(node)¶ rifle through the rig sources in the frankenmuscle and set the Display Capture Pose flag accordingly
-
muscletoolutils.
displayFrankenRigs
(node)¶ rifle through the rig sources in the frankenmuscle and set the Display Capture Pose flag accordingly
-
muscletoolutils.
enterMuscleStroke
(node)¶
-
muscletoolutils.
enterNodeState
(sceneviewer, node)¶
-
muscletoolutils.
exportStrokeAndCreateNewMuscle
(orig_stroke_builder)¶
-
muscletoolutils.
exportStrokeToMuscle
(node, exit_stroke_state=True)¶ accepting the stroke alters the capture pose of the muscle and then updates the current pose
-
muscletoolutils.
findDeformTypeInputSop
(endnode)¶ This function does a depth first traversal of the node input hierarchy to find the first deform-type node. Returns the deform-type node. Returns None if no such node exists.
-
muscletoolutils.
findNodeWithMirrorPrefix
(orignode)¶ Return the node that has the same name as the current node, but with a mirrored prefix L_ <=> R_. return the original node if none is found.
-
muscletoolutils.
fixMuscleSelection
(objselection, my_types)¶ Return a tuple of items, uniqued, and only if they match types from my_types
-
muscletoolutils.
isMuscle
(sel)¶
-
muscletoolutils.
mirrorFrankenMuscle
(obj, scale, from_node)¶ Mirroring a FrankenMuscle just does the naming and parenting business without any scaling. Mirror scales are applied to the component pieces instead.
-
muscletoolutils.
mirrorMuscle
(obj, scale, from_node)¶ Given a riggedmuscle, mirror it inplace using the given scale
-
muscletoolutils.
mirrorPrefix
(s)¶ change the prefix of a string to a mirrored counterpart if it makes sense.
-
muscletoolutils.
modifyTissueSim
(tissue_system)¶ modifies a tissue system by adding/removing muscles and bones.
-
muscletoolutils.
muscleRadialComponentDisplay
(component, state)¶
-
muscletoolutils.
muscleRadialHide
()¶
-
muscletoolutils.
muscleRadialIsolate
()¶
-
muscletoolutils.
muscleRadialShowAll
(state)¶
-
muscletoolutils.
muscleStrokeBuilderPoststroke
(stroke_builder_node)¶
-
muscletoolutils.
muscleStrokeBuilderPrestroke
(stroke_builder_node)¶
-
muscletoolutils.
muscleStrokeBuilderStateEventCallback
(stroke_builder_node, kwargs)¶
-
muscletoolutils.
nodeTypeInSelection
(types, selection)¶ find any occurrence of the types listed in the selection
-
muscletoolutils.
paintMuscleMask
()¶
-
muscletoolutils.
removeFromSelection
(n, sel)¶
-
muscletoolutils.
resetMuscleHandles
(node)¶
-
muscletoolutils.
resetPinHandles
(node, resetcapture=False)¶
-
muscletoolutils.
selectAndEditFrankenMuscle
(edit_geo=False, edit_rigs=False)¶ run selection edits on all selected frankenmuscle
-
muscletoolutils.
selectAndSetCapturePose
()¶ run setCapturePose on all selected muscles
-
muscletoolutils.
selectFrankenMuscleGeo
(pathparm, index=1)¶ callback to repopulate the geo sources on a frankenmuscle
-
muscletoolutils.
selectFrankenMuscleRigs
(node)¶
-
muscletoolutils.
setCapturePose
(node)¶ Take the current positions of the CV Nulls and store them as the Capture Pose.
-
muscletoolutils.
setHandleDisplay
(musc, hide_all=False)¶
-
muscletoolutils.
setMuscleBias
(node, mode)¶
-
muscletoolutils.
setMuscleID
()¶ change Muscle ID for all selected muscles
-
muscletoolutils.
setMuscleStraightening
(node, mode)¶
-
muscletoolutils.
setMuscleStretched
(node, mode)¶
-
muscletoolutils.
setPinCapturePose
(node)¶ Take the current positions of the CV Nulls and store them as the Capture Pose.
-
muscletoolutils.
setTensionScale
(node, mode)¶