The flurry of commits today is part of the overall testing for the new
show state
save state
restore state
I'm happy to report that this is going very smoothly. It's taking some
time to shake it out, but I think tomorrow I should be done and we can
release 10.9.98. Just testing it locally, it's pretty startling to load
one model, do a bunch of things, then
save state A
then load a totally different model, do something else, and
save state B
then at a whim
restore state A # first model, right where I left it
restore state B # second model, right where I left it
This works, and as a bonus we have a VERY tightly organized set of
global variables now. I keep finding nuances that prevent me from saying
"it works perfectly", but each one is simply a matter of adding one more
little piece to the puzzle in the right place.
Currently the state looks something like this:
# Jmol state version 10.9.98 2006-11-12 23:19
# window state (height=350 width=350)
background [x000000];
# file loading state:
set defaultDirectory "data";
set autoBond true;
set forceAutoBond false;
set zeroBasedXyzRasmol false;
set percentVdwAtom 20;
set bondRadiusMilliAngstroms 150;
set minBondDistance 0.4;
set bondTolerance 0.45;
load "1myg.cif";
# settings:
set defaultcolorscheme jmol;
set axesorientationrasmol false;
set forceautobond false;
set bondmodeor true;
set perspectivedepth false;
set axesUnitcell;
# special commands:
# model state:
set measures nanometers;
font measures 15 SansSerif Plain;
select ({1210:1221 1357:1361 1543:1617 1822:1886 1961:1996 2152:2191
2388:2416});
Cartoon 0.25;
select ({1222:1356 1362:1542 1618:1821 1887:1960 1997:2151 2192:2387});
Cartoon 1.5;
unitcell off;
frank on;
color frank [x808080];
font frank 16 SansSerif Bold;
# orientation/center/spin state:
set refreshing false;
moveto 0.0 {0 0 1 0} {51.232002 5.2074986 22.836} 57.2;center {51.232002
5.2074986 22.836};
slab 100;depth 0;
set refreshing true;
# selection state:
select ({1210:2416 2470:2512});
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers