Done. (Took less that 30 seconds because of the spreadsheet! :)

see

http://www.stolaf.edu/people/hansonr/jmol/docs/testdoc.htm?search=anim


(note--I also implemented the column for descriptions of "subcommands")

Bob

ps--I've really learned a lot reading this "token" business. The nice thing is that when I change a definition of, say "shape-token" it is on the definitions page and automatically adjusts all scripts. Something like this definitely needs to be implemented in the php database--we really should NOT have to go change every occurance of a definition.

Miguel wrote:

It will pause 1 second on the first frame, play, and pause .5 seconds on
the last frame ... repeatedly.



Three numeric parameters are required. We have:

 void animationMode() throws ScriptException {
   if (statementLength != 3 && statementLength != 6)
     badArgumentCount();

and

viewer.setAnimationReplayMode(animationMode,
                                 floatParameter(3),
                                 floatParameter(4),
                                 floatParameter(5));


I see now that the last two do what you say. What does the first one do?



The first was was a separate delay on the first frame which only applied the first time. That is, I want to delay 0.5 seconds on the first time, but 1 second subsequently.

It seemed like a good idea, but I think it is too hard to explain to people.



Right now I'll say that first one is "[param-ignored]"



No. Just say that it does not exist. I will delete it today.



see
http://www.stolaf.edu/people/hansonr/jmol/docs/testdoc.htm?search=animation



OK



Q: What exactly do the parameters in "set echo" do?



There are three echo areas: top, middle, and bottom.

In each of these areas you can align left, center, or right.

When you say 'set echo top left' you are now saying that subsequent echo
commands should be directed to the top left.



fabulous!

see
http://www.stolaf.edu/people/hansonr/jmol/docs/testdoc.htm?search=echo&#.set%20(misc)



OK



Q: In functions such as "set specular" and "set ambient" that call for a
percentage, I would have thought the code would be checking for a range
of 0-100. But all we have is getSetInteger().



In many cases the range checking is happening in the actual
implementation
of the routine. That is because these routines could be called directly
by
Java code when the code is incorporated into a larger Java program.

There probably are cases where the range is not being checked, but should
be.




Not a real problem in my opinion.



OK. No Plan To Fix at this time.


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers



--

-- Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr




------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to