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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
blender_plot-0.0.3-py3-none-any.whl
(151.8 kB
view hashes)
Close
Hashes for blender_plot-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8920013b801fab346c7277b388a9422aa97c11c83cad6a73e6d38eb651d9c60f |
|
MD5 | 287fb2d8116d4432903a334040d1bd6d |
|
BLAKE2b-256 | 184fd2766aa8baee4b881020615e2f4df9997baca93a19abb11460518a93f9a4 |