Tool activation commands like Softimage style (sticky/supra mode) for Autodesk Maya
Emulate softimage's Sticky mode
and Supra mode
accessing tools way.
more info please see Softimage docs Using Shortcut Keys to Activate Tools
section.
supports maya2013 (or higher) Windows only
- Download Source code (zip) this repository and extract .zip to (e.g. C:\someplace\MayaStickySupraTool)
- Edit maya.env and append to MAYA_MODULE_PATH this module like below
MAYA_MODULE_PATH=C:\someplace\MayaStickySupraTool
or
MAYA_MODULE_PATH=some\great\module;C:\someplace\MayaStickySupraTool
-
Assign shortcut key via hotkey editor
Commands exists in
CustomScripts > SI style tool
section
- Scale tool
- Rotate tool
- Move tool
- Pan tool
- Orbit tool
- Dolly tool
- Select tool ( I recommend use this with lock selection button.)
- Lasso Select tool
- Paint select tool
- Next frame
- Prev frame
- Next key
- Prev key
To customize sensibility of commands, edit env vars in StickySupraTool.mod
the default value that is shared by all tools
STICKY_SUPRA_DEFAULT_POLLING=0.066
STICKY_SUPRA_DEFAULT_THRESHOLD=0.25
or each tools like below
NEXT_FRAME_POLLING=0.0083
NEXT_FRAME_THRESHOLD=0.15
TOOL_NAME_[POLLING|THRESHOLD]
- TOOL_NAME
- is the class of the executed command, delemitted underscore and uppercase
- POLLING
- means the interval of the detecting key event and fire while key press event
- THRESHOLD
- means the threshold between short press and long press
To create command class
- derive StickySupraTool class
- add register runtime command opt at integration/maya/userSetup.py
Extending this may cause maya into very unstable, thus using this with tough heart that isn't broken when maya crash is highly recommended. Please read AUTODESK MAYA help Python and threading.