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()

License

Copyright 2018 Morgan Loomis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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.