/MolecularNodes

Toolbox for molecular animations in Blender, powered by Geometry Nodes.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Molecular Nodes 🧬🍝💻

Documentation Building Running Tests codecov

Badge displaying license, which is MIT. Repo total downloads count. Badge displaying license, which is MIT. Badge displaying count of GitHub stars.

Badge showing usage of MDAnalysis as a python package powering the add-on Badge showing usage of biotite as a python package powering the add-on

Support me on Patreon with ongoing donations

Support me by buying a couple of coffees as a one-off donation

Join the scientific visualisation in Blender discord.

About

MolecularNodes enables quick import and visualisation of structural biology data inside of Blender. Blender provides advanced industry-leading visualisation and animation technology, while MolecularNodes provides the interface that allows Blender to understand the unique data formats used in structural biology.

The add-on enables creating animations from static crystal structures, styling proteins and other molecules in a variety of highly customisable styles, importing and playing back molecular dynamics trajectories from a wide variety of sources, and even importing of EM density maps.

Examples

See examples, tutorials and video projects that use Molecular Nodes in the documentation page.

Installation

See the installation page of the documentation, for detailed instructions on how to install the add-on.

Getting Started

These tutorials are for earlier versions of the addon. There are some differences in design, but overall the workflow is the same. Watch through the videos to get an overview of how the addon works.

image

Contributing

If you would like to contribute to the project, please open an issue to discuss potential new features, or comment on an existing issue if you would like to help with fixing it. I welcome any and all potential PRs.

It's recommended to clone this repository using git clone --depth 1 as the complete commit history gets close to 1GB of data. I also recommend using VS Code with the Blender VS Code addon which streamlines the development process.

Once installed, you can use the Blender: Build and Start command with VS Code open in the addon directory, to start Blender with the addon built and installed. Any changes that are then made to the underlying addon code, can be quickly previewed inside of the running Blender by using the VS Code command Blender: Reload Addonds.

Once happy with your code, open a pull request to discuss and get it reviewed by others working on the project. Open a draft pull request early, or open an issue to discuss the scope and feasability of potential features.

Citation

A paper has not yet been published on the addon, but if you use it in your academic work you can site it from Zenodo:

Thanks

A massive thanks to the Blender Foundation which develops Blender as a free and open source program, and to the python package developers who enable the functionality of the this add-on. Primaryil Biotite and MDAnalysis teams.

The Blender logo.