Re: [PyMOL] Get coordinates of the mesh

2008-10-07 Thread Andreas Henschel
Hi Horacio, you can save as wrl (VRML) or povray (as posted earlier). The former can be read by vtk (vtkVRMLImporter or so), from here you have a rich set of sophisticated algorithms such as decimate. google for vtkDecimate, vtkDecimatePro There are bindings for a couple of languages, also Pyt

Re: [PyMOL] Get coordinates of the mesh

2008-10-02 Thread Tsjerk Wassenaar
Hi Horacio, No need to hack pymol for that... the mesh can be exported to povray or vrml format. For instance try open("pymol.mesh","w").write( cmd.get_povray()[1] ) You're in for some parsing to get the coordinates out. Hope it helps, Tsjerk On Thu, Oct 2, 2008 at 3:16 PM, Horacio Sánchez

[PyMOL] Get coordinates of the mesh

2008-10-02 Thread Horacio Sánchez
Hi, looking to the mesh representation of a protein in pymol, I wonder what could be the best/easiest method to get the cartesian coordinates of some arbitrary number of the points of the mesh at more or less regular (or arbitrary) intervals. The only thing that I can think now of is to debu