[Chimera-users] Get rotation between two views?

Elaine Meng meng at cgl.ucsf.edu
Tue May 10 09:59:11 PDT 2022


Hi Oliver,
Not exactly -- the closest thing I can think of is ChimeraX command "view matrix" but then you'd have to figure it out by comparing the camera matrices given for the two views, if that's even possible.

<https://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#matrix>

When I make figures that differ by N-degree rotation I have to just save one view, then use a command to make that exact rotation, and then save another view before saving the session.

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On May 10, 2022, at 8:50 AM, Oliver Clarke via Chimera-users <chimera-users at cgl.ucsf.edu> wrote:
> 
> Hi,
> In either Chimera or X, is there a way to obtain the orientational relationship between two views? 
> 
> E.g. if I have two views saved, I would like to be able to say "view 1 is related to view 2 by a 45deg rotation about X and a 25deg rotation about Y" - this would be very useful for figure making/writing purposes. Does this exist?
> 
> Cheers
> Oli




More information about the Chimera-users mailing list