kohyuk91 / center3d

Center the selected transform(s) onto the camera view in Maya. Just like in 3DEqualizer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Center3D

What does it do

Center the selected transform(s) onto the camera view in Maya. Just like in 3DEqualizer.

img/center3d_compare_120f.gif
Image Courtesy of Hollywood Camera Work

Video Overview


Center3D - Youtube

Installation

1. Copy center3d.py to:

  • Windows

    \Users\USERNAME\Documents\maya\MAYAVERSION\prefs\scripts

  • Mac

    $HOME/Library/Preferences/Autodesk/maya/MAYAVERSION/prefs/scripts

  • Linux

    $HOME/maya/MAYAVERSION/prefs/scripts

2. Set Hotkey

  1. Open Hotkey Editor (Windows > Settings/Preferences > Hotkey Editor)
  2. Create a new 'Runtime Command'

    img/hotkey_editor_new_runtime_command.png

    1. Edit Hotkeys For: Custom Scripts
    2. Runtime Command Editor
    3. New
    4. Name: center3d
      Description: center3d
      Language: Python
      
    5. import center3d
      center3d.main()
      
    6. Save Runtime Command
  3. Set Hotkey

    img/hotkey_editor_set_hotkey.png

    1. Double click Hotkey cell
    2. Assign Hotkey
      • e.g. Alt + Shift + C
    3. Save and Close

About

Center the selected transform(s) onto the camera view in Maya. Just like in 3DEqualizer.


Languages

Language:Python 100.0%