Joachim,

 

No, just a clarification:

 

zoom center, distance

 

where distance is a number is merely a special-case use of:

 

zoom selection, buffer

 

In that the pseudo selection "center" is just a fixed point in space, so
buffer can be thought of as being a distance defining a box around that
point.  

 

Cheers,

Warren

 

  _____  

From: Joachim Reichelt [mailto:joachim.reich...@helmholtz-hzi.de] 
Sent: Thursday, September 18, 2008 7:35 AM
To: DeLano Scientific
Cc: pymol-users@lists.sourceforge.net
Subject: Re: [PyMOL] zoom relative and absolute

 

So there something missing in the "manual" at
http://www.pymolwiki.org/index.php/Zoom

zoom [ selection [,buffer [, state [, complete ]]]]
 
Where is the distance here???
Did you just add this today to the text?



Am 17.09.2008 23:09, DeLano Scientific schrieb: 

Joachim,
 
The trick with that is the same as in real life:  you must place the camera
the same distance from each object you intend to photograph.  But how can we
do this with PyMOL?
 
Ah ha! I've got it
 
The "center" command positions and points the camera at the molecule.
 
center object-name
 
And then you can use the "zoom" command with the "center" keyword to specify
how much to zoom around that point.  For example:
 
zoom center, distance
 
Just use the same value (e.g. 20) with the "zoom center, ..." command and
you'll always get the same scaling (for a fixed aperture / window size /
aspect ratio).
 
load obj1.pdb
center obj1
zoom center, 20
ray
png img1.png
 
delete all
 
load obj2.pdb
center obj2
zoom center, 20
ray
png img2.png
 
Cheers,
Warren
 
--
DeLano Scientific LLC
Subscriber Support Services
mailto:supp...@delsci.com
 
 
-----Original Message-----
From: pymol-users-boun...@lists.sourceforge.net
[mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf Of Joachim
Reichelt
Sent: Wednesday, September 17, 2008 5:03 AM
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] zoom relative and absolute
 
Hallo,
 
we want to create a set of pictures from different molecules but the zoom
value should all be the same.
ANd is there an easy way to zoom in or out by e.g. 5%?
--
Joachim
 
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes Grand prize is a trip for two to an Open Source event anywhere in the
world http://moblin-contest.org/redirect.php?banner_id=100
<http://moblin-contest.org/redirect.php?banner_id=100&url=/> &url=/
_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users
 
  

 

-- 


<<image001.gif>>

Reply via email to