Example #1
0
def resetPose(pvp):
    """ Reset everything back to rest

    Parameters
    ----------
    pvp : [(str, float), ...]
        A list of property/value pairs
    """
    for prop, val in pvp:
        xsi.setValue(prop, 0)
Example #2
0
def setPose(pvp, multiplier):
    """ Set a percentage of a pose

    Parameters
    ----------
    pvp : [(str, float), ...]
        A list of property/value pairs
    multiplier : float
        The percentage multiplier of the pose
    """
    for prop, val in pvp:
        xsi.setValue(prop, val * multiplier)
Example #3
0
def resetPose(pvp):
	''' reset everything back to rest '''
	for prop, val in pvp:
		xsi.setValue(prop, 0)
Example #4
0
def setPose(pvp, multiplier):
	''' Set a percentage of a pose '''
	for prop, val in pvp:
		xsi.setValue(prop, val * multiplier)