On Sun, Mar 14, 2010 at 9:49 AM, Alan Hewat <[email protected]> wrote:
> Bob has immediately corrected this problem with isosurfaces for large
> numbers of invisible atoms in 11.9.33_dev. It works perfectly. Many
> thanks.
>
> Now I have an associated question :-) Why is the qualifier "VISIBLE"
> imposed for "set picking SELECT" with SITE and ELEMENT ? I understand that
> you don't normally want to draw selection halos around invisible atoms,
> but sometimes when you select a site, you do want the selection to apply
> to ALL equivalent sites, even those that are invisible.
>
>
The idea was simply that when one is picking atoms, it is only the visible
ones that you are selecting. There could be any number of models present but
not visible, and it would not make sense to be selecting SITEs or ELEMENTs
from unrelated structures (for example, in multi-structure CIF files. So all
the set picking select options work only on the visible atom set.
You can always set up a pick callback so that you can expand the selection,
I think.
Why ? In ICSD I select sites that I want to exclude from the construction
> of isosurfaces and label them with a property. For example, I want to
> exclude extraneous atoms occupying sites in zeolite channels so that I can
> draw the channel isosurface. But I don't know how to select the equivalent
> invisible sites, and this results in isosurfaces limited by those
> invisible occupied sites.
>
>
I'm not understanding why this has to be done by physically clicking on
atoms, but in any case, you must be processing the selections specially,
right? The user clicks on an atom, then clicks on some other button to
create the isosurface?
If so, then it's just some sort of short script, I think.
> A simple extension might be: "set picking SELECT SITE ALL" which would
> preserve the "VISIBLE" implied by "set picking SELECT SITE". (But perhaps
> there is an existing alternative to achieve that?)
>
you mean, I think, "NOT preserve..." there?
>
> To avoid selection halos being drawn around invisible atoms, you could
> allow an explicit VISIBLE qualifier i.e. "selectionHalos ON VISIBLE".
>
>
You have the option to show selectionHalos for visible atoms only. I think
it is
set showHiddenSelectionHalos
(normally FALSE)
> The point is that sometimes you want to select even the invisible atom
> sites, but would prefer only the visible atom selection to be hallowed.
>
I think you need to do this in code, not by some automatic method involving
picking. I'm not sure exactly what the logic would be that you are after,
but it shouldn't be too complicated.
Something like
for all sites
If no atom with this site is visible, then deselect all such atoms,
visible or not."
Does that sound about right?
Bob
>
> Alan.
>
> Alan Hewat said:
> > I'm coming back to this because I think I understand why isosurface
> > scripts that work with Jmol 11.8.18 no longer work with 11.9....
> >
> > For inorganic structures including zeolites with cavities we construct
> > polyhedra by including atoms from neighbouring unit cells, hiding these
> > many additional atoms in the display. Specifically we have e.g.
> > jmolApplet(600,'load "tmp/fiz.cif?69767" { 3 3 3 };restrict cell={ 2 2
> > 2};..
> >
> > Version 11.8.18 apparently knew to ignore the surrounding hidden cells
> > when drawing isosurfaces - or at least it worked fine with such
> > constructs.
> >
> > Version 11.9... apparently tries to construct isosurfaces with all the
> > extra hidden atoms - or at least it just freezes the drawing with
> whatever
> > activity it is engaged in - I couldn't wait long enough for it to finish.
> >
> > Isosurfaces work with Jmol 11.9... if I replace the opening statement by:
> > jmolApplet(600,'load "tmp/fiz.cif?69767" { 1 1 1 };...
> >
> > But obviously I need the original construct in order to construct all the
> > polyhedra :-)
> >
> > Alan.
> >
> > On Wed, Feb 10, 2010 at 3:50 AM, Alan Hewat <[email protected]> wrote:
> >>
> >> Is it possible that some isosurface scripts have been broken with recent
> >> Jmol updates ? For example the isosurface POCKET, INTERIOR... scripts
> for
> >> the Zeolite-LTA example seem to freeze Jmol version 11.9.27_dev loaded
> >> with page http://chemapps.stolaf.edu/jmol/docs/examples-11/new2.htm
> >>
> >> The same isosurface POCKET, INTERIOR... instructions do work for the
> >> Zeolite-LTA structure with Jmol 11.8.7 used by ICSD (FIZ) and Jmol
> >> 11.2.7 used by the zeolite atlas on
> >> http://izasc.ethz.ch/fmi/xsl/IZA-SC/ftc_3d.php so its not my computer
> or
> >> Java installation (I also tried a different machine).
> >>
> >> Alan
> > ______________________________________________
> > Dr Alan Hewat, NeutronOptics, Grenoble, FRANCE
> > <[email protected]> +33.476.98.41.68
> > http://www.NeutronOptics.com/hewat
> > ______________________________________________
> >
> >
>
>
> ______________________________________________
> Dr Alan Hewat, NeutronOptics, Grenoble, FRANCE
> <[email protected]> +33.476.98.41.68
> http://www.NeutronOptics.com/hewat
> ______________________________________________
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
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
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users