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
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@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@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
Hi Jeff, The "Orient" button on the volume viewer dialog changes the rotation of the volume data shown in that dialog to the standard orientation (data x axis on screen x axis, data y axis on screen y axis, data z axis out of screen). I use that with keyboard shortcuts x9, y9 and z9 which rotate about the x, y, and z axes respectively by 90 degrees. It would not be hard to add a command that just resets the rotation part, not translation, of an orientation saved with "savepos" (and assuming a center of rotation at the center of the bounding box, say). Tom
participants (3)
-
Elaine Meng
-
Tom Goddard
-
William Jeffrey Triffo