ScriptMate - Micro Framework for Managing Maya Scripts
ScriptMate is a lightweight framework for organizing and executing Python scripts in Autodesk Maya. It eliminates the frustration of Maya's unreliable shelves and simplifies script management with folder-based menus, security checks, and hot-reloading.
✨ Features
Folder-Based Menus – Organize scripts using simple directory names (`menu_`, sub_
).
Script Wrapping (Templates) – Ensures only properly structured scripts are executed.
Hot-Reloading – No need to restart Maya—just click Update Scripts to refresh.
Security Checks – Blocks execution of scripts that import risky modules (`os`, subprocess
, etc.).
Error Handling & Logging – Faulty scripts are skipped, not crashing the plugin.
Supports Local & Network Directories – Sync scripts between users effortlessly.
📂 Folder Structure
Scripts are automatically turned into Maya menus based on directory names:
scriptLibrary/
│── menu_Tools/
│ ├── script_cleanScene.py
│ ├── sub_Modeling/
│ │ ├── script_optimizeMesh.py
This results in a Tools menu in Maya with a Modeling submenu inside it.
📌 Example Script Template
All scripts must follow a simple format:
🔐 Security & Safety
-
Blocks unsafe imports like
os
,sys
,subprocess
, preventing harmful execution. - Customize the security rules in
config.json
. - If a script is safe, override restrictions with an
@unsafe
decorator:
⚡ Installation
- Download & Extract the plugin files.
- Copy to Maya’s module directory:
- Windows: C:\Users\USERNAME\Documents\maya\2025\modules\
-
MacOS: /Users/USERNAME/Library/Preferences/Autodesk/maya/2025/modules/
3️⃣ Restart Maya, and ScriptMate will appear in the menu!
Full Documentation
For detailed instructions, visit the full guide:
🔗 crudo.dev/docs/maya/scriptmate-maya-plugin
🚀 Try it out and streamline your Maya scripting workflow!
LICENSE
- MIT