-
Notifications
You must be signed in to change notification settings - Fork 90
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
Implement interaction visualization #692
Comments
Thanks for wanting to contribute! I think this would go well with the overall add-on and help with more potential visualisations of MD data & analysis. Regarding a couple of your points:
I'm going to do some more technical write-ups for how everything works over the next couple of days (after I'm done some refactoring), but briefly this is how I think it would fit in to everything: There is a bpy.context.scene.MNSession.entities -> Dict[str, Union[Molecule, Trajectory, Ensemble, Density]] This dictionary is where the objects are stored so they hang around and can be used later in the session or between save & reload cycles. There is a single The |
tagging @yuxuanzhuang who I am sure is interested. They have already started creating https://github.com/yuxuanzhuang/ggmolvis which is in the same vein, and we are going to be working on a bunch of analysis visualisation stuff in the future |
I created a blender extension to visualize interactions occuring in a molecular dynamics simulations. After a quick chat with @BradyAJohnston and one Blender reviewer, we though of implementing this extension directly into Molecular Nodes.
Let's discuss it here !
The code is curently hosted on my repo Viber.
It is quite simple and it doesn't use python librairies external those of the version used by blender.
There are actually two steps that are necessary visualize the interactions, the first is external to Blender and the extension and the second is the one handled by the extension.
I think that the first step should stay external as everybody can have its own method for detecting interactions. Having a universal JSON format allows each method to be visually represented in Blender.
The second step might be the most important one for the implementation.
On the cosmetics part, it currently different materials for the most frequent interactions (hydrogen bonding, salt-bridge, pi-stacking, pi-cation) but it can be enhanced to support many more interactions.
Is there something you want to consider in priority for this implementation ? If something is not clear, please tell me !
The text was updated successfully, but these errors were encountered: