Miguel, have I got this wrong?
show center
Delivers the coordinates of the center of the model. Units are in Angstroms. Output is in
the form
center: (centerX, centerY, centerZ)
This is static, right? Ooh -- no, it's not. It changes when the molecule is
recentered.
That's interesting -- a way to get the coordinates of a particular atom shown:
center [CYS]4.O;show center;center
It should probably read "current display center"?
Bob
Miguel wrote:
Is there a way to get Jmol to tell me the current centerAt boundbox
coordinates, once I have changed the center by a command such as
"center 124:a.ca" ?
Not sure exactly what you are asking with the phrase 'current centerAt
boundbox'
Here is some stuff in random order that might help:
For a given molecule, the boundbox is always the same. The axes are drawn
from the center of the boundbox to the centers of the faces of the
boundbox. Since the boundbox is always the same the axes are always the
same.
set boundbox on;
set axes on;
With recent versions of Jmol, the default center is the center of the
boundbox. You can show the center coordinates with:
show center;
You can then change the center in a number of ways
center <some-set-of-atoms>; show center;
Or, you can use the centerAt command:
centerAt average; show center;
centerAt boundBox; show center;
centerAt absolute 0 0 0; show center;
It is somewhat complicated, but 'average' and 'boundbox' can also take
relative offsets. In the sample below, the second command will have the
center be 10 anstroms along the X axes to the right of the default
boundbox.
centerAt boundBox; show center;
centerAt boundBox 10 0 0; show center;
Miguel
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&opÌk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
--
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 the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users