thanks, this is just what I need. Again, this prerelease should be 
seen as experimental -- there are bound to be problems; I need all the 
help I can get testing it, like what Rolf did here. Angel, can you 
check it out with your site? I realize the definitions aren't there, 
so you would have to tack on a script command to re-read the definitions.

Rolf, so you mean

   define ~mydef whatever

Those don't get saved as part of the state. Of course.... that's 
important. Should be able to do that.

Color inheritance -- that's the kind of thing I thought might break. I 
know what to check now.

Two things I'm realizing:

1) This is useful for more than just a way of saving and restoring the 
current state. It's been very helpful for me just to see what Jmol is 
doing. And the list itself actually can be very informative for all 
sorts of other purposes.

2) Note the difference between what this is an a "history". The idea 
here is to actually define the current state without regard to how it 
was arrived at. It's an interesting challenge. If I can get this to 
work, it will really help define what Jmol does.

Bob



Rolf Huehne wrote:

> Bob Hanson wrote:
> 
>>Something new for Jmol that a number of people have been asking for and 
>>I finally figured out how to implement:
>>
>> show state
>>
>>Along with this is a "state" command on the console and a "show state" 
>>menu item on the pop-up menu.
>>
>>This command delivers a sequence of Jmol script commands (a 
>>"serialization") that (in principle) should deliver you from scratch to 
>>the current state, including all the models loaded, all the rendering, 
>>all the connections made, and oriented correctly.
>>
>>That said, it doesn't do this. Note the word "should". It still needs 
>>some work -- it's pretty close -- but there are some issues still to 
>>work on. Still, I thought it would be good to get this out so that 
>>people can let me know what is most important to add to the capability. 
>>Don't expect it to work perfectly -- it was a lot of coding, and I was 
>>working pretty fast.
>>
>>What's there and needs testing:
>>
>>single/mutliple file loading
>>frame/model changing
>>spacefill
>>backbone, cartoons, halos, meshribbon, ribbon, rockets, stars, strands, 
>>trace
>>draw, echo, measurements, polyhedra
>>axes, boundbox, frank, unitcell
>>conformation, connect
>>
>>What's missing:
>>
>>wireframe, animation, dipoles, isosurfaces, LCAO cartoons, molecular 
>>orbitals, pmesh, vibrations, various global settings, like "strands 5" 
>>are not reproduced, other?????
>>
>> 
> 
> I used the 'bleeding edge' ZIP file to test it. At a first glance it
> seems to work quite well, but there is one very important thing missing:
>    user defined sets
> 
> Since almost any function in our Jmol interface is based upon user
> defined sets, almost nothing works any more after loading a saved state.
> So detailed testing is quite difficult for me right now.
> 
> 'set display selected/none' is also missing. It is not very important,
> but it would be nice if it could be included.
> 
> It looks as if inheriting colors is broken. If I provide for example
> "color cartoon none; color atom cyan;", the cartoon keeps its old color.
> 
> Regards,
> Rolf
> 
> -------------------------------------------------------------------------
> 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-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

-- 

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein

-------------------------------------------------------------------------
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-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to