> I'm new to Jmol and this is my first posting on the list. Forgive me
> if the topic has been covered before.

It is a good question and has not been discussed in quite some time.

> I'll begin by saying how great I think this open-source cross
> platform initiative is - it has allowed us to provide an alternative
> to Chime for Mac OSX and other unix-based platforms in our new
> Protein Motif Database
> (<http://doolittle.ibls.gla.ac.uk:9006/david/ProteinMotifDB.html>
> feedback welcome). The hard work of the development team is much
> appreciated.

Good.

> In the documentation on the applet I found (somewhere) a list of
> mouse gestures, with a statement of intention to mirror the Chime
> gestures.

There are a couple of things going on here:

1. The doc that you read is out of date ... it applies to the previous
version of the JmolApplet. But in general I am trying to maintain chime
compatibility.

2. The Chime mouse gestures did not work for single button mice.
Therefore, I came up with a set that is similar to Chime, but not the
same.

3. Apple has some bugs in their support for multi-button mice. That is if
you plug in a 2 button, 3 button, or wheel mouse into an OSX box the mouse
events do not get registered properly. This is bug in Apple's java
implementation. I have been actively working with Apple QA & Engineering
to get this issue resolved. I have sent them very simple sample code to
demonstrate the problem. Based upon our email exchanges I assume that this
issue is fixed and will be released in the next Java release from Apple.

> Am I right in thinking that z-rotation, translation and
> slabbing are *not* yet implemented (I have the jmol10pre11 applet
> mounted at the moment)? If not, anyone any idea why they don't work
> on my site?

For single-button mice, or using the left-mouse button only, here are the
assignments:

Z-rotation
----------
 Shift-left-drag horizontally
 (Shift-left-drag vertically changes the zoom level)

Translation
-----------
 shift double-left-click-drag

Slab
----
 not currently implemented as a mouse gesture


With 2 or 3 button mice one can use the left button and use the gestures
above. In addition, for Z-rotation one can Shift-right-drag for
Z-rotation.

It now occurs to me that I could probably reimplement ctrl-right-drag for
translation ... so I will see about doing that. (Note that if/when this
gets implemented it will not work on current OSX systems with multi-button
mice due to the aforementioned Apple Java bug).


Now, regarding slab behavior ...

You are only the 2nd person who has asked for it.

slab is available as a script command, but not as a mouse gesture.

Ctrl-left is used in Chime. This cannot be used because it will conflict
with OSX.

I personally find slab with the mouse to be very confusing ... but I am
not a chemist.

In addition to 'slab' Jmol also implements 'depth', a slab from the back
side. The two should probably be used together. I suggest a slider UI
widget with two sliders ... one for the back and one for the front. But
such a widget does not yet exist.


Let me know what you think.


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to