josh wrote:

>I figured I'd start a new thread for this since it was off topic and
>buried in the last thread:
>
>  
>
>>1. In addition to the controls you already have below the Jmols, a
>>    
>>
>>>checkbox to synchronize mouse-directed rotations and zooms would be
>>>cool. See "sync" in the manual. I use "sync * on" and "sync * off" (*
>>>= all Jmols) together with "set syncScript false; set syncMouse true;".
>>>      
>>>
>
>I've already attempted this. Unfortunately, not all the bugs seemed to
>be ironed out of syncing different molecules (this chem compare page is
>conceived for the comparison of different molecules). As soon as sync is
>on, the synced molecule looses it's "center of gravity" and starts
>rotating about strange points, sometimes completely disappearing from
>the screen. See this test page to see what I mean:
>
>http://zhah.djobscura.com/fd834mxcv9Molecules/chem_comp_3d_ajax_sync.php
>
>
>grateful as always for any tips&tricks...
>  
>

Right -- Not a bug, but not an obvious solution, either. That would be 
because you are doing a sync of the orientation, which includes the 
center and zoom. So that sort of sync is not applicable to situations 
where there are two totally different models with two totally different 
centers. It just wasn't designed for that.

The solution is to use

  set syncMouse ON

in order to send the actual mouse motions, not the full orientation.

At least give that a try and see if it solves your problem.

Bob (back in the U.S.)

>-j
>
>
>
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2008.
>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>


-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to