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 <horacio.sanc...@int.fzk.de> wrote: > 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 debug pymol in some way so > I can dump the information used to generate the mesh. > > Thanks in advance > > Horacio > > > > > > > ------------------------------------------------------------------------- > 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&url=/ > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users > -- Tsjerk A. Wassenaar, Ph.D. Junior UD (post-doc) Biomolecular NMR, Bijvoet Center Utrecht University Padualaan 8 3584 CH Utrecht The Netherlands P: +31-30-2539931 F: +31-30-2537623