skinning.utils.api.conversion module

skinning.utils.api.conversion.get_component(node)

We extend the component function to force components on objects of a certain type. These can be extended if need be. This means all vertex components will be provided if a mesh shape is parsed as the node.

Parameters:node (str) –
Returns:Maya dag path node and components
Return type:tuple[OpenMaya.MDagPath, OpenMaya.MObject]
skinning.utils.api.conversion.get_dag(node)
Parameters:node (str) –
Returns:Maya dag path node
Return type:OpenMaya.MDagPath
skinning.utils.api.conversion.get_dependency(node)
Parameters:node (str) –
Returns:Maya dependency node
Return type:OpenMaya.MFnDependencyNode
skinning.utils.api.conversion.get_object(node)
Parameters:node (str) –
Returns:Maya object node
Return type:OpenMaya.MObject
skinning.utils.api.conversion.get_plug(node)
Parameters:node (str) –
Returns:Maya plug node
Return type:OpenMaya.MPlug