Git Product home page Git Product logo

node_calculator's Introduction

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 2020
  • Maya 2019
  • Maya 2018
  • Maya 2017

(Thank you Marcus Ottosson for your crazy helpful Docker images)

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? I won't say no, if you insist on buying me a hot chocolate ;P

Donate

node_calculator's People

Contributors

mischakolbe avatar andresmweber avatar kleinheinz avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.