Re: [Jmol-developers] Interface to fetch model data

2004-02-23 Thread Miguel Howard
Tommi wrote: > So far I have known that I might be given a number of chars that I need > (or can) read from the input. But I don't know what "splitting up" and > "un-escaping" means ; could you give some practical examples of these? Sure, I will tell you exactly what you need to do. What language

Re: [Jmol-developers] Interface to fetch model data

2004-02-23 Thread Tommi Hassinen
On Mon, 23 Feb 2004, Miguel Howard wrote: > Be advised, on the input side you are going to have to decode your > parameters. If I recall correctly, that means that you are going to read > all of stdin and then call a routine to split up the parameters and > un-escape them. So far I have known tha

Re: [Jmol-developers] Interface to fetch model data

2004-02-23 Thread Miguel Howard
Tommi wrote: > I have started to make the cgi-program according the last week's plans. > The input already works (command-line) but I still need to work with > output. When I think it's usable I'll post instructions how you can > download it and try it (tomorrow or Wednesday I hope). Sounds very g

Re: [Jmol-developers] Interface to fetch model data

2004-02-23 Thread Tommi Hassinen
On Mon, 23 Feb 2004, Miguel Howard wrote: > After giving it some thought I realized that one api, the > JmolModelAdapter, should be used for both importing data into Jmol and > exporting data out of Jmol. > > So, I added a method > JmolViewer.getExportModelAdapter() > > Which will return an inst

[Jmol-developers] Interface to fetch model data

2004-02-23 Thread Miguel Howard
Tommi (& Egon) I have done some work on the interface you should use to fetch the data from Jmol. After giving it some thought I realized that one api, the JmolModelAdapter, should be used for both importing data into Jmol and exporting data out of Jmol. So, I added a method JmolViewer.getExpo