Hi, Robert:
I have tried "translate {x,y,z}". But the result I got is not as I
expected. It did moved the whole structures, but it didn't move it along
the vector (x,y,z). If it moved the whole structure correctly.
Let's say the original coordinator of an atom is (X,Y,Z). The coordinator
after I ran translate is (newX,newY,newZ). So newX-X=x,newY-Y=y,newZ-Z=z.
But now I got some value other than (x,y,z). So I got confused.
But I haven't tried translateSelected, I'll try it to see if I got the same
result.
Thank you.
> 12. Re: Does Jmol has a script to do the translation? (Robert Hanson)
>
> Message: 11
> Date: Wed, 5 Mar 2014 21:46:00 -0330
> From: "jiayi.zhou" <[email protected]>
> Subject: [Jmol-users] Does Jmol has a script to do the translation?
> To: [email protected]
> Message-ID:
> <CA+ortVBb8OJ=ACZ-7f=q3aXa7=U_d_bS-mO=
> [email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I want to move the center of a structure to a certain point such as
> (x,y,z).
> I have tried script "moveto" and "translate". It seems they are not doing
> what I want.
> Could you please guide me how to do that?
>
> --
> Aiden/Jiayi Zhou
>
> Office Tel: 709-864-4891
> Master Candidate
> Dept. of Computer Science
> Memorial University of Newfoundland
> St. John's, NL, Canada, A1B 3X5
>
> P I*f you decide to print this...*
>
> * then you'll need to find a place to file it...!*
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 12
> Date: Thu, 6 Mar 2014 02:20:33 -0600
> From: Robert Hanson <[email protected]>
> Subject: Re: [Jmol-users] Does Jmol has a script to do the
> translation?
> To: "[email protected]"
> <[email protected]>
> Message-ID:
> <CAF_YUvVxGv0u2Y=
> [email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> translate selected ....
>
> will change the coordinates. Is that what you want?
>
> You will need to know the vector along which to move the atoms. See the
> documentation.
>
>
> On Wed, Mar 5, 2014 at 7:16 PM, jiayi.zhou <[email protected]> wrote:
>
> > I want to move the center of a structure to a certain point such as
> > (x,y,z).
> > I have tried script "moveto" and "translate". It seems they are not doing
> > what I want.
> > Could you please guide me how to do that?
> >
> > --
> > Aiden/Jiayi Zhou
> >
> > Office Tel: 709-864-4891
> > Master Candidate
> > Dept. of Computer Science
> > Memorial University of Newfoundland
> > St. John's, NL, Canada, A1B 3X5
> >
> > P I*f you decide to print this...*
> >
> > * then you'll need to find a place to file it...!*
> >
> >
> >
> ------------------------------------------------------------------------------
> > Subversion Kills Productivity. Get off Subversion & Make the Move to
> > Perforce.
> > With Perforce, you get hassle-free workflows. Merge that actually works.
> > Faster operations. Version large binaries. Built-in WAN optimization and
> > the
> > freedom to use Git, Perforce or both. Make the move to Perforce.
> >
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Jmol-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jmol-users
> >
> >
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to
> Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries. Built-in WAN optimization and
> the
> freedom to use Git, Perforce or both. Make the move to Perforce.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>
> ------------------------------
>
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
> End of Jmol-users Digest, Vol 94, Issue 3
> *****************************************
>
--
Aiden/Jiayi Zhou
Office Tel: 709-864-4891
Master Candidate
Dept. of Computer Science
Memorial University of Newfoundland
St. John's, NL, Canada, A1B 3X5
P I*f you decide to print this...*
* then you'll need to find a place to file it...!*
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users