Re: [Jmol-users] Moving the center down a little?

2009-11-12 Thread Robert Hanson
For zoomto, this is fixed for Jmol 11.8.10 and 11.9.9. It should not be doing any reorienting at all. Moveto, on the other hand, must do that. On Wed, Nov 11, 2009 at 7:30 PM, Eric Martz ema...@microbio.umass.eduwrote: Thanks to everyone who helped to release 11.8.9. Its great! Bob, in

Re: [Jmol-users] Moving the center down a little?

2009-11-12 Thread Robert Hanson
OK, For moveto, this is also fixed for Jmol 11.8.10 and 11.9.9. The way it works is that if you specify {0 0 0 0} for the {x y z deg} parameter in the moveto command, then Jmol now ignores the orientation parameter and only does a zoom -- but to whatever x/y translation position you want -- no

Re: [Jmol-users] Moving the center down a little?

2009-11-11 Thread Eric Martz
Thanks to everyone who helped to release 11.8.9. Its great! Bob, in http://MolecularPlayground.Org I am trying to let people rotate the molecule at any time in the animation, including, for example, during zooming. Therefore I am minimizing the use of moveto and zoomto because these fight with

Re: [Jmol-users] Moving the center down a little?

2009-11-11 Thread Robert Hanson
whatever, but I didn't fix that. It's the same. Well, in Jmol 11.8.8 set windowcentered false did NOT free zoom from recentering in the window center, but I see that this is fixed in 11.8.9 -- HOORAY! So now set windowcentered false is the equivalent of Chime's set zoomcenter off which

Re: [Jmol-users] Moving the center down a little?

2009-11-09 Thread Robert Hanson
Eric, there is a way around this, but I have to check to see if there is a bug there. The issue is that the zoom command also recenters. The solution is to do the moveto command with the same orientation: var q = script(show orientation rotation) moveto quaternion @{!q} 100 0 10 That sets the

Re: [Jmol-users] Moving the center down a little?

2009-11-09 Thread Robert Hanson
no bug -- that's the way it should work. The command is: moveto quaternion @{!script(show orientation rotation)} 100 0 10 We could talk about making that easier to code. On Mon, Nov 9, 2009 at 6:38 PM, Robert Hanson hans...@stolaf.edu wrote: Eric, there is a way around this, but I have to

[Jmol-users] Moving the center down a little?

2009-11-08 Thread Eric Martz
Because I have a banner (echo with white background) using up part of Jmol, like this http://www.umass.edu/molvis/tests/banner.html I want the molecule to be centered in the remaining (black) space. That is, the center should be a bit below the center of Jmol. I am using Jmol 11.8.8. I have