Re: [Jmol-users] Fwd: Getting data back from jmol command line

2013-08-18 Thread Robert Hanson
The WRITE command writes pixel for pixel exactly what is on the screen, provided you are using set antialiasDisplay so perhaps it's an issue with that. You could always use zoom 80 zoom 90 (as in percent) to get a bit more margin before issuing the WRITE command. Bob On Sun, Aug 18, 2013

Re: [Jmol-users] Fwd: Getting data back from jmol command line

2013-08-18 Thread James
Works great! I had forgotten about backticks because I was using "system." I had some awful syntax issues (I'm on windows - my double quotes versus single quotes seem to work backwards form what your code uses sometimes - I'm on windows, wonder if that matters), but got it working, which I would no

Re: [Jmol-users] new Jmol feature: rotate BEST

2013-08-18 Thread Robert Hanson
For example, your database shows structures. What's the best default orientation to show such that the longest side of the box is along X and the shortest depth is toward the user? rotate BEST Bob On Sun, Aug 18, 2013 at 4:57 AM, Angel Herráez wrote: > Hi Bob > > Interesting. I'm still guess

Re: [Jmol-users] Fwd: Getting data back from jmol command line

2013-08-18 Thread Rolf Huehne
Am 18.08.2013 20:09, schrieb Rolf Huehne: > In Perl it could look like this (not tested): > > -- > chdir("my_jmol_path"); > my @jmol_output = `java -jar JmolData.jar -n -J 'function > my_print(value) {for (var z in value.lines) { print "DATA:\t" + z; }} > my_print("Hello from Jm

Re: [Jmol-users] Fwd: Getting data back from jmol command line

2013-08-18 Thread Rolf Huehne
Am 18.08.2013 18:12, schrieb James: > The second scenario - I never even see the GUI. I am using jmol.jar, not > the applet (although I gather the distinction between the two or at > least packaging of the applet, has changed recently). > The easiest way to invoke a program and get the results back

Re: [Jmol-users] Fwd: Getting data back from jmol command line

2013-08-18 Thread James
The second scenario - I never even see the GUI. I am using jmol.jar, not the applet (although I gather the distinction between the two or at least packaging of the applet, has changed recently). Sincerely, James Ryley, PhD, Patent Agent SumoBrain: Intellectual Property Solutions & Data AcclaimIP <

Re: [Jmol-users] Fwd: Getting data back from jmol command line

2013-08-18 Thread Rolf Huehne
Am 18.08.2013 17:30, schrieb James: > Hi, > > This is probably a dumb question, but I've gone too long without > figuring this out. I'm using Perl, but I assume this would apply to any > language other than Javascript where one cannot simply access Jmol's > data structures: > > How do I get data ou

[Jmol-users] Fwd: Getting data back from jmol command line

2013-08-18 Thread James
Hi, This is probably a dumb question, but I've gone too long without figuring this out. I'm using Perl, but I assume this would apply to any language other than Javascript where one cannot simply access Jmol's data structures: How do I get data out of Jmol and into my script? Sending commands is

Re: [Jmol-users] replacement by a picture

2013-08-18 Thread Pshemak Maslak
On 8/18/2013 6:18 AM, Angel Herráez wrote: > I'm not sure I understand the css/printing business. Me either, but Pshemak said he wanted a substitute image for the printed version, and seemed to imply that the regular model does not print. What I am seeing is indeed that the browser prints th

Re: [Jmol-users] replacement by a picture

2013-08-18 Thread Angel Herráez
> I'm not sure I understand the css/printing business. Me either, but Pshemak said he wanted a substitute image for the printed version, and seemed to imply that the regular model does not print. What I am seeing is indeed that the browser prints the HTML5 version all fine. For the Java applet

Re: [Jmol-users] new Jmol feature: rotate BEST

2013-08-18 Thread Angel Herráez
Hi Bob Interesting. I'm still guessing what this would be useful for but, since you mention the box, it could be nice to have a way to draw that box also, with or without the rotation. ? -- Get 100% visibility into