/maya-math-nodes

Collection of math nodes for Autodesk Maya

Primary LanguageC++MIT LicenseMIT

Maya Math Nodes

Collection of math nodes for Autodesk Maya

Building

Build Status

To build the library on Windows, clone the repository and navigate to the cloned directory, then run the following:

mkdir build
cd build
cmake ../. -G "Visual Studio 15 2017 Win64"

This will generate a Visual Studio solution you can use to build.

To build the library on OSX or Linux use the following command:

mkdir build
cd build
cmake ../. -G "CodeBlocks - Unix Makefiles"
make

The build looks for Maya in the default installation directory for each platform, however you can always provide it with a custom path:

-DMAYA_LOCATION=/apps/autodesk/

Likewise, the build defaults to Maya version 2018, this can be changed as follows:

-DMAYA_VERSION=2017

Testing

In order to run the test suite, execute the mayapy interpreter and pass the tests directory as an argument, for example:

/Applications/Autodesk/maya2018/Maya.app/Contents/bin/mayapy tests