
Dear all, I'm a new chimera user and I'm asking about morphing. I've two models and I'm able to move one to contacts the other. But what if I need to move both to converge on a specific center? There is some shortcut? Thanks to all -- ------------------------------------------------------------------- (o_ (o_ //\ Coltivate Linux che tanto Windows si pianta da solo. (/)_ V_/_ +------------------------------------------------------------------+ | ENRICO MORELLI | email: morelli@CERM.UNIFI.IT | | * * * * | phone: +39 055 4574269 | | University of Florence | fax : +39 055 4574253 | | CERM - via Sacconi, 6 - 50019 Sesto Fiorentino (FI) - ITALY | +------------------------------------------------------------------+

Hi Enrico, I am not sure I understand the question. You just want to superimpose one structure on another to prepare for morphing? There are several ways to superimpose structures, as discussed here: <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/superposition.html> The "match" and "matchmaker" methods described in that page keep one model fixed and move the other on top of it. Then you could use "Actions... Focus" or the "focus" command to center the view, or just move both together with the mouse. I can't think of a single command that would move both models but in opposite directions. You could have two commands, essentially moving one model to the right and the other to the left (command "move" is simple translation), but that would not necessarily superimpose them correctly. 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 May 15, 2009, at 2:27 AM, Enrico Morelli wrote:
Dear all, I'm a new chimera user and I'm asking about morphing. I've two models and I'm able to move one to contacts the other. But what if I need to move both to converge on a specific center? There is some shortcut? Thanks to all

On Fri, 15 May 2009 07:47:02 -0700 Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Enrico, I am not sure I understand the question. You just want to superimpose one structure on another to prepare for morphing? There are several ways to superimpose structures, as discussed here: <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/superposition.html>
Yes, I tried the superimpose method. But I would move both models in opposite directions.
I can't think of a single command that would move both models but in opposite directions. You could have two commands, essentially moving one model to the right and the other to the left (command "move" is simple translation), but that would not necessarily superimpose them correctly.
Using a macro I have to set a lot of select and move command, is it possible to create a python cycle to do that?
I hope this helps,
Thanks a lot. -- ------------------------------------------------------------------- (o_ (o_ //\ Coltivate Linux che tanto Windows si pianta da solo. (/)_ V_/_ +------------------------------------------------------------------+ | ENRICO MORELLI | email: morelli@CERM.UNIFI.IT | | * * * * | phone: +39 055 4574269 | | University of Florence | fax : +39 055 4574253 | | CERM - via Sacconi, 6 - 50019 Sesto Fiorentino (FI) - ITALY | +------------------------------------------------------------------+

Hi Enrico, Any Chimera actions can be done with python, but I can't give advice on that (I don't know python). To me, it seems much easier to use a few Chimera commands than to figure out the python to do the same things. From what you said, now I think maybe you are making a movie, not just trying to superimpose structures to prepare for morphing. In that case, here is how you could easily achieve complicated motions of multiple models: use the command "savepos" to save different positions, say one position with the models together and another with the models apart. Then you can use the command "reset" to go between these saved positions in a specified number of frames. Depending on those previously saved positions, the (two or more) models could go in opposite directions. For movie making, I recommend using version 1.4 of Chimera (a daily build) because many of the movement commands have been improved significantly since the last production release. See: <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/savepos.html> <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/reset.html> <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/fly.html> <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/ movies.html#moviecommands> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. meng@cgl.ucsf.edu UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco http://www.cgl.ucsf.edu/home/meng/index.html

On Fri, 15 May 2009 10:32:19 -0700 Elaine Meng <meng@cgl.ucsf.edu> wrote: Great!!!! Works very well :-))) Thanks a lot!!
Hi Enrico, Any Chimera actions can be done with python, but I can't give advice on that (I don't know python). To me, it seems much easier to use a few Chimera commands than to figure out the python to do the same things.
From what you said, now I think maybe you are making a movie, not just trying to superimpose structures to prepare for morphing. In that case, here is how you could easily achieve complicated motions of multiple models: use the command "savepos" to save different positions, say one position with the models together and another with the models apart. Then you can use the command "reset" to go between these saved positions in a specified number of frames. Depending on those previously saved positions, the (two or more) models could go in opposite directions.
For movie making, I recommend using version 1.4 of Chimera (a daily build) because many of the movement commands have been improved significantly since the last production release.
See: <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/savepos.html> <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/reset.html> <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/fly.html> <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/ movies.html#moviecommands>
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. meng@cgl.ucsf.edu UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco http://www.cgl.ucsf.edu/home/meng/index.html
-- ------------------------------------------------------------------- (o_ (o_ //\ Coltivate Linux che tanto Windows si pianta da solo. (/)_ V_/_ +------------------------------------------------------------------+ | ENRICO MORELLI | email: morelli@CERM.UNIFI.IT | | * * * * | phone: +39 055 4574269 | | University of Florence | fax : +39 055 4574253 | | CERM - via Sacconi, 6 - 50019 Sesto Fiorentino (FI) - ITALY | +------------------------------------------------------------------+
participants (2)
-
Elaine Meng
-
Enrico Morelli