Skip to content

K240-zz/miExecutor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

simple command launcher for maya

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%