No project description provided
Project description
Tentacle: A Python3/qtpy Marking Menu
Tentacle is a Python3/qtpy marking menu implemented using Qt's QStackedWidget. It is designed for use with Maya, 3ds Max, Blender, and any other DCC app that supports qtpy. In it's current implementation, it only has slots set up for Maya 2025.
Design
Tentacle runs on top of uitk, a qtpy dynamic UI loader, which allows for the creation of fully-featured UI with less time and code.
Example
The following example demonstrates re-opening the last scene, renaming a material, and selecting geometry by that material.
Structure
The structure of the project is as follows:
| Module | Description |
|---|---|
| tcl | Handles main GUI construction for the marking menu. |
| overlay | Tracks cursor position and UI hierarchy to generate paint events that overlay its parent widget. |
| ui | Location of the dynamic UI files. |
| slots | Location of the various slot modules. |
Installation
Tentacle can be installed either using pip directly in the command line or by downloading and running mayapy package manager in Windows.
Installation via pip
Install via pip in a command line window using:
path/to/mayapy.exe -m pip install tentacletk
Installation Using Mayapy Package Manager
Alternatively, you can use the mayapy package manager for a streamlined installation process.
Download the mayapy package manager from here. (Give your Maya version. Hit 1 to install package. The package name is tentacletk)
Usage
To launch the marking menu:
For Maya, add the following to your userSetup.py:
import pymel.core as pm
def start_tentacle():
from tentacle.tcl_maya import TclMaya
TclMaya(key_show='F12') # Change 'F12' to match your chosen hotkey.
pm.evalDeferred(start_tentacle)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tentacletk-0.9.42.tar.gz.
File metadata
- Download URL: tentacletk-0.9.42.tar.gz
- Upload date:
- Size: 152.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0a91f440760d3399ba5fa00fa1de5f664be649ce1353d7c40557000be88455d
|
|
| MD5 |
8bee984f52cde70ed34106e3e93602b0
|
|
| BLAKE2b-256 |
92fd7f03cfcc09d3bc011f44c8e351130d7353933e4534d6fcd0ad1af4490fac
|
File details
Details for the file tentacletk-0.9.42-py3-none-any.whl.
File metadata
- Download URL: tentacletk-0.9.42-py3-none-any.whl
- Upload date:
- Size: 394.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f56e473df6e57048d3aec788774d158ca9e1cc870adec93443e74704b72ebd4
|
|
| MD5 |
f6aa3a074a37e3e6b11722e953c8f05d
|
|
| BLAKE2b-256 |
71cb290ae6885be5c5184410d4497de224b6fc67583cb366d54a95f9e03188ff
|