As a follow-up (if means anything): I get exactly the same behavior when I
type the commands into the console: the dotted lines for the angles are
drawn, but *the value of the angle is not drawn in the applet*.  In this
case the angle value is actually calculated and reported in the console
output (it wasn't from my html link activation):

set pickingStyle MEASURE;set picking MEASURE ANGLE;
Script completed
Jmol script terminated
pending
Atom #1:[086]1:Z.C6 #4204
Atom #2:[086]1:Z.C1 #4209
Atom #3:[086]1:Z.C2 #4208
Angle [086]1:Z.C6 #4204 - [086]1:Z.C1 #4209 - [086]1:Z.C2 #4208 : 118.205696
measureCompleted: [3, 2097, 2100, 2099, 118.2 °]
Script completed

-Tom

On Sat, Apr 19, 2008 at 12:24 PM, Thomas Stout <[EMAIL PROTECTED]>
wrote:

>
> OK - thanks -- I've probably been distracted by the fact that the Distance
> and Torsion measurements are working fine & that the Angle appears to be
> working but just doesn't draw the value....I'll parse my full page more
> carefully and see if I can find where things are going wonky.....
>
> -Tom
>
>
> On Sat, Apr 19, 2008 at 12:10 PM, Bob Hanson <[EMAIL PROTECTED]> wrote:
>
> > I don't think so. It is measuring angles from the measure reports. And
> > when I try these commands they work great. Try those commands from the
> > Jmol console; I'm guessing something is still wrong with your
> > JavaScript.
> >
> > Thomas Stout wrote:
> >
> > >
> > > Hmmm.  Thanks Bob -- That seemed like my obvious mistake, but
> > > correcting it didn't seem to help.  Here is the output from the
> > > console history when I activate the Angle measuring versus Distance
> > > measuring:
> > >
> > > set pickingStyle MEASURE;set picking MEASURE ANGLE;
> > > measure (atomIndex=2097) (atomIndex=2100) (atomIndex=2099)
> > > measure (atomIndex=2100) (atomIndex=2102) (atomIndex=2097)
> > > measure (atomIndex=2097) (atomIndex=2096) (atomIndex=2095)
> > > Script completed
> > > Jmol script terminated
> > > Script completed
> > > Jmol script terminated
> > > Atom #1:[086]1:Z.C15 #4211
> > > Atom #2:[086]1:Z.N3 #4195
> > > Distance [086]1:Z.C15 #4211 - [086]1:Z.N3 #4195 : 4.8738594
> > > measureCompleted: [2, 2102, 2090, 4.87 Å]
> > > Script completed
> > > Jmol script terminated
> > >
> > > Jmol seems to actually not be measuring the angle, while it does
> > > measure the Distance (or torsion).  Am I still not properly activating
> > > the Angle measurement somehow?
> > >
> > > Thank you very much,
> > > Tom
> > >
> > > On Sat, Apr 19, 2008 at 4:58 AM, Bob Hanson <[EMAIL PROTECTED]
> > > <mailto:[EMAIL PROTECTED]>> wrote:
> > >
> > >     Tom, I think it's your links. The command is
> > >
> > >     set pickingStyle MEASURE
> > >
> > >     not
> > >
> > >     set pickingStyle MEASURE ON
> > >
> > >     Bob
> > >
> > >     Thomas Stout wrote:
> > >
> > >     >
> > >     > Hmmm.....is anyone else using interactive measurements?  I've
> > just
> > >     > added links to a web page to turn "on" and "off" the
> > >     measurements mode
> > >     > (so that someone could interactively measure
> > >     distances/angles/torsions
> > >     > of interest and then turn it off again).  Distance and Torsions
> > work
> > >     > just fine, but I find that Angles -- while displaying the dotted
> > >     lines
> > >     > of the two "arms" of the selected angle -- do not display the
> > actual
> > >     > measurement (ie, 109.5 degrees).  Here are my links:
> > >     >
> > >     > <a href="javascript:jmolScript('set picking MEASURE DISTANCE;set
> > >     > pickingStyle MEASURE ON;set measurements angstroms;');">Activate
> > >     > Distance Measuring</b></a> <a href="javascript:jmolScript('set
> > >     > pickingStyle MEASURE OFF;');">Off</a><br>
> > >     > <a href="javascript:jmolScript('set picking MEASURE ANGLE;set
> > >     > pickingStyle MEASURE ON;');"><b>Activate Angle Measuring</b></a>
> > <a
> > >     > href="javascript:jmolScript('set pickingStyle MEASURE
> > >     OFF;');">Off</a><br>
> > >     > <a href="javascript:jmolScript('set picking MEASURE TORSION;set
> > >     > pickingStyle MEASURE ON;');"><b>Activate Torsion
> > >     Measuring</b></a> <a
> > >     > href="javascript:jmolScript('set pickingStyle MEASURE
> > >     OFF;');">Off</a><br>
> > >     >
> > >     > I'm using Jmol version 11.4.0 and the behavior is the same in
> > IE6 on
> > >     > WindowsXP and in Firefox 2.0.0.4 <http://2.0.0.4>
> > >     <http://2.0.0.4> on linux.
> > >     >
> > >     > Any thoughts about what I may be missing here?
> > >     > Thanks!
> > >     > -Tom
> > >     >
> > >
> > >------------------------------------------------------------------------
> > >     >
> > >
> > >-------------------------------------------------------------------------
> > >     >This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > >     >Don't miss this year's exciting event. There's still time to save
> > >     $100.
> > >     >Use priority code J8TL2D2.
> > >     >
> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > >     >
> > >
> > >------------------------------------------------------------------------
> > >     >
> > >     >_______________________________________________
> > >     >Jmol-users mailing list
> > >     >[email protected]
> > >     <mailto:[email protected]>
> > >     >https://lists.sourceforge.net/lists/listinfo/jmol-users
> > >     >
> > >     >
> > >
> > >
> > >     --
> > >     Robert M. Hanson
> > >     Professor 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
> > >
> > >
> > >
> > >
> > -------------------------------------------------------------------------
> > >     This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > >     Don't miss this year's exciting event. There's still time to save
> > >     $100.
> > >     Use priority code J8TL2D2.
> > >
> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > >     _______________________________________________
> > >     Jmol-users mailing list
> > >     [email protected]
> > >     <mailto:[email protected]>
> > >     https://lists.sourceforge.net/lists/listinfo/jmol-users
> > >
> > >
> >
> > >------------------------------------------------------------------------
> > >
> >
> > >-------------------------------------------------------------------------
> > >This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > >Don't miss this year's exciting event. There's still time to save $100.
> > >Use priority code J8TL2D2.
> > >
> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > >
> >
> > >------------------------------------------------------------------------
> > >
> > >_______________________________________________
> > >Jmol-users mailing list
> > >[email protected]
> > >https://lists.sourceforge.net/lists/listinfo/jmol-users
> > >
> > >
> >
> >
> > --
> > Robert M. Hanson
> > Professor 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
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > Don't miss this year's exciting event. There's still time to save $100.
> > Use priority code J8TL2D2.
> >
> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > _______________________________________________
> > Jmol-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jmol-users
> >
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to