I use these commands:

cmd.reset()
cmd.origin(position=[0,0,0])
cmd.center("origin")
cmd.move('z',-cmd.get_view()[11])

Raluca


On Thu, 09 Sep 2010 12:11:52 -0400
  Philip Bransford <[email protected]> wrote:
> I am using PyMOL to generate a mesh of a protein. My 
>commands look like 
> this:
> 
> load prot.pdb
> show surface
> save surf.obj
> 
> The mesh surf.obj (or surf.wrl) is rotated and translated 
>relative to 
> the atomic coordinates in prot.pdb. Is there some way to 
>prevent this 
> from happening? For my application I need to interpolate 
>from the mesh 
> to the atomic coordinates, so the two must be aligned.
> 
> Phil
> 
> 
> 
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
> 
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> PyMOL-users mailing list ([email protected])
> Info Page: 
>https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: 
>http://www.mail-archive.com/[email protected]


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]

Reply via email to