ソースからメソッドを調べる(のぶメモ)  

movieモジュール  

movie.rock(first=1,last=-1,angle=30,phase=0,loop=1,axis='y')  

pymol-1.1/modules/pymol/movie.py
   nstep = (last-first)+1
   if nstep<0:
       nstep = 1
   if loop:
       subdiv = nstep
   else:
       subdiv = nstep+1
   ang_cur = math.pi*phase/180
   ang_inc = 2*math.pi/subdiv
   ang_cur = ang_cur - ang_inc
   a = 0
   while a<nstep:
       last = angle*math.sin(ang_cur)/2
       ang_cur = ang_cur + ang_inc
       disp = angle*math.sin(ang_cur)/2
       diff = disp-last
       # com = "mdo %d:turn %s,%8.3f" % (first+a,axis,diff)
       # _self.do(com)
       _self.mdo("%d"%(first+a),"turn %s,%8.3f"% (axis,diff))
       a = a + 1

movie.roll(first=1,last=-1,loop=1,axis='y')  

movie.zoom(first,last,step=1,loop=1,axis='z')