icon Stopwatch

Download ml_stopwatch.py

Revision 4
Last Update 2018-02-17
License MIT

Description

Record the timing of mouse clicks to help you plan out the timing of your shot. Clicks are reported in a UI that allows you to record notes for individual beats and navigate through them in the timeslider.

Installation

Copy this file into your maya scripts directory, for example:

C:/Documents and Settings/user/My Documents/maya/scripts/ml_stopwatch.py

Run the tool in a python shell or shelf button by importing the module, and then calling the primary function:

import ml_stopwatch
ml_stopwatch.ui()

Usage

Run the UI, and then click the big button to start recording time. Once recording has begun, continue clicking the big button to record the timing of beats. When you’re done recording, click the stop button to stop recording and open up the results UI. From there you can change the start frame if you want a different reference point for your timing. Click the individual frame buttons or the previous and next buttons to navigate between the beats. Use the text fields to write notes about specific beats.

Installation

Copy this file into your maya scripts directory, for example: C:/Documents and Settings/user/My Documents/maya/scripts/ml_stopwatch.py Run the tool in a python shell or shelf button by importing the module, and then calling the primary function: import ml_stopwatch ml_stopwatch.ui()

Ui

[] Round to nearest frame : Only whole number frames [Stop] : Stop the recording. [« Previous] : Go to the previous frame in the list. [Next »] : Go to the next frame in the list.

Requirements

This script requires the ml_utilities module, which can be downloaded here: https://raw.githubusercontent.com/morganloomis/ml_tools/master/ml_utilities.py

UI Options

Round to nearest frame Only whole number frames  
Stop the recording.  
Go to the previous frame in the list.  
Go to the next frame in the list.  

Revision History

Revision Date Note
1 2012-06-04 First publish.
2 2014-03-01 adding category
3 2016-05-01 Fixing go to frame buttons import error.
4 2018-02-17 Updating license to MIT.