Hi,

Two separate issues affecting zoomto (I'm using Jmol 11.3.31):

1. The command,
zoomto (all) 0
initially zooms the structure correctly, but when issued a second time, zooms in to 200%. (This makes it hard to have a button labeled "zoom out" that uses this command.) Issuing a third time has no effect.

2. Also, I'd like to provide a button that allows the user to zoom in from a view of a whole protein, already slabbed to reveal an internally bound chromophore, to focus closely on the chromophore.

However, zoomto and moveto both seem to turn off slabbing. So when you arrive at the close-up view of the chromophore, suddenly your view is blocked by atoms that weren't there a moment ago.

I thought I'd get around it by immediately turning slab on again after the move/zoom, but the slabbed atoms appear for a moment before disappearing. Could there be an option to leave slabbing unchanged with one or both of these commands? I'd suggest moveto, since it allows you to bring the structure to the open side of the slab. (BTW I am using an internal slab plane. Don't know if that matters in this case.)

Frieda



///////////////////////////////////////////

Frieda Reichsman
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com

///////////////////////////////////////////


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to