Hello, help me please create script that loads frames (say, 30) from
pdb files and rotate each of them by 10 frames over , say, y axis. So,
all movie should have 300 frames.
It should be smth like this:
from glob import glob
from pymol import cmd
from pmg_tk.startup import eMovie
cmd.viewport(640,480)
cmd.set("connect_mode", "1")
cmd.set("connect_bonded", "1")
cmd.set("ray_trace_frames", "0")
file_list = glob("*.pdb")
for vfile in file_list:
  cmd.load(vfile,"mov")
  eMovie.mv_turn("1-10:1-1","y",180,"linear")
#eMovie.movie()
cmd.mpng("mov")
cmd.quit()

-- 
Kind regards,
Sergey Ivanov

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to