Skip to content

remoteControl


Author: Asaf Ben-Zur

Best used for: Blend Shape Targets, Facial-Remotes, General Extra-Setups

This moudle, upon construction, will create a remote-control style control.

It will create a frame, with a control within, limited to that frame.

The frame range is dictated by the settings below.

Use the min-max values for both vertical and horizontal directions to create the remote that best fitting to your needs.

You can freely use both vertical and horizontal directions in combination.

This type of control is often seen when creating a blend-shape-based facial rig, with an adjacent remote control to easily and visually animate the targets instead of using the channel box directly.

Also, you can control the target value range for your control.

That means that the control and target ranges can differ.

For example, a blend shape target with values between 0 and 1 is needed to be controlled.

You can set the control range between 0 and 5, while keeping the target range between 0 and 1, which will result in a slower behaving control for more fidelity.

The target connection is handled post-construction so connecting to constructed objects is also possible.

Multiple targets can be input into the same target. Simply select multiple targets and input. Alternatively manually input the targets, separated by commas.

Module build assumptions/requisites:

  • targetMin < targetMax

  • rangeMin < rangeMax

  • A target can be shared within a direction minimum and maximum

  • Output ranges between 0.0 and TargetMax given 0.0 and range Max

  • Output ranges between 0.0 and TargetMin given 0.0 and range Min

  • AKA the module assumes 0.0 as a default value for both input range and target range



Defenitions


construct

Constructor: construct(mansur, MnsBuildModule, **kwargs)
Return: list (controls), dict (internalSpaces)
Arguments:
  • mansur
  • MnsBuildModule
  • **kwargs
Keyword Arguments:


jointStructure

Constructor: jointStructure(mansur, guides, mnsBuildModule = None, **kwargs)
Return: None
Arguments:
  • mansur
  • guides
  • mnsBuildModule(str) ; [default: None]
  • **kwargs
Keyword Arguments:


postConstruct

Constructor: postConstruct(mansur, MnsBuildModule, **kwargs)
Return: None
Arguments:
  • mansur
  • MnsBuildModule
  • **kwargs
Keyword Arguments: