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 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 socket from Python. > > Someone should try that; we could develop it more if necessary. > > Any interest? > > Bob > > > -- > Robert M. Hanson > Larson-Anderson Professor of Chemistry > Chair, Department of Chemistry > 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 > ------------------------------------------------------------------------------ > _______________________________________________ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > ------------------------------------------------------------------------------ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users