Skip to content

mnsSpringTool


=== Author: Assaf Ben Zur ===



Classes


MnsGradientWidget [Class]

Constructor: MnsGradientWidget(parent(str) ; [default: None])
Inherits from: QtWidgets.QWidget
Class Members:
    • initialized
    • currentSpringNodes
    • refSpringNode
    • attrName
    • origValues
Methods:

MnsGradientWidget methods


gatherCurrentValues [MnsGradientWidget class method]

Constructor: gatherCurrentValues(self)
Return: None
Arguments:
  • self
Optional Arguments:

paintEvent [MnsGradientWidget class method]

Constructor: paintEvent(self, event)
Return: None
Arguments:
  • self
  • event
Optional Arguments:


MnsSpringTool [Class]

Spring Tool UI Class.


Constructor: MnsSpringTool(parent(str) ; [default: mnsUIUtils.get_maya_window()])
Inherits from: form_class, base_class
Class Members:
    • rigTops
    • rigTop
    • puppetRoot
    • namespace
    • springNodes
    • springNodesByIndex
    • currentSpringNodes
    • drawType
    • stifGradCtrl
    • dampingGradCtrl
Methods:

MnsSpringTool methods


collectSpringNodes [MnsSpringTool class method]

Constructor: collectSpringNodes(self)
Return: None
Arguments:
  • self
Optional Arguments:

connectSignals [MnsSpringTool class method]


Connect all UI Signals.

Constructor: connectSignals(self)
Return: None
Arguments:
  • self
Optional Arguments:

drawCommonAttrsToUi [MnsSpringTool class method]

Constructor: drawCommonAttrsToUi(self)
Return: None
Arguments:
  • self
Optional Arguments:

drawCurveSpringNodeToUI [MnsSpringTool class method]

Constructor: drawCurveSpringNodeToUI(self)
Return: None
Arguments:
  • self
Optional Arguments:

drawTransformSpringNodeToUI [MnsSpringTool class method]

Constructor: drawTransformSpringNodeToUI(self)
Return: None
Arguments:
  • self
Optional Arguments:

filterView [MnsSpringTool class method]

Constructor: filterView(self)
Return: None
Arguments:
  • self
Optional Arguments:

getCurrentSpringNodes [MnsSpringTool class method]

Constructor: getCurrentSpringNodes(self)
Return: None
Arguments:
  • self
Optional Arguments:

getGradientControl [MnsSpringTool class method]

Constructor: getGradientControl(self, attr = None)
Return: None
Arguments:
  • self
  • attr(str) ; [default: None]
Optional Arguments:

initializeData [MnsSpringTool class method]

Constructor: initializeData(self)
Return: None
Arguments:
  • self
Optional Arguments:

initializeSprings [MnsSpringTool class method]

Constructor: initializeSprings(self)
Return: None
Arguments:
  • self
Optional Arguments:

initializeView [MnsSpringTool class method]

Constructor: initializeView(self)
Return: None
Arguments:
  • self
Optional Arguments:

loadWindow [MnsSpringTool class method]


Show window method.

Constructor: loadWindow(self)
Return: None
Arguments:
  • self
Optional Arguments:

setRigTop [MnsSpringTool class method]

Constructor: setRigTop(self)
Return: None
Arguments:
  • self
Optional Arguments:

setSpringNode [MnsSpringTool class method]

Constructor: setSpringNode(self)
Return: None
Arguments:
  • self
Optional Arguments:

setValueTrigger [MnsSpringTool class method]

Constructor: setValueTrigger(self, attr, value)
Return: None
Arguments:
  • self
  • attr
  • value
Optional Arguments:


Defenitions


loadSpringTool

Load the Def Serach UI from globals, avoid UI duplication.


Constructor: loadSpringTool()
Return: None
Arguments:
Keyword Arguments: