Difference between revisions of "Movie.roll"

From PyMOLWiki
Jump to navigation Jump to search
(Created page with '= Overview = This function will perform a movie roll--a 360 rotation of the camera about the scene--from the start frame to the end frame specified. So, if you specify fewer fra...')
 
 
Line 4: Line 4:
 
= Syntax =
 
= Syntax =
 
<source lang="python">
 
<source lang="python">
# roll the scene from state START to state END
+
# roll the scene from state 'first' to 'last' rolling over axis 'axis' and looping (1) or not (0).
movie.roll START, END
+
movie.roll [first=1 [, last=-1 [, loop=1 [, axis='y' ]]]]
  
 
# roll the scene over states 1 through 50.
 
# roll the scene over states 1 through 50.

Latest revision as of 22:39, 6 June 2009

Overview

This function will perform a movie roll--a 360 rotation of the camera about the scene--from the start frame to the end frame specified. So, if you specify fewer frames it'll roll faster than in you specified more frames.

Syntax

# roll the scene from state 'first' to 'last' rolling over axis 'axis' and looping (1) or not (0).
movie.roll [first=1 [, last=-1 [, loop=1 [, axis='y' ]]]]

# roll the scene over states 1 through 50.
movie.roll 1, 50