oooh, now THERE's a challenge....
OK:
translateSelected X ....
translateSelected Y ....
translateSelected Z ....
work now. And, by the way, "translateSelected" is not necessary. You can do
this with the "translate" command itself:
translate X 10 {whatever atom set}
That is, you don't have to select the atoms first, just specify them.
http://chemapps.stolaf.edu/jmol/docs/examples-11/Jmol-11.zip
Bob
On Thu, Mar 4, 2010 at 11:54 PM, Otis Rothenberger <[email protected]>wrote:
> I brought this subject up as an append in an earlier email chain. I should
> have started a new chain, so this is it.
>
> I queried the script behind Jmol's native click/drag translate. Whatever it
> is, I now see that it's captured in _navTranslate. I'm still curious about
> the script behind this, but my real problem involves translating one
> selected molecular fragment and not the other unselected fragment. The
> _navTranslate when bound does not allow selected translation.
>
> While translateSelected works as a bound translation script, the
> translation is relative to the molecular axis. This can get very confusing
> for the user. The nice thing about _navTranslate is that translation is
> relative to the window axis. Does the code behind _navTranslate leave any
> opening for selected translation?
>
> Otis
>
> --
> Otis Rothenberger
> http://chemagic.org
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
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
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users