[PyMOL] Coordinates of the mesh-points

2011-08-22 Thread björn
Hey, I have a little problem to get the points/coordinates of a mesh. I know he command: open(pymol.mesh,w).write( cmd.get_povray()[1] ) But when I run this command, the coordinates of these spheres are not equal to these of the mesh. For example, if a generate the mesh for a protein and run

Re: [PyMOL] Coordinates of the mesh-points

2011-08-22 Thread Tsjerk Wassenaar
Hey Björn, The mesh will be in Pymol camera coordinates, not in PDB coordinates. You'll have to take the object_matrix (cmd.get_object_matrix) and apply it to the protein to convert it to the same space if you are to use it outside of Pymol. Hope it helps, Tsjerk On Mon, Aug 22, 2011 at 8:12