Serge,

        The zoom command in the released version is flaky and sometimes causes 
clipping.  I've fixed this in the development version and will be preparing a 
new release shortly.

        The best thing you can do right now is put a large buffer on the zoom 
command...

zoom all,20

etc.

Cheers,
Warren

--
mailto:war...@sunesis.com
Warren L. DeLano, Ph.D.
Informatics Manager
Sunesis Pharmaceuticals, Inc.
341 Oyster Point Blvd.
S. San Francisco, CA 94080
(650)-266-3606  FAX:(650)-266-3501



> -----Original Message-----
> From: Serge Cohen [mailto:co...@embl-grenoble.fr]
> Sent: Monday, September 23, 2002 11:43 AM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] Zooming in, on an atom
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi again,
> 
> This is a different question, I though it was better if I put it in a 
> different eMail:
> 
> I'm trying to produce a movie showing a metal binding site in my 
> protein. I'd like to start from the general (cartoon) view, and then 
> zoom in (or traveling in) to focus on the metal.
> 
> So far I used a loop looking like:
> 
> # Traveling in the site
> diam = 30.0
> final = 6.0
> step = 0.0 + (N.exp((N.log(final) - N.log(diam)) * 1/40))
> for a in range (1, 40):
>    cmd.mdo(a,"zoom ((zn expand %2.9f) & (prot1 or zn)); origin (zn & 
> i;2)"%(diam))
>    diam = diam*step
> 
> 
> The problem is that because atoms "fall off" the zooming selection un 
> regularly, the traveling is unstable (wiggly)... Indeed I 
> have a third 
> object (not zn neither prot1) in the figure, I had to remove 
> it from the 
> zooming because it was only on one side of the site and it was giving 
> even worse unstabilities...
> 
> Does anyone knows better ways to do this king of traveling in?
> 
> Indeed I was first thinking to center each frames on a "moving" point 
> which get closer to the zinc, and have a "progressive" move z at the 
> same time. Unfortunately the only command I found to put a given 
> position in the middle of the screen is to use zoom, and it 
> also change 
> the z position... Am I missing some commands?
> 
> Thanks for any help.
> 
> Serge.
> 
> 
> - ----------------------------------------------------
> Serge Cohen
> 
> GPG Key ID: 1024D/69B1D346
> - ----------------------------------------------------
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (Darwin)
> 
> iD8DBQE9j2CjMygj1Wmx00YRAi6RAJ45zAsff2DEsKTeNJR2ul5BkFURbACfZFaG
> ho6XobfQPkh/a5/4se9HLkI=
> =BqTf
> -----END PGP SIGNATURE-----
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 

Reply via email to