-
Notifications
You must be signed in to change notification settings - Fork 83
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
4.2 #501
Merged
Merged
4.2 #501
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
working creation of extension temporarily commit the .whl minimum testing for extension
Update test-addon.yml Update test-addon.yml Update test-addon.yml Update test-addon.yml Update test-addon.yml Update test-addon.yml Update test-addon.yml Update test-addon.yml update update download update and add testing
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #501 +/- ##
==========================================
- Coverage 76.06% 71.11% -4.96%
==========================================
Files 42 48 +6
Lines 3786 4106 +320
==========================================
+ Hits 2880 2920 +40
- Misses 906 1186 +280 ☔ View full report in Codecov by Sentry. |
* fix preferences panel and add buttons to install and uninstall template * tweak install and uninstall * cleaned up install function * cleanupd * fix test * refactor startup template file
* initial drag and drop support for `.pdb` files * tinkering with drag and drop operators * change drag and drop operator to accept multiple files * pass test
* refactor to make everything under 'entities' * refactor: rename bob to obj * replace in tests also fix build docs * fix tests
* add option to remove hydrogen on import of molecules * add test for deleting hydrogens
* tweak styles * tweak nucleic acid style
* fix custom iswitch node name creation * begin updating docs for 4.2 * update installation docs * remove compute backbone * merge 4.2 * cleanup utils menu * remove old tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR changes Molecular Nodes to be compatible with the Blender 4.2 extensions system, and brings a number a number of other major upgrades.
Extensions Platform
Changed architecture of add-on to be compatible with new extensions platform in Blender 4.2 (here). Bundles the add-on with the required python packages, so installation is as simple as clicking 'install' from inside of Blender's extension system. No need to manually download or install anything additional. Updates for the add-on can also be delivered and installed this way.
Nodes
Color Tag
Utilising the new
color_tag
attribute for custom node groups, all provided node groups are now colored appropriately.Selection Nodes
Selection nodes have been split into individual node groups and given
And
andOr
inputs to more easily construct selection chains with common boolean operations.Topology Nodes
Topology nodes have been partially overhauled, with some nodes moved to utility nodes and extras included such as the DSSP and Phi / Psi nodes. Phi / Psi nodes do not require pre-computation of any values and can be used just like any other field.
Color Nodes
Res Name and Element nodes now go higher, utilising the
Index Switch
node underneath and panels to ensure the UI remains usable.Trajectories
The underlying method for importing and managing MDAnalysis trajectory / Universes has been overhauled. They are now imported as a
Trajectory
object. Trajectories along with all other molecular data that is imported is now kept around inside of aMNSession
, which is stored underbpy.context.scene.MNSession
. This session is pickled and save next to the.blend
file on save, so that all of the data can persist between Blender sessions on load.Selections
Because the connection to the universe is maintained, we now have live and updateable selections.
Calculations
Initial support for functions can be added to the Trajectories. These functions will be executed with the universe as an input, and the output is stored on the resulting mesh. This gives access to custom calculations to be executed in python and the results to be used inside of Geometry Nodes.
Implement changes for compatibility with Blender 4.2
Current build is approved and hosted on the extensions website - need to finish final changes before 4.2 release (https://extensions.blender.org/add-ons/molecularnodes/)
.whl
files (likenumpy
, which is included with Blender)AtomGroup
s (Selection from atomgroup #538)MNUniverse
toTrajectory
(RenameMNUniverse
toTrajectory
#541 )Some feedback from extensions approval:
blender_manifest.toml
requirements.txt
file as no longer needed for package management