From: Nicolas Vervelle <nvervell@cl...> - 2006-11-17 05:30:58
New in 10.9.99 available at http://www.jmol.org/files :
--full serialization (saving of the current state as a file that can be
--save/restore of state:
save state [optional_name]
restore state [optional_name]
--export the current state to the clipboard or a file
write script clipboard
write script "filename"
set defaultVibrationScale x.xx
set defaultVibrationPeriod x.xx
set defaultVectorScale x.xx
Defaults for these are all 1.0. The values set by
vector scale x.xx
vibration scale x.xx
no longer persist past file loading. Instead, you can set those
defaults, and they will take effect each time a new file loads. This was
necessary for defining the state precisely. Similarly,
set strands 5
is now file-load specific.
--data separator. You can now load multiple file types inline. This was
also needed for serialization, and it will ultimately allow for a single
file to have the entire encapsulation of the state, including the model.
Simply define a separator and then use that separator between models.
set dataSeparator "~~~";
data "model test"|2|test|C 0 0 1|N 0 1 0|~~~2|test2|Al 0 0 3|Fe 0 4
0|end "model test";