default off2msms.py Popular
By Sergio Decherchi In Scripts and Utilities 333 downloads
This script converts a "name.off" file into the pair "name.off.vert" and "name.off.face" MSMS files. If also an optional xyzr file (coordinates+radius) file is provided then for each vertex the nearest atom is found and it is saved into the MSMS file. This allows to load the files into VMD and have all the info needed for surface per-atom colouring. Note that when VMD loads an externally computed surface it does not load all the information but only the raw triangulated surface. In order to correctly load all the info a trick is needed (see msms_redirect).