[Chimera-users] how to get translation and rotation vectors for move and turn commands

Elaine Meng meng at cgl.ucsf.edu
Tue May 13 10:44:43 PDT 2014

Hi Jan,
I don't understand what you are doing,  thus I'm not sure if any of the following will help, but "matrixcopy" will apply the transformation of one model to another.  Or you can write a model's transformation matrix to a file with "matrixget" and apply a transformation matrix from a file to a model with "matrixset."  


See also "measure rotation":

Elaine C. Meng, Ph.D. 
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

On May 13, 2014, at 10:17 AM, Jan Kosinski <kosinski at embl.de> wrote:

> Hi,
> I have the same model loaded in Chimera twice. One model has been moved to a different position and rotated manually using mouse.
> How can I get x,y,z coordinates for the centers of the to models to calculate x,y,z axis definition compatible with the move command? And how to get rotation information for turn command?
> I tried with cofr command but it seems to give coordinates in different reference frame. I would like to avoid using savepos/reset/fly commands in this case. Python solution would be fine.
> Thanks in advance for your help,
> Jan

More information about the Chimera-users mailing list