Jmol serialization is complete.

Jmol 10.9.99 completes the serialization, adding dipoles, dots, 
isosurfaces, lcaoCartoons, MOs, and pmesh.

I leave this now in the hands of our capable testers. Please give it a 
good workout and report any oddities. You can add serialization to your 
page the way I did, with the following simple links:

<a href="javascript:jmolScript('save state')">save</a>
<a href="javascript:jmolScript('console;show state')">show</a>
<a href="javascript:jmolScript('restore state')">restore</a>

or you can make it fancier by having multiple states so you can go back 
and forth between two models:

<a href="javascript:jmolScript('save state A')">save A</a>
<a href="javascript:jmolScript('console;show state A')">show A</a>
<a href="javascript:jmolScript('restore state A')">restore A</a>

<a href="javascript:jmolScript('save state B')">save B</a>
<a href="javascript:jmolScript('console;show state B')">show B</a>
<a href="javascript:jmolScript('restore state B')">restore B</a>

etc. Or, of course, the Jmol.js equivalents.

What we are looking for:

1) You should be able to save one state, then completely change the 
model, and when you click on "restore" you should be back to where you 
were when you saved the state.

2) You should be able to clip the "show" script into a script file and 
run it (from the same directory) to return to the place you left off.

This should be the case regardless of what you have on the page. That 
includes solvent surfaces, complex polyhedra/connect sequences, space 
groups, molecular orbitals, multiple files, multiple files inline, the 
works. (Hmm, some aspects of animations may be missing. I didn't look 
into that.) I'm sure I missed a few flags, but my limiting testing at 
http://www.stolaf.edu/academics/jmol/docs/examples-11/new.htm suggests 
it actually does work for the most common situations.

If there is anything whatsoever different between the two models -- 
saved and restored -- please send me the serialization script and also a 
comment about what it was supposed to do and what it actually did.

Note again that this is not a "script history". It is a "script 
snapshot" that characterizes the current state of the model without 
regard to its history. It is a true serialization of the objects and 
settings that characterize the model.

Thank you all for testing this. I'm REALLY taking a break now! Let's 
choose a date now for 11.0, and I will stay out of it except for bug fixes.

Bob







-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to