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 <[email protected]> wrote:

> 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 orientation to the current orientation and zooms to 100% at a
> translation of 10% in y.
> All in one go it looks like:
>
> moveto quaternion @{!script("show orientation rotation")} 100 0 10
>
>
>
> Bob
>
>
-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to