Alexander, are talking about just wanting to have the isosurface in JVXL
form when you write a PNGJ file?
I'm working on a solution to that, but it isn't quite this. The isosurface
option will be CACHE, and what it will do is this:
new feature: isosurface CACHE
-- parameter CACHE along with isosurface creation or alone instructs Jmol
to
immediately create JVXL data for the specified surface and to load
that data instead.
The surface remains in memory (in this version of Jmol) can can be
used again
using cache://isosurface_<ID> where <ID> is the isosurface ID such as
"isosurface1".
-- The command ISOSURFACE CACHE alone will cache the current isosurface
-- If the cache is no longer needed, then RESET CACHE will release the
memory used to hold the JVXL data for the isosurface
-- The result should be essentially equivalent to the original command.
(It is recommended that the original be a relatively simple command,
because not all nuances
of an isosurface may be stored in the JVXL data.)
-- THIS OPTION IS NOT COMPATIBLE WITH SAVING THE STATE AS AN SPT FILE.
-- Instead, one needs to save the state in PNGJ or JMOL format, where the
cached isosurface
can be reloaded from a file saved in the PNGJ or JMOL zip directory
Interestingly, you can use "cache://isosurface_xxx" for the name of the
file in an ISOSURFACE command, and Jmol will load the isosurface again.
This means that you can cache an isosurface, reload the model or load a
different model, and "uncache" the isosurface again to effectively transfer
the isosurface to a new model.
A bit experimental!
Bob
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users