Chuck,

As Bob said, latest version means literally the bleeding edge releases 12.2.19 
and 12.3.19.  I had been using the full-fledged Jmol on as server to generate 
images and realized that I could lose the server-side GUI if we could figure 
out how to generate images using a GUI free version of Jmol.  JmolData.jar was 
set up that way for extracting data from molecule files.  When I asked Bob 
about including image file generation he attacked the problem with his usual 
vigor.  Now script commands like "write PNG 'filename.png'" passed to 
JmolData.jar will write a png file of the view specified by the script even if 
the server does not have a GUI running.

Presently, I'm working on this for the python scripted server that supports the 
Web interface for the SageMath Package (www.sagemath.org).  

If you want to see a server running this experimental technology, visit my test 
server at  
http://141.233.196.149:8888
Login as: testJmol with a password of: test.
This is a very wimpy old computer I keep running for test purposes.  Don't 
expect very fast responses.  Anyway, if you click on any of the 
pages/worksheets listed after you log in, you should see pages that use Jmol to 
display 3-D objects.  The displays initially are static .png images generated 
by JmolData.jar running on the server.  Jmol only becomes live when you click 
on the "make interactive" button.

So the way to do this is generate system calls from your scripting engine like 
this:

java -jar "path to JmolData.jar" -iox -s "path to script that loads molecule 
and sets view" -J "write 'filename.png'"

Jonathan


On Mar 29, 2012, at 10:07 AM, Charles Harrison Shubert wrote:

> Hi Johathan,
> 
> Could you say more about what "latest version" means, how to run JmolData.jar 
> headless on the server, and  how it works as an image generator?  This might 
> be a very nice way for me to get the iPad functionality I'm looking for.
> 
> Thanks,
> 
> --Chuck
> 
> On Mar 29, 2012, at 10:08 AM, Gutow, Jonathan H wrote:
> 
>> The latest version of JmolData.jar can be run headless on the server to 
>> generate image files.

                        Dr. Jonathan H. Gutow
Chemistry Department                                 gu...@uwosh.edu
UW-Oshkosh                                           Office:920-424-1326
800 Algoma Boulevard                                 FAX:920-424-2042
Oshkosh, WI 54901
                http://www.uwosh.edu/facstaff/gutow/


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to