Code Monkey home page Code Monkey logo

miexecutor's Introduction

miExecutor

TabMenu-like simple command launcher for Maya

alt tag

Differences between this script and the one in Node Editor in behavior.
ノードエディタのタブメニューとの違い

  • Repeatable by G key

  • You don't need to complete commands. Just you can hit Enter once you got it on the top of the completion list.

  • Gキーでピート可能

  • 候補リストの一番上にコマンドが来た時点でエンターを押せば実行可能

Requirements

PyQt4 PySide

Installation

http://github.com/minoue/miExecutor/archive/1.0.2.zip

  1. Download zip file and extract it, then rename the folder to 'miExecutor'

  2. Move the folder to your maya script directory. The directory structure should be something like this.

     maya
     |--version  
     |    |--script
     |    |    |--miExecutor
     |    |    |    |--__init__.py
     |    |    |    |--miExecutor.py
     |    |    |    |--  ....
     |    |    |    |--module
     |    |    |    |    |--mayaNode.py
    
  3. Restart maya or do 'rehash;' command.

  4. Assign the following python command to any key you want.

     from miExecutor import miExecutor
     reload(miExecutor)  
    

How to add commands

  1. Copy and rename miExecutor/module/templete.py to whatever you like.

  2. Open the file and add any class methods like the following picture.

    • Make sure all method names start with underscore.
    • Add the following line at the under the method.
      yourCommandDict['YOUR COMMAND NAME'] = "YOUR ICON NAME"
      This dictionary is used to call commands names and icon paths in the main script.
    • 'YOUR COMMAND NAME' must be same as the method name.(no underscore)
    • You can also use absolute paths for icon names if you need.
  3. Once you save the file, your new command should be ready to use.

miexecutor's People

Contributors

minoue avatar k240 avatar

Stargazers

OR avatar Brent Forrest avatar xtvjxk avatar

Watchers

James Cloos avatar xtvjxk avatar nrtkbb 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.