A High-Level Plotting Interface for Blender in Python.
Project description
blender-plot
A High-Level Plotting Interface for Blender in Python.
Install:
pip install blender-plot
Example:
import blender_plot as bp
import numpy as np
# create 512 normally distributed 3d points
data = np.random.standard_normal((512, 3))
s = bp.DefaultScene()
s.scatter(data)
# render the scene to an image
s.render("standard_normal.png", resolution=(1200, 1200))
# save the scene to a .blend file
s.save("standard_normal.blend")
Output:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
blender-plot-0.0.2.tar.gz
(14.1 kB
view hashes)
Built Distribution
Close
Hashes for blender_plot-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 395cedadd66f86cbebb74c03b54c9e285207299528c0304ad7cac95c77cf5c7e |
|
MD5 | 39ebadce1c758e5873e61ce54673da6a |
|
BLAKE2b-256 | 5b3cc9d65e028093663064474147cb57f60a6c9df4fda6044bb96e606c6a07ac |