right, average "centroid" of (atom expression). One of the lines in the demo, for example, goes from the center point between the two oxygens (oxygen) to the average position of the nitrogens (nitrogen).
Or the centerpoint of the model (all)

There are lots of interesting possibilities here -- being able to reference a point, for example, in another structure:

draw point1 (atomno=1 or atomno=2 or atomno=3)

draw line1 [point1] (atomno=10)

This draws a line (which of course might be measured!) from the average location of atoms 1-3 to atom 10.

Bob



Miguel wrote:

Hi Bob,

I have been lied low while trying to keep up with all the things you
are up too. Wow!!!

In any case, I think a nice feature would be to also be able to
define lines (or extruded objects) that do not necessarily go through
atoms, but possibly the geometric center of a set of atoms.


Yes. I believe that if a set of atoms is specified then the average of the
points will be used.


Miguel



-------------------------------------------------------
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_______________________________________________
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

"Imagination is more important than knowledge."  - Albert Einstein


-------------------------------------------------------
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

Reply via email to