Skip to content

onlyquads/pan_zoom_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pan Zoom Helper

This script facilitates users in manipulating Maya's pan and zoom functionalities. You must specify the camera you intend to use. You can either set a production camera in the SHOTCAM variable or specify it when calling the script (refer to Pipeline integration below). In doing so, the tool will automatically configure it if it's present in the scene.

Tested maya 2020, 2022

Installation

On the go:

Copy/Paste this whole page of code in maya python console and run.

As simple shelf button:

Copy this script into your maya/scripts folder. Create a shelf button with these lines in python:

from pan_zoom_helper import pan_zoom_helper;
window = pan_zoom_helper.PanZoomHelper();
window.show();

Pipeline integration:

You can also directly specify the camera you want to set by default. Copy this script into your maya/scripts folder. Create a shelf button with these lines:

from pan_zoom_helper import pan_zoom_helper;
window = pan_zoom_helper.PanZoomHelper(shotcam='your_shotcam_shape_name');
window.show();

Make sure to replace the 'your_shotcam_shape_name' with your camera shape name

About

This script allow users to easily manipulate maya's pan/zoom tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages