Skip to content

nodes


=== Author: Assaf Ben Zur ===
Mns nodes utility module.
All node creation functions are covered by this module

Defenitions


addativeConnectionBridge

Constructor: addativeConnectionBridge(attrA, attrB)
Return: None
Arguments:
  • attrA
  • attrB
Keyword Arguments:

adlNode

Create a new addDoubleLinear node using the given inputs.

Constructor: adlNode(input1 = None, input2 = None, output = None, kwargs)
Return: None
Arguments:
  • input1(str) ; [default: None]
  • input2(str) ; [default: None]
  • output(str) ; [default: None]
  • kwargs
Keyword Arguments:

angleBetweenNode

Creates an angleBetween node based on specified parameters and outputs.

Constructor: angleBetweenNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

blendColorsNode

Create a new multiply devide node using the given inputs.

Constructor: blendColorsNode(color1 = None, color2 = None, blender = None, output = None, kwargs)
Return: None
Arguments:
  • color1(str) ; [default: None]
  • color2(str) ; [default: None]
  • blender(str) ; [default: None]
  • output(str) ; [default: None]
  • kwargs
Keyword Arguments:

buildGeoAxisVis

Utility aid function:
Creates a Axis-Vis geometry object based on parameters

Constructor: buildGeoAxisVis(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

buildGeoAxisVisForParents

Utility aid function.
Created an Axis-Vis geometry object from each object within the list passed in.

Constructor: buildGeoAxisVisForParents(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

buildVisCubesForPSOCNode

Single use function.
From a given MnsPointsOnCurve node, create output 'visCubes'.

Constructor: buildVisCubesForPSOCNode(node = "", kwargs)
Return: None
Arguments:
  • node(str) ; [default: ""]
  • kwargs
Keyword Arguments:

choiceNode

Create a new choice node using the given inputs.

Constructor: choiceNode(inputs = [], output = None, kwargs)
Return: None
Arguments:
  • inputs(list) ; [default: []]
  • output(str) ; [default: None]
  • kwargs
Keyword Arguments:

clampNode

Create a new clamp node using the given inputs.

Constructor: clampNode(inputA = [], maxA = [], minA = [], output = [], kwargs)
Return: None
Arguments:
  • inputA(list) ; [default: []]
  • maxA(list) ; [default: []]
  • minA(list) ; [default: []]
  • output(list) ; [default: []]
  • kwargs
Keyword Arguments:

conditionNode

Create a new condition node using the given inputs.

Constructor: conditionNode(firstTerm = None, secondTerm = None, colorIfTrue = None, colorIfFalse = None, outColor = None, kwargs)
Return: None
Arguments:
  • firstTerm(str) ; [default: None]
  • secondTerm(str) ; [default: None]
  • colorIfTrue(str) ; [default: None]
  • colorIfFalse(str) ; [default: None]
  • outColor(str) ; [default: None]
  • kwargs
Keyword Arguments:

connectAttrAttempt

Attempt to connect the sourceAttr given to the target attribute passed in.

Constructor: connectAttrAttempt(attrA, nodeAttr)
Return: None
Arguments:
  • attrA
  • nodeAttr
Keyword Arguments:

connectSetAttempt

Attemp to connect the values passed in.
If a failue status was return, attempt a 'setAttr' next.

Constructor: connectSetAttempt(attrA, nodeAttr, valType)
Return: None
Arguments:
  • attrA
  • nodeAttr
  • valType
Keyword Arguments:

decomposeMatrixNode

Create a new multiplyDoubleLinear node using the given inputs.

Constructor: decomposeMatrixNode(inputMatrix = None, outputTranslate = None, outputRotate = None, outputScale = None, kwargs)
Return: None
Arguments:
  • inputMatrix(str) ; [default: None]
  • outputTranslate(str) ; [default: None]
  • outputRotate(str) ; [default: None]
  • outputScale(str) ; [default: None]
  • kwargs
Keyword Arguments:

distBetweenNode

Create a new distanceBetween node using the given inputs.

Constructor: distBetweenNode(inMatrix1 = None, inMatrix2 = None, distance = None, kwargs)
Return: None
Arguments:
  • inMatrix1(str) ; [default: None]
  • inMatrix2(str) ; [default: None]
  • distance(str) ; [default: None]
  • kwargs
Keyword Arguments:

imagePlaneNode

Create a new imagePlane node using the given inputs.

Constructor: imagePlaneNode(camera = None, kwargs)
Return: None
Arguments:
  • camera(str) ; [default: None]
  • kwargs
Keyword Arguments:

inverseMatrixNode

Create a new inverseMatrix node using the given inputs.

Constructor: inverseMatrixNode(inputMatrix = None, outputMatrix = None, kwargs)
Return: None
Arguments:
  • inputMatrix(str) ; [default: None]
  • outputMatrix(str) ; [default: None]
  • kwargs
Keyword Arguments:

mayaConstraint

Create a new constraint node using the given inputs.

Constructor: mayaConstraint(sources = [], target = None, kwargs)
Return: None
Arguments:
  • sources(list) ; [default: []]
  • target(str) ; [default: None]
  • kwargs
Keyword Arguments:

mdNode

Create a new multiply devide node using the given inputs.

Constructor: mdNode(input1 = None, input2 = None, output = None, kwargs)
Return: None
Arguments:
  • input1(str) ; [default: None]
  • input2(str) ; [default: None]
  • output(str) ; [default: None]
  • kwargs
Keyword Arguments:

mdlNode

Create a new multiplyDoubleLinear node using the given inputs.

Constructor: mdlNode(input1 = None, input2 = None, output = None, kwargs)
Return: None
Arguments:
  • input1(str) ; [default: None]
  • input2(str) ; [default: None]
  • output(str) ; [default: None]
  • kwargs
Keyword Arguments:

mnsAnnotateNode

Creates an mnsAnnotateNode node based on specified parameters and outputs.
Input as a node.channel list.

Constructor: mnsAnnotateNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsAutoWheelDriveNode

Creates an mnsAutoWheelDrive node based on specified parameters and outputs.

Constructor: mnsAutoWheelDriveNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsBuildTransformsCurveNode

Creates an mnsBuildTransformsCurveNode node based on specified parameters and outputs.

Constructor: mnsBuildTransformsCurveNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsCameraGateRatioNode

Create a new mnsCameraGateRatio node using the given inputs.

Constructor: mnsCameraGateRatioNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsClosestPointsOnMeshNode

Creates an mnsClosestPointsOnMesh node based on specified parameters and outputs.

Constructor: mnsClosestPointsOnMeshNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsCurveTweakNode

Creates an mnsLipZip node based on specified parameters and outputs.
A 'buildOutputs' parameter is defaulted to True to build output (of a choice of any mnsType).

Constructor: mnsCurveTweakNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsCurveVariableNode

Creates an mnsCurveVariable node based on specified parameters and outputs.

Constructor: mnsCurveVariableNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsCurveZipNode

Creates an mnsPointOnCurve node based on specified parameters and outputs.
A 'buildOutputs' parameter is defaulted to True to build output (of a choice of any mnsType).

Constructor: mnsCurveZipNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsDynamicPivotNode

Constructor: mnsDynamicPivotNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsIKSolver

Create a new mnsIkSolver node using the given inputs.

Constructor: mnsIKSolver(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsLipZipNode

Creates an mnsLipZip node based on specified parameters and outputs.
A 'buildOutputs' parameter is defaulted to True to build output (of a choice of any mnsType).

Constructor: mnsLipZipNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsMatrixConstraintNode

Creates an mnsMatrixConstraintNode node based on specified parameters and outputs.

Constructor: mnsMatrixConstraintNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsNodeRelationshipNode

Create a new mnsNodeRelationship node using the given inputs.

Constructor: mnsNodeRelationshipNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsPointsOnCurveNode

Creates an mnsPointOnCurve node based on specified parameters and outputs.
A 'buildOutputs' parameter is defaulted to True to build output (of a choice of any mnsType).

Constructor: mnsPointsOnCurveNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsQuatBlendNode

Constructor: mnsQuatBlendNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsRemapFloatArrayNode

Create a new mnsRemapFlatArray node using the given inputs.

Constructor: mnsRemapFloatArrayNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsResampleCurveNode

Creates an mnsReampleCurve node based on specified parameters and outputs.

Constructor: mnsResampleCurveNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsSimpleRivetsNode

Creates an mnsClosestPointsOnMesh node based on specified parameters and outputs.

Constructor: mnsSimpleRivetsNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsSimpleSquashNode

Constructor: mnsSimpleSquashNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsSphereRollNode

Creates an mnsSphereRoll node based on specified parameters and outputs.

Constructor: mnsSphereRollNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsSphereVectorPushNode

Creates an mnsSphereVectorPush node based on specified parameters and outputs.

Constructor: mnsSphereVectorPushNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsSpringCurveNode

Creates an mnsSpringCurve node based on specified parameters and outputs.

Constructor: mnsSpringCurveNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsThreePointArcNode

Creates an mnsReampleCurve node based on specified parameters and outputs.

Constructor: mnsThreePointArcNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsTransformSpringNode

Creates an mnsAutoWheelDrive node based on specified parameters and outputs.

Constructor: mnsTransformSpringNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

mnsVolumeJointNode

Creates an mnsClosestPointsOnMesh node based on specified parameters and outputs.

Constructor: mnsVolumeJointNode(kwargs)
Return: None
Arguments:
  • kwargs
Keyword Arguments:

multMatrixNode

Create a new inverseMatrix node using the given inputs.

Constructor: multMatrixNode(inputMatricies = [], outputMatrix = None, kwargs)
Return: None
Arguments:
  • inputMatricies(list) ; [default: []]
  • outputMatrix(str) ; [default: None]
  • kwargs
Keyword Arguments:

pmaNode

Create a new inverseMatrix node using the given inputs.

Constructor: pmaNode(input1Ds = [], input2Ds = [], input3Ds = [], output1D = None, output2D = None, output3D = None, kwargs)
Return: None
Arguments:
  • input1Ds(list) ; [default: []]
  • input2Ds(list) ; [default: []]
  • input3Ds(list) ; [default: []]
  • output1D(str) ; [default: None]
  • output2D(str) ; [default: None]
  • output3D(str) ; [default: None]
  • kwargs
Keyword Arguments:

quatSlerpNode

Create a new quatSlerp node using the given inputs.

Constructor: quatSlerpNode(inputQuatA = None, inputQuatB = None, outputQuat = None, kwargs)
Return: None
Arguments:
  • inputQuatA(str) ; [default: None]
  • inputQuatB(str) ; [default: None]
  • outputQuat(str) ; [default: None]
  • kwargs
Keyword Arguments:

quatToEulerNode

Create a new quatToEuler node using the given inputs.

Constructor: quatToEulerNode(inputQuat = None, outputRotate = None, kwargs)
Return: None
Arguments:
  • inputQuat(str) ; [default: None]
  • outputRotate(str) ; [default: None]
  • kwargs
Keyword Arguments:

reverseCurveNode

Constructor: reverseCurveNode(inputCurve = None, outputCurve = None, kwargs)
Return: None
Arguments:
  • inputCurve(str) ; [default: None]
  • outputCurve(str) ; [default: None]
  • kwargs
Keyword Arguments:
  • side(str) ; [default: center] - side flag
  • body(str) ; [default: reverseCurve] - Node's name body.
  • alpha(str) ; [default: A] - Node's Alpha id
  • id(int) ; [default: 1] - Node's ID
  • incrementAlpha(bool) - Search new node name incrementing Alpha instead of the id if True

reverseNode

Create a new reverse node using the given inputs.

Constructor: reverseNode(inputA = None, output = None, kwargs)
Return: None
Arguments:
  • inputA(str) ; [default: None]
  • output(str) ; [default: None]
  • kwargs
Keyword Arguments:

setAttrAttempt

Attempt to set the passed in value into the attribute passed in.

Constructor: setAttrAttempt(nodeAttr, value, valType)
Return: None
Arguments:
  • nodeAttr
  • value
  • valType
Keyword Arguments:

setRangeNode

Create a new setRange node using the given inputs.

Constructor: setRangeNode(maxIn = [], minIn = [], oldMax = [], oldMin = [], value = [], outValue = [], kwargs)
Return: None
Arguments:
  • maxIn(list) ; [default: []]
  • minIn(list) ; [default: []]
  • oldMax(list) ; [default: []]
  • oldMin(list) ; [default: []]
  • value(list) ; [default: []]
  • outValue(list) ; [default: []]
  • kwargs
Keyword Arguments: