OK! Here we go. I have completed a full rewrite of spin/rotate/center.
I still have a day of testing to do on it, but it's very clean.
The old "spin x, spin y, spin z, spin on/off" is still there, but
I consider it deprecated. FAR better is a full complement of
INTERNAL and FIXED frame rotations and spinning involving
x, y, z, -x, -y, -z, arbitrary axisangle [x y z], designation
of (atom sets) [x y z] coordinates, and [line1] draw objects
for both fixed and internal spinning and rotating, and designation
of two coordinates or two atom sets or an atom set and a coordinate
for internal coordinate spinning. Test page will be at
http://www.stolaf.edu/people/hansonr/jmol/test/json/spin.htm
momentarily.
*
* spin and rotate are now consolidated here.
* The old "spin x, spin y, spin z" is still there, but
* pretty much deprecated because it is not that useful.
* spin on and spin off still work as well -- and are important
*
* far simpler is
*
* spin x 10
* spin y 10
*
* these are pure x or y spins or
*
* spin axisangle [1 1 0] 10
*
* this is the same as the old "spin x 10; spin y 10" -- or is it?
* anyway, it's better!
*
* note that there are many defaults
*
* spin
* spin 10
* spin x
*
* and several new options
*
* spin -x
* spin axisangle [1 1 0] 10
* spin 10 (atomno=1)(atomno=2)
* spin 20 [0 0 0] [1 1 1]
*
* The INTERNAL keyword indicates that spins or rotations are to be
* carried out in the internal molecular coordinate frame, not the
* fixed room frame.
*
*
* Bob Hanson
*
*
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers