Re: [PyMOL] translation in movies

2017-09-12 Thread Thomas Holder
Hi Gary,

Molecule translation ("independent object motion") is very easy to set up 
interactively using the mouse. It can also be scripted with the "mview" 
command. Object positions are not stored with scenes, they need to be stored 
directly on the movie timeline with key frames.

Scripted example:
https://pymolwiki.org/index.php/Mview#Ligand_binding

Instruction for interactive setup:
- if not already done, extract the molecule to a separate object (select it, 
then right click > actions > extract object)
- create frames (with "mset" or "Movie > Append > ...")
- Mouse > 3-Button Motions ("M" button appears in the object menu panel)
- store the initial position of the molecule with "M > store"
- move the movie slider to a different frame
- translate the molecule by dragging it with SHIFT + middle mouse button

Hope that helps.

Cheers,
  Thomas

> On Sep 12, 2017, at 10:23 AM, Gary Hunter  wrote:
> 
> Is there a way (easy) to make a movie featuring a translation of one molecule?
> So far I have found I can only do it using the mset, mview commands and its 
> difficult to put a lot of animations together. translations (positions of 
> moleules/objects) do not sem to be recorded using scenes.
> Am I possibly missing a setting whereby I can record positions in a scene?
> 
> Gary
> 
> 
> -- 
> Prof. Gary J. Hunter,
> 
> Laboratory of Biochemistry and Protein Science,
> 
> Department of Physiology and Biochemistry,
> 
> University of Malta, Msida, MSD 2080, Malta.
> 
> phone: +356 2340 2917
> 
> phone: +356 21316655 (secretary),  Fax: +356 21310577
> 
> http://www.um.edu.mt/ms/physbiochem

--
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

[PyMOL] translation in movies

2017-09-12 Thread Gary Hunter
Is there a way (easy) to make a movie featuring a translation of one
molecule?
So far I have found I can only do it using the mset, mview commands and its
difficult to put a lot of animations together. translations (positions of
moleules/objects) do not sem to be recorded using scenes.
Am I possibly missing a setting whereby I can record positions in a scene?

Gary


-- 

Prof. Gary J. Hunter,

Laboratory of Biochemistry and Protein Science,

Department of Physiology and Biochemistry,

University of Malta, Msida, MSD 2080, Malta.

phone: +356 2340 2917

phone: +356 21316655 (secretary),  Fax: +356 21310577

http://www.um.edu.mt/ms/physbiochem

There may be confidential information within the contents of this email
meant only for the person addressed. This email must not be forwarded to
third parties without the express consent of the sender. If you believe you
have received this email in error please inform the sender and remove it
from your system.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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