[EMAIL PROTECTED] wrote:
>Well, what do you know! The new echo x y capability easily extends to 3D
>
>set echo myecho {x y z}
>set echo myecho (atomno=3)
>set echo myecho (*)
>
>It wasn't "draw", it wasn't "text" or "label" -- it was just the idea of a
>"3D-echo"
>
>You have to love it when it's THAT easy. When you
>
>set echo myecho (*)
>set echo myecho center
>echo X
>
>you get an X as nearly as I can place it centered on the geometric center
>of the molecule. Note that fractional coordinates are allowed.
>
>set echo myecho {1/2 1/2 1/2}
>
>:)
>
>
In contrast to the 'draw object' solution there remains one problem to
be solved.
How do I know which coordinates I must provide to echo to label a
specific draw object?
The 'show draw' command is supposed to show the command to generate the
draw object that is considered as current, including the coordinates of
the reference points. (By the way, it would be more secure if the name
of the draw object could be specified directly, e.g. "show draw $plane1".)
But this only works extremely rare and unpredictable in version 10.9.85
(also in 10.9.79, I havn't checked others).
Take for example this command (PDB entry 1deh):
draw border1 PERP 150 PLANE (5:A and carbon and alpha) (6:A and carbon
and alpha);
The plane is drawn correctly but 'show draw' only outputs "draw border1"
most of the time. (Actually it only worked once, with exactly this
example and a few others in version 10.9.79 but never again that the
four coordinates of the corners were shown.)
The next issue (if 'show draw' works correctly) is to read the
information from Jmol and to generate the corresponding 'echo' command.
To avoid parsing the message callback stream, I tried the
'jmolScriptWait' command for the first time. But it totally freezes
Firefox 1.5.0.7 with Java 1.4.2_11 on SuSE linux 9.3. The browser
freezes independant of the script command I used.
Regards,
Rolf
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users