-
Notifications
You must be signed in to change notification settings - Fork 81
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
Adds 'Live' MDAnalysis Selections #466
base: main
Are you sure you want to change the base?
Conversation
@rbdavid this is an example of using the connected MDA Universe that is maintained between sessions. This won't be applicable to other import methods, but a similar approach could be done. |
This is awesome! From the video, it seems like you can add any number of selection atom groups where |
Yes the idea is that you can add any number of 'custom selections'. Each listed custom selection becomes a named attribute on the mesh, with a boolean selection that is generated through MDAnalysis. This can then be used inside of geometry nodes for styling / selecting etc. |
Related to #440 - I'm thinking we could manage universe transformations (smoothing, translations etc) from a similar list. |
This moves the custom MDAnalysis selections from a single on-import selection that is added as a custom attribute, to be handled on a per-object basis. These selections update each change of frame in Blender if the
Update
is enabled.blender_68ppJ4jB4x.mp4
As can be see in the example video, the user can tweak the selection language on the fly, and the selection is updated on the following frame.
Currently the boolean selections are created by first creating a new atom group, then checking to see if the atom indices are in that atom group. There is likely a faster way to implement this.
Todo: