The Maya OTIO file translator plugin is a Maya file translator plugin that translates a Maya file into an otio file. More information about OpenTimelineIO can be found here. In its current state, this plugin only supports imports and export all of files.
To get started, use git to clone this repository:
git clone --recurse-submodules https://github.com/rosborne132/maya-otio.git
cd maya-otio
In order to build plugins for Maya, you need to install the devkit for the version of Maya you are using. To install the devkit, locate your OS and version here.
Once you install the devkit, you need to set it up for your OS. You can find instructions here.
This project uses the ninja build system. You can install ninja from the official website here.
Install ccache to cache your local builds to speed up your development time.
brew install ccache
// Removes build directory
make clean
// Generates makefile + build directory
make generate
// Runs make generate and builds project
make build
// Removes build directory and builds a new project
make
To generate the CMake file run one of the following commands.
Generate a Visual Studio project
cmake -H. -Bbuild -G "Visual Studio 16 2019 Win64"
Generates an xcode project
cmake -H. -Bbuild -G Xcode
Generates a makefile
cmake -H. -Bbuild -G "Unix Makefiles"
Once the makefile has been created you just need to run the following command to build the plug-in.
cmake --build build
The MacOS version of Maya doesn't have an output window like Windows. To get around this, we will launch Maya from the terminal. To do this, run the following command:
/Applications/Autodesk/maya{version}/Maya.app/Contents/bin/maya -prompt