Skip to main content

No project description provided

Project description

License: LGPL v3 Version

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 a qtpy framework. In it's current implementation, it only has slots set up for Maya.

Design

Tentacle runs on top of uitk, a qtpy dynamic UI loader and management package, 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.

Example

Structure

The structure of the project is as follows:

Structure

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 a macro to a hotkey similar to the following:

from tentacle.tcl_maya import TclMaya
TclMaya.instance(key_show='Z').show()  # Change to match your chosen hotkey.

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

tentacletk-0.9.36.tar.gz (135.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tentacletk-0.9.36-py3-none-any.whl (383.7 kB view details)

Uploaded Python 3

File details

Details for the file tentacletk-0.9.36.tar.gz.

File metadata

  • Download URL: tentacletk-0.9.36.tar.gz
  • Upload date:
  • Size: 135.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for tentacletk-0.9.36.tar.gz
Algorithm Hash digest
SHA256 ff3a56d2b74b6a3e9fbd56ce5cf231b42e4d0aea6a7fd154e2b07ee1cee5c858
MD5 eff74cafefd7cb2d64518860044c9a0e
BLAKE2b-256 87f4b011028b23d93a7de1ac5cb5c33f89c9848a3cef9ef37f645c0b7f06961c

See more details on using hashes here.

File details

Details for the file tentacletk-0.9.36-py3-none-any.whl.

File metadata

  • Download URL: tentacletk-0.9.36-py3-none-any.whl
  • Upload date:
  • Size: 383.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for tentacletk-0.9.36-py3-none-any.whl
Algorithm Hash digest
SHA256 498b74a80d39489d7ceb939aef5b4a47c3f4cb6a0dd87af2cedfee7cf1bf8628
MD5 d48e6460ad767426a64fc78057eec8cf
BLAKE2b-256 0ce23935c2646badb0ba9d65001770850b30608f10f2751f731b8986f47079e5

See more details on using hashes here.

Supported by

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