A program for plotting 3D scatter plots for use in Blender
Project description
Blendplot
Blendplot is a command line application for generating 3D data plots for use in Blender.
$ blendplot abc.csv abc.obj period amplitude_Iband magnitude_Iband -c category
Wrote plot file to abc.obj
Plotted 37099 points in 1.531214 seconds
Installation
To install Blendplot from source you can run the following commands.
git clone https://github.com/ExcaliburZero/blender-astro-visualization.git
cd blender-astro-visualization
pip install ./
Usage
Blendplot allows you to generate a 3D data plot model by specifying a dataset file, the output model file (.obj
), and the names of the three (x,y,z) columns you want to plot. Currently it only supports .csv
input data files. The commad structure to run blendplot is as follows.
blendplot INPUT_FILE OUTPUT_FILE X Y Z
For example, to create a model from a data file data.csv
using the columns height
, weight
, and cost
and output to a file model.obj
you would run the following command.
blendplot data.csv model.obj height weight cost
Once you have used the script to generate the model file, you can then import it into Blender by going to File > Import > Wavefront (.obj)
and selecting the model file.
Documentation
For futher in-depth information on how to use Blendplot, see the documentation at the link below.
Licensing
The source code for Blendplot is available under the MIT License, see LICENSE
for more information.
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
File details
Details for the file blendplot-1.0.0.tar.gz
.
File metadata
- Download URL: blendplot-1.0.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.1.0.post20200119 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3248ee2216549c26d4e939d2320196f5dcd7ba84f73461b949a5a39323325810 |
|
MD5 | d443f26b18c5b9ba6326ed492f2f3a68 |
|
BLAKE2b-256 | 69d7074fbe25b76b0da17b05b6344f0a3dc0e072e5f87f948f36c45059782746 |