-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show molecular structures #11
Comments
IIUC the usual simple bonding detection scheme is just to use interatomic distances, with bonds being rendered below a certain threshold distance. Doesn't help for multiple bonds, though. |
Thanks! Do you know a reference table or a good starting point that I could use for this? Otherwise I can trial/error it. Maybe Bragg/Slater radii times some factor? |
Or are other codes using one general cutoff for any atom distance - irrespective of atom type? |
Hm. As of 2011, it looks like VMD only used a single cutoff for all atom pairs. Not sure what that cutoff was, though. Ah! The second section here in the RasMol docs describes how they handle(d) it. Even includes a handy table of a few 2p distances. |
Super! Thank you! With this I can very soon add bonds. |
The reason why I did not do this yet is that the cube file does not "know" the structure. It only knows the positions. So we need some scheme to deduce bonds and/or additional formats.
The text was updated successfully, but these errors were encountered: