Hello, I'm trying to export an isosurface as an .stl mesh object in order to parse it and extract the cloud of points with xyz coordinates.

The objective is to write a pseudo-pdb file with those coordinates that I can reenter into VMD and calculate some distances to a molecule.

However, when exporting the VMD scene to an .stl the original coordinates and scale of the system is lost. Is there any way to keep those when saving the mesh file?

I came across a post in the VMD-L mailing list stating that "In order to do that an retain the coordinate system of the original molecule, you would also need to set the molecule's view/rotate/centering transformation matrices to identity before exporting.", but I have no idea of how to achieve this.

Thank you in advance for any help provided.

More David Sotillo Núñez's questions See All
Similar questions and discussions