Re: [Jmol-users] Jmol restore Applet

2012-06-15 Thread Martin Hediger
Hi Bob, thanks for your answer. First of all, my question would be what's the best way to restore the state? Second, 1.1 and 2.1 are rotatable. 3.1 not. I'm trying to do it with the signed applet (useing save script with state) and it seems to work, but I'm highly suscpicious about anything

Re: [Jmol-users] renaming Object Jmol files

2012-06-15 Thread Angel Herráez
Jmol_object.js sounds better to me and gl-matrix-min.js -- Jmol_GLmatrix.min.js 1. better use capitalized GL as in others 2. from what I've seen, a dot is common before min. You can choose it minimized or not --

Re: [Jmol-users] Jmol restore Applet

2012-06-15 Thread Robert Hanson
Martin, I can't remember if you mean (a) restore from a few minutes ago within this session or (b) restore from a previous session using data saved on the server So I will use this opportunity to discuss different ways to save the state, some of which are very new and only a couple of us are

Re: [Jmol-users] renaming Object Jmol files

2012-06-15 Thread Robert Hanson
I remember now why I want it separate files. We want users to work within JmolApi.js. Those are the public methods; all the others are private. So maybe it's Jmol_Core.js (Core, Applet, and Controls) and Jmol_Api.js (Corresponding to older Jmol.js) Bob On Fri, Jun 15, 2012 at 4:36 AM, Angel

Re: [Jmol-users] select molecules based on xy coordinates

2012-06-15 Thread Robert Hanson
Ah, interesting question. OK. Let's see. You can now! version=12.3.30 # new feature: atom properties sx, sy, sz, and sxyz -- screen coordinates select sx 200 sx 205 etc. Bob On Fri, Jun 15, 2012 at 10:43 AM, Benn Snyder benn.sny...@gmail.com wrote: Basically, I have xyz

Re: [Jmol-users] select molecules based on xy coordinates

2012-06-15 Thread Benn Snyder
Brilliant! Any way to draw a point at sx, sy so I can see what I'm doing? Also, can the socket interface send messages back, e.g. Jmol's current resolution? This would allow me to convert from one coordinate system to the other. No rush on these; I won't get a chance to continue work until

Re: [Jmol-users] select molecules based on xy coordinates

2012-06-15 Thread Robert Hanson
draw pt [100 200] the [ ] means 2D coordinate Ah, but I see a slight problem there. That's from the bottom, not the top, in Y. I'm not sure I want to futz with that. Yes I do. I will fix sy to be screenHeight - what it is now. On Fri, Jun 15, 2012 at 2:42 PM, Benn Snyder benn.sny...@gmail.com

[Jmol-users] write image broken in Jmol 12.3.30

2012-06-15 Thread Oliver Stueker
Hi Bob, I just noticed that write image seems to be broken in Jmol 12.3.30: $ write image test.png JPG64 $ write image test.jpeg JPG64 12.3.29 still worked. Oliver -- Live Security Virtual Conference Exclusive live

Re: [Jmol-users] write image broken in Jmol 12.3.30

2012-06-15 Thread Robert Hanson
argh. My bad. Nico, I've deleted the release for 12.3.30. On Fri, Jun 15, 2012 at 4:20 PM, Oliver Stueker revilo2...@users.sourceforge.net wrote: Hi Bob, I just noticed that write image seems to be broken in Jmol 12.3.30: $ write image test.png JPG64 $ write image test.jpeg JPG64

Re: [Jmol-users] mapping data on planar isosurfaces

2012-06-15 Thread Robert Hanson
Oliver, It's a bug. I can stop that from crashing, but actually WITHIN and PLANE are not compatible (I guess), and that really looks bad. The way to do this now is this: ISOSURFACE my_iso PLANE {0 0 1 -15 } RESOLUTION 3.0 map property isosurface slab within 3 {protein} Isosurface slab is

Re: [Jmol-users] mapping data on planar isosurfaces

2012-06-15 Thread Robert Hanson
see http://chemapps.stolaf.edu/jmol/Jmol-12.zip On Fri, Jun 15, 2012 at 5:03 PM, Robert Hanson hans...@stolaf.edu wrote: Oliver, It's a bug. I can stop that from crashing, but actually WITHIN and PLANE are not compatible (I guess), and that really looks bad. The way to do this now is this:

Re: [Jmol-users] mapping data on planar isosurfaces

2012-06-15 Thread Oliver Stueker
Great! Thanks a lot Bob!!! Best, Oliver On Fri, Jun 15, 2012 at 4:14 PM, Robert Hanson hans...@stolaf.edu wrote: see http://chemapps.stolaf.edu/jmol/Jmol-12.zip On Fri, Jun 15, 2012 at 5:03 PM, Robert Hanson hans...@stolaf.edu wrote: Oliver, It's a bug. I can stop that from crashing,