Skip to main content

No project description provided

Project description

License: LGPL v3 Version

Tentacle: A Python3/qtpy Marking Menu and DCC Toolkit

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 the qtpy framework, but 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 import tcl_maya
tcl_maya.show(key_show='Z')  # Change to match your chosen hotkey.

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.9.28.tar.gz (132.2 kB view details)

Uploaded Source

Built Distribution

tentacletk-0.9.28-py3-none-any.whl (322.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tentacletk-0.9.28.tar.gz
  • Upload date:
  • Size: 132.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.9

File hashes

Hashes for tentacletk-0.9.28.tar.gz
Algorithm Hash digest
SHA256 3ea1d2679b71dfd861d11e9ba05b73aaa1e4c6f16d555a5771dbf9fbebad5377
MD5 fb22153d4b2d12a981ab6454a31c8f2a
BLAKE2b-256 953045e9eb4cf41a6ae9286bd69dd28420de3125f2800b6862eb777862756e91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tentacletk-0.9.28-py3-none-any.whl
  • Upload date:
  • Size: 322.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.9

File hashes

Hashes for tentacletk-0.9.28-py3-none-any.whl
Algorithm Hash digest
SHA256 40300d8fe1db1fb284c50403d07b8cd839643fc5c6333015871a79000948374f
MD5 55a85f19cdccddde500b419b7a425d8a
BLAKE2b-256 d414d3a99790a31627b3e6d6426324f78cb407826a1cf20ceeafbd203b39887f

See more details on using hashes here.

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