/cmt

Various maya tools that I write for my personal projects.

Primary LanguagePythonMIT LicenseMIT

License: MIT Code style: black

cmt

cmt is a collection of various Maya tools I have written for my personal projects. Feel free to use the tools in your own projects, browse the code for inspiration, or silently judge me. These tools were never meant to be a professional product. Many areas are undocumented, I'm always experimenting but feel free to take and use any of the code in this project.

Full documentation can be found here: https://chadmv.github.io/cmt

Installing the Maya Module

Download Pre-built Release

Built plug-ins are provided via my Releases

Compile Your Own

Plug-in Compilation Dependencies

Plug-in Compilation Instructions

Download Eigen and extract into third-party/Eigen.

The project is setup to use CMake to generate build files.

Windows

The build.bat included will build for 2018, 2019 and 2020. Or:

mkdir build.2020
cd build.2020
cmake -A x64 -T v141 -DMAYA_VERSION=2020 ../
cmake --build . --target install --config Release

Installation Instructions

cmt is a Maya module that can be installed like all other Maya modules. You can do one of the following:

  • Add the cmt root directory to the MAYA_MODULE_PATH environment variable.
  • Add the cmt root directory to the MAYA_MODULE_PATH in your Maya.env. e.g. MAYA_MODULE_PATH=/path/to/cmt
  • Edit the cmt.mod file, and replace the ./ with the full path to the cmt root directory, then copy the cmt.mod file to where your modules are loaded from.