Scientific data visualization in Blender.
BlenDaViz is a Python library for Blender made for scientific data visualization. It can be used directly in the Blender Python console.
- Blender 4.4 or above (including Blender 5.0)
- Python libraries: numpy, scipy, matplotlib, scikit-image
- Clone BlenDaViz:
git clone https://github.com/SimonCan/BlenDaViz.git
cd BlenDaViz- Install using Blender's Python:
/path/to/blenders/python -m pip install .To find Blender's Python path, open Blender, switch to a Python console (Shift + F4) and type:
import sys
print(sys.executable)Start Blender and open a Python console. Import the library and make a simple plot:
import blendaviz as blt
import numpy as np
z = np.linspace(0, 6*np.pi, 30)
x = 3*np.cos(z)
y = 3*np.sin(z)
pl = blt.plot(x, y, z, marker='cube', radius=0.5)Press F12 to render the scene.
A detailed guide with examples can be found in the documentation.
If you use BlenDaViz in your research, please cite it using the information in CITATION.cff.
BlenDaViz is released under the LGPL-3.0 license. See LICENSE for details.
