Skip to main content

A comprehensive toolkit for Autodesk Maya providing utilities for modeling, animation, rigging, and UI management.

Project description

MAYATK (Maya Toolkit)

License: MIT Version Python Maya Tests

mayatk is a collection of utility functions and helper classes for Autodesk Maya, providing convenience wrappers and common workflow patterns for Maya scripting.

Overview

mayatk provides a comprehensive set of production-ready utilities for Maya automation, organized into specialized modules for different aspects of 3D workflow development.

Installation

pip install mayatk

Requirements:

  • Python 3.11+
  • Autodesk Maya 2025+

mayatk ships mayapy-package-manager.bat — an interactive Windows menu for installing, updating, and backing up packages in Maya's bundled Python interpreter.

Package Structure

Core Modules

Module Description
core_utils Core Maya operations, decorators, scene management
edit_utils Mesh editing, modeling, geometry operations
node_utils Node operations, dependency graph, connections
xform_utils Transform utilities, positioning, coordinates
env_utils Environment management, scene hierarchy

Specialized Modules

Module Description
uv_utils UV mapping and texture coordinate tools
rig_utils Rigging, constraints, character setup
anim_utils Animation, keyframe management
mat_utils Materials, shaders, texture management
cam_utils Camera utilities and viewport management
display_utils Display layers, visibility, viewport settings
light_utils Lighting utilities and rendering tools
nurbs_utils NURBS surfaces and curve operations
ui_utils User interface components and utilities

Bundled UITK Editors

MayaUiHandler ships with a one-line entry point for launching the uitk editor windows from a Maya shelf button or script:

from mayatk.ui_utils.maya_ui_handler import MayaUiHandler
MayaUiHandler.instance().editors.show("browser")
Editor key Description
browser Searchable launcher for every UI registered with the switchboard — supports tagging, filtering by name/tag, hide lists, launch options, and JSON-portable presets.
style Theme + QSS variable editor for live restyling of the dark/light themes.
hotkey Keyboard-shortcut editor for slots registered with the switchboard.

MayaUiHandler.instance() is reentrant:

  • If tentacle (or any other tool) already created the handler, the call returns the existing singleton — opening the editor on top of the same switchboard the rest of the application is using.
  • If nothing has set up a handler yet, the call bootstraps one with a fresh Switchboard, so the shelf button is the only line of code needed.

The editor is cached per-handler — clicking the shelf button twice focuses the existing window rather than spawning a duplicate; closing it via the OS close button + reopening rebuilds transparently.

License

MIT License - See LICENSE file for details

Links

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

mayatk-0.11.51-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file mayatk-0.11.51-py3-none-any.whl.

File metadata

  • Download URL: mayatk-0.11.51-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for mayatk-0.11.51-py3-none-any.whl
Algorithm Hash digest
SHA256 d72c218e21b85c745194f2d688975b7469de6931c01fa3becb1900af7f3ad61d
MD5 d9f6894d9683daa70efffb1b0a04821d
BLAKE2b-256 8a7028de2a46ebe2f3a08c0e0d3b7424f2c4386cbc1bf0f1935fe7aa028e2e8f

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