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: |
|
Keyword Arguments: |
adlNode
Create a new addDoubleLinear node using the given inputs.
Constructor: | adlNode(input1 = None, input2 = None, output = None, **kwargs) |
Return: | MnsNameStd (addDoubleLinear node) |
Arguments: |
- input1(str) ; [default: None]
- input2(str) ; [default: None]
- output(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: addDoubleLinear] - 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
|
angleBetweenNode
Creates an angleBetween node based on specified parameters and outputs.
Constructor: | angleBetweenNode(**kwargs) |
Return: | None |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: angleBetween] - 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
- vector1(str) ; [default: None]
- vector2(str) ; [default: None]
- angle(str) ; [default: None]
|
blendColorsNode
Create a new multiply devide node using the given inputs.
Constructor: | blendColorsNode(color1 = None, color2 = None, blender = None, output = None, **kwargs) |
Return: | MnsNameStd (MultiplyDevide node) |
Arguments: |
- color1(str) ; [default: None]
- color2(str) ; [default: None]
- blender(str) ; [default: None]
- output(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: multDev] - Node's name body.
- alpha(str) ; [default: A] - Node's Alpha id
- id(int) ; [default: 1] - Node's ID
- operation(int) ; [default: 1]
- incrementAlpha(bool) - Search new node name incrementing Alpha instead of the id if True
|
buildGeoAxisVis
Utility aid function:
Creates a Axis-Vis geometry object based on parameters
Constructor: | buildGeoAxisVis(**kwargs) |
Return: | MnsNameStd (created vis-geo object) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: pointsOnCurve] - 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
- scale(int) ; [default: 1] - Relative to parent
- axisSubdevision(int) ; [default: 16] - Geometry cylinder axis subdevision
- cylinderWidth(float) ; [default: 0.015]
- deleteAll(bool) - If true, do not attempt to create any objects- instead look for any existing objects and delete them
|
buildGeoAxisVisForParents
Utility aid function.
Created an Axis-Vis geometry object from each object within the list passed in.
Constructor: | buildGeoAxisVisForParents(**kwargs) |
Return: | dict ('visGeoObjs': visGeoMnsNameStdArray, 'visGeoObjsNodes': visGeoNodeArray) |
Arguments: |
|
Keyword Arguments: |
- parentObjs(list) ; [default: [' ']] - If parent is empty, visGeo will not build
- parentMethod(int)
- scale(int) ; [default: 1] - Relative to parent
- axisSubdevision(int) ; [default: 16] - Geometry cylinder axis subdevision
- cylinderWidth(float) ; [default: 0.015]
- createNodeRelationship(bool) ; [default: True]
|
buildVisCubesForPSOCNode
Single use function.
From a given MnsPointsOnCurve node, create output 'visCubes'.
Constructor: | buildVisCubesForPSOCNode(node = "", **kwargs) |
Return: | dict ('visCubesStds': output MnsNameStd list, 'nodes': output node list ) |
Arguments: |
- node(str) ; [default: ""]
- **kwargs
|
Keyword Arguments: |
- gapWidth(float) ; [default: 0.1]
|
choiceNode
Create a new choice node using the given inputs.
Constructor: | choiceNode(inputs = [], output = None, **kwargs) |
Return: | MnsNameStd (choice node) |
Arguments: |
- inputs(list) ; [default: []]
- output(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: choice] - 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
|
clampNode
Create a new clamp node using the given inputs.
Constructor: | clampNode(inputA = [], maxA = [], minA = [], output = [], **kwargs) |
Return: | MnsNameStd (reverse node) |
Arguments: |
- inputA(list) ; [default: []]
- maxA(list) ; [default: []]
- minA(list) ; [default: []]
- output(list) ; [default: []]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: clamp] - 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
|
conditionNode
Create a new condition node using the given inputs.
Constructor: | conditionNode(firstTerm = None, secondTerm = None, colorIfTrue = None, colorIfFalse = None, outColor = None, **kwargs) |
Return: | MnsNameStd (condition node) |
Arguments: |
- firstTerm(str) ; [default: None]
- secondTerm(str) ; [default: None]
- colorIfTrue(str) ; [default: None]
- colorIfFalse(str) ; [default: None]
- outColor(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: condition] - Node's name body.
- alpha(str) ; [default: A] - Node's Alpha id
- id(int) ; [default: 1] - Node's ID
- operation(int)
- incrementAlpha(bool) - Search new node name incrementing Alpha instead of the id if True
|
connectAttrAttempt
Attempt to connect the sourceAttr given to the target attribute passed in.
Constructor: | connectAttrAttempt(attrA, nodeAttr) |
Return: | bool (sucess status) |
Arguments: |
|
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: | bool (sucess status) |
Arguments: |
|
Keyword Arguments: |
decomposeMatrixNode
Create a new multiplyDoubleLinear node using the given inputs.
Constructor: | decomposeMatrixNode(inputMatrix = None, outputTranslate = None, outputRotate = None, outputScale = None, **kwargs) |
Return: | MnsNameStd (multiplyDoubleLinear node) |
Arguments: |
- inputMatrix(str) ; [default: None]
- outputTranslate(str) ; [default: None]
- outputRotate(str) ; [default: None]
- outputScale(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: decomposeMatrix] - 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
|
distBetweenNode
Create a new distanceBetween node using the given inputs.
Constructor: | distBetweenNode(inMatrix1 = None, inMatrix2 = None, distance = None, **kwargs) |
Return: | MnsNameStd (distance between node) |
Arguments: |
- inMatrix1(str) ; [default: None]
- inMatrix2(str) ; [default: None]
- distance(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: distBetween] - Node's name body.
- alpha(str) ; [default: A] - Node's Alpha id
- id(int) ; [default: 1] - Node's ID
- operation(int)
- incrementAlpha(bool) - Search new node name incrementing Alpha instead of the id if True
|
imagePlaneNode
Create a new imagePlane node using the given inputs.
Constructor: | imagePlaneNode(camera = None, **kwargs) |
Return: | MnsNameStd (imagePlane node) |
Arguments: |
- camera(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: imagePlane] - 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
|
inverseMatrixNode
Create a new inverseMatrix node using the given inputs.
Constructor: | inverseMatrixNode(inputMatrix = None, outputMatrix = None, **kwargs) |
Return: | MnsNameStd (inverseMatrix node) |
Arguments: |
- inputMatrix(str) ; [default: None]
- outputMatrix(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: choice] - 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
|
mayaConstraint
Create a new constraint node using the given inputs.
Constructor: | mayaConstraint(sources = [], target = None, **kwargs) |
Return: | MnsNameStd (constraint node) |
Arguments: |
- sources(list) ; [default: []]
- target(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- type(str) ; [default: parent] - side flag
- side(str) ; [default: center] - side flag
- body(str) ; [default: cnsType+Constraint] - 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
- maintainOffset(bool) - Node's maintainOffset attribute
- aimVector(list) ; [default: [' [0.0', '1.0', '0.0']]
- upVector(list) ; [default: [' [1.0', '0.0', '0.0']]
- worldUpType(str) ; [default: object]
- worldUpObject(str) ; [default: None]
|
mdNode
Create a new multiply devide node using the given inputs.
Constructor: | mdNode(input1 = None, input2 = None, output = None, **kwargs) |
Return: | MnsNameStd (MultiplyDevide node) |
Arguments: |
- input1(str) ; [default: None]
- input2(str) ; [default: None]
- output(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: multDev] - Node's name body.
- alpha(str) ; [default: A] - Node's Alpha id
- id(int) ; [default: 1] - Node's ID
- operation(int) ; [default: 1]
- incrementAlpha(bool) - Search new node name incrementing Alpha instead of the id if True
|
mdlNode
Create a new multiplyDoubleLinear node using the given inputs.
Constructor: | mdlNode(input1 = None, input2 = None, output = None, **kwargs) |
Return: | MnsNameStd (multiplyDoubleLinear node) |
Arguments: |
- input1(str) ; [default: None]
- input2(str) ; [default: None]
- output(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: multDoubleLinear] - 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
|
mnsAnnotateNode
Creates an mnsAnnotateNode node based on specified parameters and outputs.
Input as a node.channel list.
Constructor: | mnsAnnotateNode(**kwargs) |
Return: | dict ('node': MnsNameStd) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: annotate] - 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
- attributes(list) ; [default: [' ']]
- nameOnlyMode(bool)
|
mnsAutoWheelDriveNode
Creates an mnsAutoWheelDrive node based on specified parameters and outputs.
Constructor: | mnsAutoWheelDriveNode(**kwargs) |
Return: | None |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: autoWheelDrive] - 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
- wheelDiameter(float) ; [default: 10.0]
- speedMultiplier(float) ; [default: 1.0]
- outRotation(str) ; [default: None]
- connectTime(bool) ; [default: True]
|
Creates an mnsBuildTransformsCurveNode node based on specified parameters and outputs.
Constructor: | mnsBuildTransformsCurveNode(**kwargs) |
Return: | dict ('transforms': input transforms list, 'outCurve': built output curve MnsNameStd, 'outOffsetCurve': built output up-curve MnsNameStd, 'node': Created node MnsNameStd) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: buildTransformsCurveCurve] - 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
- transforms(list) ; [default: [' ']] - transforms to build the curve from
- buildOffsetCurve(bool) - Node's 'buildOffsetCurve' attribute
- offsetCurveSuffix(str) ; [default: Up] - Up curve creation name body suffix
- buildMode(int) - Node's buildMode attribute
- tangentDirection(int) ; [default: 1] - Node's tangentDirection attribute
- tangentLength(float) ; [default: 1.0] - Node's tangentLength attribute
- hermiteSteps(int) ; [default: 5] - Node's hermiteSteps attribute
- degree(int) ; [default: 3] - Node's degree attribute
- form(int) - curve form attribute. Periodic will result in a closed shape.
- offsetType(int) - Node's offsetType attribute
- offsetX(float) - Node's offsetX attribute
- offsetY(float) - Node's offsetY attribute
- offsetZ(float) - Node's offsetZ attribute
- reverse(bool) - Node's reverse attribute
|
mnsCameraGateRatioNode
Create a new mnsCameraGateRatio node using the given inputs.
Constructor: | mnsCameraGateRatioNode(**kwargs) |
Return: | MnsNameStd (mnsCameraGateRatio node) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: cameraGateRatio] - 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
- camera(str)
- widthInput(str)
- heightInput(str)
|
mnsClosestPointsOnMeshNode
Creates an mnsClosestPointsOnMesh node based on specified parameters and outputs.
Constructor: | mnsClosestPointsOnMeshNode(**kwargs) |
Return: | dict ('node': Created node MnsNameStd) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: closestPointsOnMesh] - 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
- inputMesh(str) ; [default: None]
- inputTransforms(list) ; [default: [' ']]
- outputTransforms(list) ; [default: [' ']]
|
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: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: curveTweak] - 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
- buildOffsetCurve(bool)
- tweakOffset(bool)
- offset(float)
- offsetBaseMatrix(str) ; [default: None]
|
mnsCurveVariableNode
Creates an mnsCurveVariable node based on specified parameters and outputs.
Constructor: | mnsCurveVariableNode(**kwargs) |
Return: | dict ('node': MnsNameStd) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: curveVariable] - 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
- inputCurve(str) - name of the curve object to connect as input curve into the node. Setting as nothing or an invalid name will result in nothing connected
- inputUpCurve(str) - name of the up-curve object to connect as input up-curve into the node. Setting as nothing or an invalid name will result in nothing connected
- offsetCurveSuffix(str) ; [default: Up] - Up curve creation name body suffix
- inTransforms(list) ; [default: [' ']] - array of object to plug into the input array plug
- outOffsetTransforms(list) ; [default: [' ']]
- upMode(int) ; [default: 1] - Node's 'upMode' attribute
- aimAxis(int) - Node's 'aimAxis' attribute
- upAxis(int) ; [default: 1] - Node's 'upAxis' attribute
- connectTranslate(bool) ; [default: True] - Translate connect to the outputs if True
- connectRotate(bool) ; [default: True] - Rotate connect to the outputs if True
- offsetX(float) ; [default: 10.0] - Node's offsetX attribute
- offsetY(float) - Node's offsetY attribute
- offsetZ(float) - Node's offsetZ attribute
- substeps(int) ; [default: 20]
- degree(int) ; [default: 3]
- buildMode(int) ; [default: 1]
- translateMode(int)
- defaultFalloff(float) ; [default: 0.5]
- defaultStregth(float) ; [default: 1.0]
- offsetType(int)
|
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: |
|
Keyword Arguments: |
- type(str) ; [default: mnsCurveZip]
- side(str) ; [default: center] - side flag
- body(str) ; [default: pointsOnCurve] - 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
- substeps(int) ; [default: 30]
- sampleMode(int)
- buildMode(int)
- degree(int) ; [default: 3]
- upCurveOffset(float) ; [default: 1.0] - Node's offsetX attribute
- aroundCenter(bool) ; [default: True]
- conformToMeetPoint(bool) ; [default: True]
- curveToConform(int)
- conformDistancethreshold(float) ; [default: 0.2]
- midGenerateFrom(int)
|
mnsDynamicPivotNode
Constructor: | mnsDynamicPivotNode(**kwargs) |
Return: | MnsNameStd (MnsDynamicPivot node) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: springCurve] - 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
- distRateMultiplier(float) ; [default: 1.0]
- mapRotXTo(int) ; [default: 2]
- mapRotYTo(int) ; [default: 6]
- mapRotZTo(int) ; [default: 3]
- originWorldMatrix(str) ; [default: None]
- targetParentInverseMatrix(str) ; [default: None]
- inputCurve(str) - name of the curve object to connect as input curve into the node. Setting as nothing or an invalid name will result in nothing connected
- rotate(str) ; [default: None]
- rotatePivot(str) ; [default: None]
|
mnsIKSolver
Create a new mnsIkSolver node using the given inputs.
Constructor: | mnsIKSolver(**kwargs) |
Return: | MnsNameStd (mnsIkSolver node) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: ikSolver] - 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
- blend(float)
- roll(float)
- slide(float)
- softness(float)
- stretchLimit(float) ; [default: 1.0]
- aimAxis(int) ; [default: 1] - Node's 'aimAxis' attribute
- upAxis(int) ; [default: 2] - Node's 'upAxis' attribute
- boneLengthA(float) ; [default: 1.0]
- boneLengthB(float) ; [default: 1.0]
- restHandleLength(float) ; [default: 1.0]
- rootPos(str)
- midPos(str)
- endPos(str)
- limbRoot(str)
- ikHandle(str)
- poleVector(str)
- fkRoot(str)
- fkMid(str)
- fkEnd(str)
- outputRoot(str)
- outputMid(str)
- outputEnd(str)
|
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: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: pointsOnCurve] - 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
- substeps(int) ; [default: 30]
- sampleMode(int)
- buildMode(int)
- degree(int) ; [default: 3]
- upCurveOffset(float) ; [default: 1.0] - Node's offsetX attribute
- aroundCenter(bool)
- conformToMeetPoint(bool)
- curveToConform(int)
- conformDistancethreshold(float) ; [default: 0.2]
- midGenerateFrom(int)
|
mnsMatrixConstraintNode
Creates an mnsMatrixConstraintNode node based on specified parameters and outputs.
Constructor: | mnsMatrixConstraintNode(**kwargs) |
Return: | dict ('nameStds': Created MnsNameStd list) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: matrixConstraint] - 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
- targets(list) ; [default: [' ']] - Tragets to constrain
- sources(list) ; [default: [' ']] - Sources to constrain the targets to
- maintainOffset(bool) - Node's maintainOffset attribute
- connectTranslate(bool) ; [default: True] - Connect Translate if True
- connectRotate(bool) ; [default: True] - Connect Rotate if True
- connectScale(bool) ; [default: True] - Connect Scale if True
- connectShear(str) ; [default: connectScale] - Connect shear if True
|
mnsNodeRelationshipNode
Create a new mnsNodeRelationship node using the given inputs.
Constructor: | mnsNodeRelationshipNode(**kwargs) |
Return: | MnsNameStd (mnsNodeRelationship node) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: nodeRelationship] - Node's name body.
- alpha(str) ; [default: A] - Node's Alpha id
- id(int) ; [default: 1] - Node's ID
- connectDeleteSlavesOnly(bool)
- incrementAlpha(bool) - Search new node name incrementing Alpha instead of the id if True
- master(str) ; [default: None]
- slaves(list) ; [default: [' ']]
|
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: | dict ('node': MnsNameStd, 'samplesSTDs': output MnsNameStd list, 'samples': output node list) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: pointsOnCurve] - 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
- inputCurve(str) - name of the curve object to connect as input curve into the node. Setting as nothing or an invalid name will result in nothing connected
- inputUpCurve(str) - name of the up-curve object to connect as input up-curve into the node. Setting as nothing or an invalid name will result in nothing connected
- transforms(list) ; [default: [' ']] - array of object to output to
- buildMode(int) - Node's build mode attribute
- numOutputs(int) ; [default: 10] - set the number of outputs or samples to be outputed from the node
- doRotate(bool) ; [default: True] - Node's 'doRotate' attribute
- rotateMode(int) - Node's 'rotateMode' attribute
- upMode(int) ; [default: 1] - Node's 'upMode' attribute
- aimAxis(int) - Node's 'aimAxis' attribute
- upAxis(int) ; [default: 1] - Node's 'upAxis' attribute
- doScale(bool) ; [default: True] - Node's 'doScale' attribute
- doSpring(bool) - Node's 'doSpring' attribute
- connectTranslate(bool) ; [default: True] - Translate connect to the outputs if True
- connectRotate(bool) ; [default: True] - Rotate connect to the outputs if True
- connectChildrenRotate(bool) - In case this attribute is set to True, along side connectRotate attribute, the indevidual rotation child attributes will be connected instead of the main compound rotate attribute
- connectScale(bool) ; [default: True] - Scale connect to the outputs if True
- buildOutputs(bool) ; [default: True] - in case output array is empty or invalid, build outpus as outputbuildType and outputBuildName
- outputBuildSuffix(str) ; [default: OutSample] - suffix fom built outputs, if chosen to build
- buildType(int) - if buildOutputs is executing, build based on this type.
- buildVisGeo(bool) - build axisVisGeo for the samples (debug mode)
- buildVisCubes(bool) - build axisVisGeo for the samples (debug mode)
- customPointsUpMode(int) ; [default: 1]
- isolatePolesTranlation(bool)
- isolatePolesRotation(bool)
- isolatePolesScale(bool)
- baseAlternateWorldMatrix(str) ; [default: None]
- tipAlternateWorldMatrix(str) ; [default: None]
|
mnsPoseBlendNode
Constructor: | mnsPoseBlendNode(**kwargs) |
Return: | MnsNameStd (quatBlend node) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: poseBlend] - 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
|
mnsQuatBlendNode
Constructor: | mnsQuatBlendNode(**kwargs) |
Return: | MnsNameStd (quatBlend node) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: quaternionBlend] - 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
|
mnsRemapFloatArrayNode
Create a new mnsRemapFlatArray node using the given inputs.
Constructor: | mnsRemapFloatArrayNode(**kwargs) |
Return: | MnsNameStd (mnsRemapFloatArray node) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: remapFloatArray] - Node's name body.
- alpha(str) ; [default: A] - Node's Alpha id
- id(int) ; [default: 1] - Node's ID
- operation(int)
- incrementAlpha(bool) - Search new node name incrementing Alpha instead of the id if True
- value(str)
- outputCount(int) ; [default: 1]
- angleOutputAsDegrees(bool)
- remapToRnage(bool)
- min(float)
- max(float) ; [default: 1.0]
- oldMin(float)
- oldMax(float) ; [default: 1.0]
- outValues(list) ; [default: [' ']]
|
mnsResampleCurveNode
Creates an mnsReampleCurve node based on specified parameters and outputs.
Constructor: | mnsResampleCurveNode(**kwargs) |
Return: | dict ('node': Created node MnsNameStd) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: resampleCurve] - 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
- resampleMode(int) - Node's sample Mode
- degree(int) ; [default: 3] - Output curve degree
- sections(int) ; [default: 8] - Output curve number of sections
- inputCurve(str) - name of the curve object to connect as input curve into the node. Setting as nothing or an invalid name will result in nothing connected
|
mnsSimpleRivetsNode
Creates an mnsClosestPointsOnMesh node based on specified parameters and outputs.
Constructor: | mnsSimpleRivetsNode(**kwargs) |
Return: | MnsNameStd |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: simpleRivets] - 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
- inputMesh(str) ; [default: None]
|
mnsSimpleSquashNode
Constructor: | mnsSimpleSquashNode(**kwargs) |
Return: | MnsNameStd (MnsDynamicPivot node) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: springCurve] - 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
- globalScale(float) ; [default: 1.0]
- squashFactor(float) ; [default: 1.0]
- squashMin(float) ; [default: 0.001]
- squashMax(float) ; [default: 10.0]
- stretchFactor(float) ; [default: 1.0]
- stretchMin(float) ; [default: 0.001]
- stretchMax(float) ; [default: 10.0]
- squashRootWorldMatrix(str) ; [default: None]
- handleWorldMatrix(str) ; [default: None]
- scale(str) ; [default: None]
|
mnsSphereRollNode
Creates an mnsSphereRoll node based on specified parameters and outputs.
Constructor: | mnsSphereRollNode(**kwargs) |
Return: | None |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: sphereRoll] - 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
- sphereRadius(float) ; [default: 10.0]
- speedMultiplier(float) ; [default: 1.0]
- outRotation(str) ; [default: None]
- connectTime(bool) ; [default: True]
|
mnsSphereVectorPushNode
Creates an mnsSphereVectorPush node based on specified parameters and outputs.
Constructor: | mnsSphereVectorPushNode(**kwargs) |
Return: | MnsNameStd |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: sphereVectorPush] - 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
- inputMesh(str) ; [default: None]
- colliderTransform(str) ; [default: None]
- collideRadius(float) ; [default: 1.0]
- collideMethod(int) ; [default: 1]
- thicknessCollide(bool)
- thicknessThreshold(float)
- attrHost(str) ; [default: None]
|
mnsSpringCurveNode
Creates an mnsSpringCurve node based on specified parameters and outputs.
Constructor: | mnsSpringCurveNode(**kwargs) |
Return: | dict ('node': MnsNameStd) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: springCurve] - 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
- inputCurve(str) - name of the curve object to connect as input curve into the node. Setting as nothing or an invalid name will result in nothing connected
- inputUpCurve(str) - name of the up-curve object to connect as input up-curve into the node. Setting as nothing or an invalid name will result in nothing connected
- connectTime(bool) ; [default: True]
- startFrame(int) ; [default: 1]
- startFrameFromRange(bool) ; [default: True]
- strength(float) ; [default: 1.0]
- preventStretching(bool) ; [default: True]
- deleteCurveObjects(bool)
- offsetCurveSuffix(str) ; [default: Up]
- attributeHost(str) ; [default: None]
- strengthDefault(float) ; [default: 1.0]
|
mnsThreePointArcNode
Creates an mnsReampleCurve node based on specified parameters and outputs.
Constructor: | mnsThreePointArcNode(**kwargs) |
Return: | dict ('node': Created node MnsNameStd) |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: threePointArc] - 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
- resampleMode(int) - Node's sample Mode
- degree(int) ; [default: 3] - Output curve degree
- sections(int) ; [default: 8] - Output curve number of sections
- conformMidPoint(bool) ; [default: True] - conform to mid point flag
- collinearAction(int)
- blend(float)
- inputCurve(str) - name of the curve object to connect as input curve into the node. Setting as nothing or an invalid name will result in nothing connected
- inputUpCurve(str) - name of the curve object to connect as input offset curve into the node. Setting as nothing or an invalid name will result in nothing connected
|
Creates an mnsAutoWheelDrive node based on specified parameters and outputs.
Constructor: | mnsTransformSpringNode(**kwargs) |
Return: | None |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: transformSpring] - 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
- strength(float) ; [default: 1.0]
- damping(float) ; [default: 0.5]
- stiffness(float) ; [default: 0.5]
- outTranslate(str) ; [default: None]
- connectTime(bool) ; [default: True]
|
mnsVolumeJointNode
Creates an mnsClosestPointsOnMesh node based on specified parameters and outputs.
Constructor: | mnsVolumeJointNode(**kwargs) |
Return: | MnsNameStd |
Arguments: |
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: volumeJoint] - 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
- parentJoint(str) ; [default: None]
- childJoint(str) ; [default: None]
|
multMatrixNode
Create a new inverseMatrix node using the given inputs.
Constructor: | multMatrixNode(inputMatricies = [], outputMatrix = None, **kwargs) |
Return: | MnsNameStd (multMatrix node) |
Arguments: |
- inputMatricies(list) ; [default: []]
- outputMatrix(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: multiplyMatrix] - 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
|
pmaNode
Create a new inverseMatrix node using the given inputs.
Constructor: | pmaNode(input1Ds = [], input2Ds = [], input3Ds = [], output1D = None, output2D = None, output3D = None, **kwargs) |
Return: | MnsNameStd (plusMinusAverage node) |
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: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: pma] - 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
- operation(int) ; [default: 1]
|
quatSlerpNode
Create a new quatSlerp node using the given inputs.
Constructor: | quatSlerpNode(inputQuatA = None, inputQuatB = None, outputQuat = None, **kwargs) |
Return: | MnsNameStd (quatSlerp node) |
Arguments: |
- inputQuatA(str) ; [default: None]
- inputQuatB(str) ; [default: None]
- outputQuat(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: quatSlerp] - 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
|
quatToEulerNode
Create a new quatToEuler node using the given inputs.
Constructor: | quatToEulerNode(inputQuat = None, outputRotate = None, **kwargs) |
Return: | MnsNameStd (quatSlerp node) |
Arguments: |
- inputQuat(str) ; [default: None]
- outputRotate(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: quatToEuler] - 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
|
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: | MnsNameStd (reverse node) |
Arguments: |
- inputA(str) ; [default: None]
- output(str) ; [default: None]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: reverse] - 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
|
setAttrAttempt
Attempt to set the passed in value into the attribute passed in.
Constructor: | setAttrAttempt(nodeAttr, value, valType) |
Return: | bool (sucess status) |
Arguments: |
|
Keyword Arguments: |
setRangeNode
Create a new setRange node using the given inputs.
Constructor: | setRangeNode(maxIn = [], minIn = [], oldMax = [], oldMin = [], value = [], outValue = [], **kwargs) |
Return: | MnsNameStd (setRange node) |
Arguments: |
- maxIn(list) ; [default: []]
- minIn(list) ; [default: []]
- oldMax(list) ; [default: []]
- oldMin(list) ; [default: []]
- value(list) ; [default: []]
- outValue(list) ; [default: []]
- **kwargs
|
Keyword Arguments: |
- side(str) ; [default: center] - side flag
- body(str) ; [default: setRange] - 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
|