Installation
Quick Installโ
๐งช This is the fastest way to get Mikan up and running for everyday use.
If you're working in a studio environment and need a more custom setup (e.g. network/server deployment, virtual environments, etc.),
please refer to Full Setup Guide for detailed instructions.
๐ One-Minute Setup (Windows + Maya)โ
- Close Maya if it's currently open.
- Download the latest packaged ZIP.
- Extract the contents of
mikan-main.zip
anywhere you like.
Example: extract toC:\
so that you getC:\mikan-main
. - Open Command Prompt and go to your Maya installation folder:
Example:cd "C:\Program Files\Autodesk\Maya2022\bin"
- Install Mikan's Maya dependencies using
mayapy
:mayapy -m pip install -r C:\mikan-main\requirements.txt
- Launch Maya.
- Pick any shelf tab where you'd like to add the Mikan button.
- Open the Script Editor, select the Python tab, and paste this code:
import sys
sys.path.insert(0, r'C:\mikan-main\src')
from mikan.maya.ui import MikanUI
MikanUI.start() - In the Script Editor, go to File โ Save Script to Shelf...
- When prompted, name the shelf button Mikan, then click OK.
- You should now see a Mikan button in your chosen shelf tab โ click it!
- The Mikan UI will appear, docked on the right.
Full Setup Guideโ
Obtain Mikanโ
Option 1: Download the latest packaged ZIPโ
- Download the latest release from the Releases page.
- Extract the ZIP archive.
Option 2: Clone the repo:โ
git clone https://github.com/citrus-software/mikan.git
Maya Integrationโ
Make sure the project folder is in Maya's PYTHONPATH. You can do this by editing your user userSetup.py or setting the environment variable.
Installing Python packages for Maya can be tricky depending on your setup.
There are two main approaches:
Option 1: Install requirements into Maya's built-in Pythonโ
You can try installing the required packages directly into Maya's site-packages
, using Maya's bundled Python. This can be done via the command line (adjust path to your version):
"C:\Program Files\Autodesk\Maya2024\bin\mayapy.exe" -m pip install -r requirements.txt
Not recommended: This modifies Mayaโs internal Python environment, which can lead to conflicts with other tools or future updates.
Option 2: Use a custom Python environment via PYTHONPATH
โ
(recommended)โ
Alternatively, install the requirements in a separate Python environment and expose the installed packages to Maya via PYTHONPATH
.
:: Create a virtual environment somewhere
python -m venv C:\maya_env
C:\maya_env\Scripts\activate
pip install -r requirements.txt
deactivate
:: Add the site-packages folder to PYTHONPATH (e.g. in userSetup.py or system environment variables)
set PYTHONPATH=%PYTHONPATH%;C:\maya_env\Lib\site-packages
This approach is safer and more flexible, especially if you're managing multiple tools.
- Adjust paths based on your system setup.
- You can share the same virtual environment across multiple tools or versions of Maya if compatible.
Start Mikanโ
Open the Script Editor, select the Python tab, and paste this code:
from mikan.maya.ui import MikanUI
MikanUI.start()
For easier access, add this command to a shelf button in Maya.
Use the icon at src/mikan/core/ui/logo.svg
for a nice touch!