Skip to content
Create Maya node-network by entering a math-formula.
Python Other
  1. Python 99.8%
  2. Other 0.2%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
docs
node_calculator
tests
.gitignore
Makefile
README.md
requirements.txt
setup.py

README.md

NodeCalculator

This OpenSource Python module allows you to create node networks in Autodesk Maya by writing math formulas.

Why use it?

Turn those long lists of cmds.createNode, cmds.setAttr & cmds.connectAttr into readable math formulas.

All you need: Tutorials, CheatSheet, etc.

Documentation on ReadTheDocs

Install & Import

Download or clone this git-repo. Save the inner node_calculator folder (the one that contains core.py, etc.) to your \Documents\maya\scripts folder.

Also you can git clone the repo to a location of your choice then while in the top folder run mayapy -m pip install . This will make sure it is installed in maya's site-packages directory. Optionally you can install it in your userScripts: mayapy -m pip install . -t /path/to/your/userScriptsDirectory/ Note: Make sure to run in a terminal/console that has administrator privileges if Maya is installed in a write-protected folder.

Usage

Import it in Maya via

import node_calculator.core as noca

CI tested with:

  • Maya 2018
  • Maya 2017

Run Tests

If you are developing the NodeCalculator further, you can run the test suite to check whether the basic functionality is still intact. To do so, navigate to the bin-folder in your Maya directory. For example: C:\Program Files\Autodesk\Maya2018\bin And run this command in a terminal: .\mayapy.exe -m unittest discover -s >path\to\node_calculator\tests< -v

Think this is useful? Share the love and buy me a hot chocolate ;P

Donate

You can’t perform that action at this time.