Hello seven32   

Yes, as Rolf said, "zoomto" is your best choice and should do what 
you want without any need for calcuating rotations.
You can use several wasy to specify the residue, please see "atom 
expressions" in the documentation

e.g.

zoomto 1.0 { Ser162 } 0;  // residue will fit the Jmol panel

zoomto 0.5 { Ser162:A } 0;

zoomto 0.5 { 162 } 0; 

zoomto 0.5 { 162-163 } 0 *0.9; // zoom out a little, to 90%


Bringing the residue to the front, as you want, will be harder and 
may not be possible in an automatic way. Please check the "best" 
option of "rotate" command to see if you can get something.

Another choice, if you wnat ot define manually the orientation you 
like for some specific case (residue), would be to position the model 
manually and then retrieving the result of 

show moveTo

a result that you can later use in your script to achieve that same 
orientation, starting from any other.




------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to