[Chimera-users] rotating items in chimera

Elaine Meng meng at cgl.ucsf.edu
Thu Jun 14 09:03:57 PDT 2007


Hi Jeff,
I don't think exactly what you describe is possible (without using  
Python), but here are some related ideas:

- you can rotate all active models by a specific amount, for example  
to look from the top instead of the front, using the command:
  turn x 90
http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/turn.html

- the command "matrixget" writes model transformations to a file,  
while "matrixset" reads the transformations from the same type of  
file and applies them.  You could edit the files to change the  
translational part before applying the matrices.  It might be hard to  
figure out what translational values correspond to the position you  
want, though.
http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/matrixset.html

- it still might be easier to just save all the positions that you  
actually want, including the proper rotations and translations, with  
"savepos."  However, if you saved a position with the desired  
rotations but not translations, from that position you could use the  
"Active" toggles (or some other means of activating/deactivating for  
motion) and translate individual models by set amounts with the mouse  
or using the command "move":
   ~select all
   select 1
   move x 50; move y 20
   ~select 1
   select 0
   move x -100
   [ etc. ]

- perhaps there is something you can do with Tom's "Transform  
Molecule Coordinates" experimental feature, but I don't really know  
anything about it.
http://www.cgl.ucsf.edu/chimera/experimental/experimental.html

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                          meng at cgl.ucsf.edu
UCSF Computer Graphics Lab and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
                      http://www.cgl.ucsf.edu/home/meng/index.html




On Jun 13, 2007, at 5:46 PM, William Jeffrey Triffo wrote:

> hello,
>
> is there a way to return to a rotational position, without using
> 'savepos' and 'reset'?
>
> For instance, if I don't want to reset translation(s) (which using
> savepos/reset might do), but just want to return to a 'top down' view,
> or a specific rotation with respect to the viewer's global axes? I
> realize that with multiple objects in potentially different rotational
> orientations, this would require which object to use to calculate the
> rotation.
>
> thanks,
>
> -Jeff
>
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users




More information about the Chimera-users mailing list