A Python3/PySide2 marking menu style toolkit for Maya, 3ds Max, and Blender.
Project description
tentacle is a Python3/PySide2 marking menu and ui for Maya, 3ds Max, and Blender.
**personal project. work in progress ..**
Design:
This is a dynamic ui toolkit with a marking menu style ui (derived from a QStackedWidget) at it's core. The switchboard module (derived from QUiLoader) provides properties and convenience methods that allow quick and easy getting/setting of relevant ui and widget data across modules.
*Example re-opening the last scene, renaming a material, and selecting geometry by that material.
Structure:
Example | Description |
---|---|
tcl | Handles main gui construction for the marking menu. |
events | Event handling for dynamic ui. |
overlay | Tracks cursor position and ui hierarchy to generate paint events that overlay it's parent widget. |
switchboard | Loads dynamic ui and custom widgets on demand. Assigns properties and provides convenience methods for interacting with the ui. |
slots | Modules for the various slot connections. |
Installation:
To install:
Add the tentacle
folder to a directory on your python path, or
install via pip in a command line window using:
python -m pip install tentacletk
To launch the marking menu: For Maya: Add a macro to a hotkey similar to the following:
from tentacle import tcl_maya
tcl_maya.show(key_show='Key_F12')
For 3ds Max: Add a macro to a hotkey similar to the following:
macroScript main_max
category: "_macros.ui"
silentErrors: false
autoUndoEnabled: false
(
python.Execute "from tentacle import tcl_max"
python.Execute "tcl_max.show(key_show='Key_F12')"
)
See the switchboard
module for a demo on how to launch a stand alone dynamic ui.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tentacletk-0.6.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eaa2451a24e5fd3828dd37ef0f62e244de228170e325b195cf59f35e9e76dc1 |
|
MD5 | 4389681cc58c0d50aaf2237e3db18a4c |
|
BLAKE2b-256 | 202f91247cbf6600a1a438bc7c76f39c536091b885ef478466388b0bae48dc44 |