GithubHelp home page GithubHelp logo

ml_tools's Introduction

ml_tools

This is an updated git repository of all the tools found on my website. It's provided as an alternative to downloading tools individually, if you want to stay up to date with everything.

Feel free to fork or contribute.

Installation

Download the most current release or clone the repository to a directory of your choice.

Setting the environment variable MAYA_MODULE_PATH is the easiest way to integrate the tools into Maya. You can put the path to ml_tools either in the Maya.env file or set a system environment path prior to launching Maya via shell.

In the further examples, we will use /path/to/ml_tools as a path example. You have to replace it by the path you use.

Via shell

Windows:

set "MAYA_MODULE_PATH=%MAYA_MODULE_PATH%;/path/to/ml_tools"

Linux / macOS:

export MAYA_MODULE_PATH=$MAYA_MODULE_PATH:/path/to/ml_tools

Via Maya.env

You will need to edit the Maya.env located in your /maya/version folder. Where is it and how to open it on the Autodesk manual.

Once Maya.env opened, add the following at the end of the file:

MAYA_MODULE_PATH = /path/to/ml_tools

Load the shelf:

In the shelf, click the gear icon on the left side, then Load Shelf:

demo_maya_load_shelf

ml_tools's People

Contributors

henrybennettfr avatar l0lock avatar morganloomis avatar timlehr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ml_tools's Issues

Syntax error on ml_convertRotationOrder

Hi!

Using Maya 2020, I can't use ml_convertRotationOrder, here's the script editor's output when I click the shelf button:

import ml_convertRotationOrder
ml_convertRotationOrder.ui();
// Error: ml_convertRotationOrder.ui(); // 
// Error: Line 2.28: Syntax error // 

Also, not sure if I should bring this in another issue ticket or not but:
I tried to install the module from here, but I don't understand the installation procedure.

I tried to just put the ml_tools-3.0.0 folder somewhere and write the suggested windows shell command (well I guess I did it correctly?)

I also tried to add the following line to Documents\maya\2020\Maya.env :
MAYA_ML_TOOLS = %MAYA_MODULE_PATH%/ml_tools-3.0.0

But nothing else really happens, neither in an already running Maya or after rebooting Maya.

I tried to run a getenv in the script editor to see if Maya knows the path I set in Maya.env, which looks ok to me:

getenv MAYA_ML_TOOLS;
// C:/Program Files/Common Files/Autodesk Shared/Modules/maya/ml_tools-3.0.0 // 

The version of maya is 2022.4

When using ml_worldBake.py, the following

Error: RuntimeError: file C:\Users\~\scripts\ml_utilities.py line 360: Object '0' not found.

Error is displayed and does not work properly.
Please let me know how to deal with it.
The version of maya is 2022.4

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.