Skip to main content

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.

alt text *Example re-opening the last scene, renaming a material, and selecting geometry by that material.


Structure:

alt text

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tentacletk-0.6.2.tar.gz (237.1 kB view hashes)

Uploaded Source

Built Distribution

tentacletk-0.6.2-py3-none-any.whl (314.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page