Skip to main content

A Python3/PySide2 marking menu style toolkit for Maya, 3ds Max, and Blender.

Project description

uitk is a Python3/PySide2 marking menu and ui toolkit 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 the main 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 uitk folder to a directory on your python path, or install via pip in a command line window using:

python -m pip install uitk

To launch the marking menu: For Maya: Add a macro to a hotkey similar to the following:

from uitk 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 uitk 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

uitk-0.5.3.tar.gz (307.3 kB view hashes)

Uploaded Source

Built Distribution

uitk-0.5.3-py3-none-any.whl (468.8 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