Skip to main content

Molecular Nodes 🧬🍝💻

Lint Build Docs CodSpeed

GitHub release

Blender Extensions downloads GitHub downloads PyPI PyPI downloads

License DOI Powered by Biotite Powered by MDAnalysis GitHub stars

Join the scientific visualisation in Blender discord. Support me on Patreon with ongoing donations Support me by buying a couple of coffees as a one-off donation

Molecular Nodes imports structural biology data into Blender and styles, animates and renders it. It reads static structures from the PDB, AlphaFold and local files, molecular dynamics topologies and trajectories, oxDNA simulations, electron microscopy density maps, and .star and CellPack ensembles. Styles are Geometry Nodes trees, so every part of a style can be edited, combined and animated with the rest of Blender.

Molecular Nodes works as a Blender extension through the GUI, and as a Python package that scripts Blender for notebooks and pipelines.

Procedural animations Styles MD trajectories EM density maps

Installation

Blender extension

In Blender 5.2, open Edit > Preferences > Get Extensions, search for Molecular Nodes and click Install. The extension is also on the Blender Extensions platform and on GitHub releases, to install from disk. The installation page has step-by-step instructions.

Python package

pip install "molecularnodes[bpy]"

molecularnodes requires Python 3.13, the version Blender 5.2 uses. bpy (Blender as a Python module) is an optional dependency, so installing inside Blender doesn't install a second copy of Blender; the [bpy] extra installs it for use outside Blender.

Supported Blender versions

The version number follows Blender: Molecular Nodes 520.x is built for Blender 5.2. Each Blender version below runs the test suite on Linux, macOS and Windows, both with the bpy module and inside an installed Blender. Unreleased Blender versions are tested with their daily builds.

Blender Molecular Nodes Tests
5.2 520.x Blender 5.2
5.3 tested on main Blender 5.3
5.4 (alpha) tested on main Blender 5.4

Each night, Test Daily Build installs the built extension into the latest Blender daily build and runs the tests there.

Releases for earlier Blender versions remain on GitHub releases and the Blender Extensions platform.

Using the GUI

After installing the extension, add structures from the 3D Viewport's Add > Molecular Nodes menu: fetch from the PDB or AlphaFold, or import a local file, an MD trajectory, an oxDNA simulation, a density map, a .star file or a CellPack model. The Molecular Nodes tab of the 3D Viewport sidebar (N) lists the imported entities and their styles, and holds the trajectory, DSSP and annotation settings.

Each style is a node group in the object's Geometry Nodes tree. The node documentation describes every node, and the tutorials walk through importing, selections, trajectories and cryo-EM data.

Using the Python API

The Python API creates the same objects and node trees as the GUI. Create a Canvas first, which sets up the scene, then load, style and render molecules:

import molecularnodes as mn

canvas = mn.Canvas(mn.scene.Cycles(samples=32), resolution=(720, 480))

mol = mn.Molecule.fetch("4ozs")
mol.add_style("cartoon", material=mn.material.AmbientOcclusion())
mol.add_style("ball_and_stick", selection="resname ARG")
canvas.look_at(mol)
canvas.snapshot("4ozs.png")

Selections are MDAnalysis selection strings. MD topologies and trajectories load into the same Molecule, either from files or from an existing MDAnalysis.Universe, and the scene frame steps through the trajectory:

import MDAnalysis as mda

u = mda.Universe("topology.psf", "trajectory.dcd")
traj = mn.Molecule(u)  # or mn.Molecule.load("topology.psf", "trajectory.dcd")
traj.add_style("cartoon")
canvas.look_at(traj)
canvas.animation("trajectory.mp4", frame_start=1, frame_end=50)

The Python API documentation covers the canvas, styles, materials, trajectories and rendering, with rendered examples. The API is experimental and may change between versions.

Examples

The examples page collects videos and projects made with Molecular Nodes, and the citations page lists academic papers that use it.

Clockwork Veritasium BCON22 talk
Clockwork: Your Unstoppable Copy Machine Veritasium: What if all the world's biggest problems have the same solution? Molecular Nodes talk at the Blender Conference 2022

Contributing

Open an issue to discuss a new feature, or comment on an existing issue to help fix it. CONTRIBUTING.md explains how the project is structured and how to build, test and document changes, and AI_POLICY.md sets out how AI tools may be used in contributions.

Citation

There is no paper on Molecular Nodes yet. To cite it in academic work, use the Zenodo record.

Thanks

Thanks to the Blender Foundation, which develops Blender as free and open source software, and to the developers of the Python packages Molecular Nodes builds on, in particular Biotite and MDAnalysis.

The Blender logo.

Metadata

Release files for molecularnodes 520.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for molecularnodes 520.3.0
File Size Uploaded Provenance Actions
molecularnodes-520.3.0.tar.gz 4.2 MB With provenance Details for molecularnodes-520.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for molecularnodes 520.3.0
File Interpreter ABI Platform Actions
molecularnodes-520.3.0-py3-none-any.whl Python 3 none any Details for molecularnodes-520.3.0-py3-none-any.whl

Total release size: 9.0 MB

Release files / molecularnodes-520.3.0.tar.gz

Download URL molecularnodes-520.3.0.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
5b35797f088aa4372ac36330fc35cb7ab98be2841dd026a8e82074901466e0c0
BLAKE2b-256 checksum
How to use checksums
d04b3edb60b607a298f77800f5efdfa770d165a2ac0b91d074b63e5a5ffe414d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / molecularnodes-520.3.0-py3-none-any.whl

Download URL molecularnodes-520.3.0-py3-none-any.whl
Size 4.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6b71d16691ebce334e225573d6e96406626d209fdf697d6c0e86fa02c878287b
BLAKE2b-256 checksum
How to use checksums
bbe979dd6670790e566a31d23a9dc28d2e94ed66c746a63e719eee7eb9ffaeae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for molecularnodes 520.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for molecularnodes-520.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

520.3.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page