Re: [Jmol-users] python scripting of Jmol

2015-08-10 Thread Dean Johnston
I’ve just started playing around with the CSD Python API (https://downloads.ccdc.cam.ac.uk/documentation/API/) - seems like Jmol would be ideal for displaying results from Python-generated searches. Dean On July 31, 2015 at 2:21:55 PM, Robert Hanson ([email protected]) wrote: Q: Has anyone an

Re: [Jmol-users] python scripting of Jmol

2015-08-01 Thread Robert Hanson
Yes, there is. Mostly undocumented. package org.openscience.jmol.app.jsonkiosk; /* * See also org.molecularplayground.MPJmolApp.java for how this works. * Note that this service does not require MPJmolApp -- it is a package * in the standard Jmol app. * * Listens over a port on the local hos

Re: [Jmol-users] python scripting of Jmol

2015-07-31 Thread emre
Hi Bob, I was thinking about interacting with JMol bidirectionally with JSON from Qt/C++ for a project, but won't have time to look at this for at least 1-2 month... Is there a JSON mapping of script commands? ... it would be nice to have JSON both ways. Cheers, -Emre > Q: Has anyone any experi

[Jmol-users] python scripting of Jmol

2015-07-31 Thread Robert Hanson
Q: Has anyone any experience with Python? I was just thinking that since Jmol can interact via a web socket, receiving script commands and replying with JSON, it should be very easy to script Jmol from Python. It would just be a matter of starting Jmol as a socket listener, then working with that