The "rotate" and "translate" commands can do this *if* you append the
object=object-name to the command:

Try typing in the following sequence of commands:

fragment arg
fragment glu

translate [5,0,0], object=arg
translate [-5,0,0], object=glu

origin arg, object=arg
origin glu, object=glu

rotate y, 10, object=arg
rotate y, -10, object=glu

Note that these movements are accomplished via matrix and not coordinate
transformations, so interacting with the molecules after they have been
moved is currently a bit problematic (bugs to fix...).  However, you can
move complex geometries like surfaces without forcing recalcuation using
this approach.

Normally for movies, you'd embed commands like the above into movie
commands.  For that to work, you'll also need commands like:

reset object=arg
reset object=glu

in the first movie frame.

Cheers,
Warren

PS. Coming down the pipe: automatic 'tweening for object motion!

--
Warren L. DeLano, Ph.D.                     
Principal Scientist

. DeLano Scientific LLC  
. 400 Oyster Point Blvd., Suite 213           
. South San Francisco, CA 94080 USA   
. Biz:(650)-872-0942  Tech:(650)-872-0834     
. Fax:(650)-872-0273  Cell:(650)-346-1154
. mailto:war...@delsci.com      
 

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net 
> [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of 
> Nathaniel G. Butlin
> Sent: Friday, November 04, 2005 6:34 AM
> To: PyMOL-users@lists.sourceforge.net
> Subject: [PyMOL] Independent Rotation axis...
> 
> Hi All,
> 
> I was wondering if anyone know if there is anyway to assign 
> independent rotation axis to two different proteins within 
> Pymol.  Specifically, I amintersted in having two molecules 
> rotate about individual axis in a movie sequence.
> 
> Thanks,
> 
> Nate Butlin
> 
> UCDavis - Chemistry
> ngbut...@ucdavis.edu
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App 
> Server. Download it for free - -and be entered to win a 42" 
> plasma tv or your very own Sony(tm)PSP.  Click here to play: 
> http://sourceforge.net/geronimo.php
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 
> 
> 
> 

Reply via email to