A collection of Python scripts to make (my) life easier with Blender.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
README.md
__init__.py
animate_camera.py
deform_starmesh.py
ravestars_mesh.py
shift_keyframes.py

README.md

Blender Tools

A collection of Python scripts to make (my) life easier with Blender.

Some scripts are generic enough to be useful for other people as well. Others are tuned to a very specific task, but still contain some useful code-snippets.

There's no guarantee for my scripts to work; feel free to use them, but at your own risk.

For questions, comments, suggestions, please contact me at
Kristin Riebe, kriebe@aip.de

animate_camera.py

Creates a path for the camera to follow (or uses a given one) and creates and empty object to which the camera looks (or uses a given one). The script creates the necessary constraints and keyframes so that the camera moves along the path when moving the slider along the timeline or playing the animation.

shift_keyframes.py

Shift keyframes in order to speed-up/slow-down a movie or give time for another sequence of animations in between.

ravestars_mesh.py

Read points (RAVE-stars) from a csv-file into vertices of mesh-objects. Use their 3D coordinates for positions in Blender and their radial velocities for color. This should in principle also work for other star catalogs, as long as galactic coordinates and distances are given. You would need to adjust the column names and coloring. I've used it for up to 1 million stars without problems, but performance will probably go down rapidly with larger catalogs.

An example file with RAVE-stars extracted from the RAVE database, DR4 is given here: examples/ravestars-demo.csv.

A tutorial for using this script to create a nice animation is given here: RAVE-stars tutorial. The demo-blend file from the tutorial is also available in this repository: examples/ravestars-demo.blend.

The final animation for flying around the RAVE star distribution is available here: RAVE flight movie.

deform_starmesh.py

Move stars (as vertices of a mesh) to different forms, e.g. a flat map or a sphere. This is useful for nice shape-transformation animations, as used in the RAVE flight movie. The script works best together with the RAVE-stars meshes loaded via ravestars_mesh.py.

A tutorial for using this script with the RAVE stars is available here: Star transformations tutorial.

The demo-blend file of this tutorial is also stored in this repository: examples/ravestars-demo-transform.blend.