Coder Social home page Coder Social logo

mayatoolscollection's Introduction

mayaToolsCollection

Virtual Method Studio's small scripts for Maya. Find more information about us here: http://www.virtualmethodstudio.com

How to install in Windows for not experienced users

Since there is no automatic way to install these for now, you can install them by hand this way. But stay tuned, because there will be ways to do this faster and safer with new tools in the future:

  • Download the mayaToolsCollection folder using the button available in gitHub in https://github.com/lidiamartinez/mayaToolsCollection/
  • This will download a ZIP file that you will have to unzip somewhere in your harddrive.
  • You will have a folder like this: mayaToolsCollection/scriptFolder/scriptName.py
  • Copy that folder into your scripts folder under maya installation: C:/users/yourUser/maya/versionNumer/scripts/
  • Make sure that the folder is NOT .../scripts/mayaToolsCollection/mayaToolsCollection/scriptFolder... There must be just one mayaToolsCollection folder level.
  • In Maya, open the Script Editor window under Windows -> General Editors (or find how on Maya's Official Documentation)
  • Copy and paste this on a Python tab in the lower part of the editor, changing "nameOfTheScript" with the script you are trying to add to Maya:

import mayaToolsCollection.nameOfTheScript

mayaToolsCollection.nameOfTheScript.run()

  • Then, you can, either: A) In the script editor, go to File -> Save script to shelf. That will add the script as a button in your current active shelf. B) Select that code, copy it, and create a Runtime Command assigned to a Hotkey using the Hotkey Editor. Read how to do it in the official documentation (Searching for "Create a runtime command")

Advanced Tear Off Copy Panel

Used to replace viewport's option: Panels -> Tear Off Copy... which creates a new window with a more restricted version of a viewport. This scripts enhances this viewport window by adding the same options as a regular viewport (including the possibility to select from which camera it looks through, which is not available on a regular torn off copied panel). This script doesn't replace the original behaviour. You will have to assign this to a hotkey in order to use it using the Hotkey Editor.

Simple Follow Camera

Select an object with translation attributes (tx, ty, tz) and execute this script to create a new perspective camera inside a group on the outliner which will follow the given object in position using a position constraint, not rotation or scale. So you can rotate and place it and it will follow the object staying in that position. Useful in situations where, for example, you have facial animation and the character moves a lot and you need a view of the facial animation at the same time as the full animation. Or you need several views of the same object during animation. You can use this script in combination with Advanced Tear Off Copy Panel script. You execute this one first and then the other one so you get a nice viewport window looking through this new view.

mayatoolscollection's People

Contributors

lidiamartinez 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.