Re: [PyMOL] moving molecules using rotation matrix

2009-03-27 Thread Warren DeLano
Yes, from Python: cmd.transform_selection( selection, [m0, m1, m2, ax, m3, m4, m5, ay, m6, m7, m8, az, bx, by, bz, 1]) where b(xyz) is a pre-translation (applied before the rotation) and a(xyz) is a post-translation (applied after the rotation). This is that we call a T

Re: [PyMOL] moving molecules using rotation matrix

2009-03-27 Thread Tsjerk Wassenaar
Hi Cedric, In general terms, you can do such things with alter_state. More specifically, you may want to start scripting, reading in the file (assuming it's from a file) and doing the transformation. One thing that's not directly clear is whether t is pre- or post-shifting. You can directly read

RE: [PyMOL] moving molecules

2005-12-03 Thread Grégori Gerebtzoff
Dear Milton, This question has been answered several times; please search the archives of the PyMOL mailing list (http://sourceforge.net/search/index.php?type_of_search=mlists&group_id=4546 &forum_id=60) or have a look at pymolwiki (http://www.pymolwiki.org/index.php/Category:FAQ) Regards, Grégo