Skip to content
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

Open
bast opened this issue Jun 14, 2019 · 5 comments
Open

Show molecular structures #11

bast opened this issue Jun 14, 2019 · 5 comments

Comments

@bast
Copy link
Collaborator

bast commented Jun 14, 2019

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.

@bskinn
Copy link

bskinn commented Jun 14, 2019

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.

@bast
Copy link
Collaborator Author

bast commented Jun 14, 2019

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?

@bast
Copy link
Collaborator Author

bast commented Jun 14, 2019

Or are other codes using one general cutoff for any atom distance - irrespective of atom type?

@bskinn
Copy link

bskinn commented Jun 14, 2019

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.

@bast
Copy link
Collaborator Author

bast commented Jun 14, 2019

Super! Thank you! With this I can very soon add bonds.

@bast bast assigned bast and unassigned bast Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants