Skip to content

splay


Author: Asaf Ben-Zur

Best used for: fingers, bat wings

This is a general module used for splaying behaviour for any slave modules.

This module does not create any joints.

This module's behaviour is matched to the Meta module's splay behaviour, but can be implemented for any slave module.

A control will be created, and it's translation and rotation values will be connected to all input slave guides in the module settings, creating a gradual translation/rotation for all slaves- creating the splay behaviour.

Splay multipliers that can be manipulated will be created as well on the given control.

This module contains the choice of adding another Splay-Mid control, which will be added to the calculation, creating a gradual behaviour from the middle slave outwards in both directions, instead of the top-to-bottom splay that the main control offers.

Make sure to load slaves IN-ORDER to achive correct behaviour.

Valid-Slaves are root-guide and guides only. The slaves will be the direct related controls to these input guides.

Important: The behaviour is a result of a local channel connection. Since the slaves' orientation is unknowen, you need to make sure that this module's orientation matches the target slaves orientation.



Defenitions


construct

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


customGuides

Constructor: customGuides(mansur, builtGuides)
Return: None
Arguments:
  • mansur
  • builtGuides
Keyword Arguments:


filterValidSlaves

Constructor: filterValidSlaves(slavesList = [], mansur = None)
Return: None
Arguments:
  • slavesList(list) ; [default: []]
  • mansur(str) ; [default: None]
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: