kaosbeat / blenderplotter

plot images using chiplotle straight form blender using freestyle svg rendering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blenderplotter

plot images using chiplotle straight form blender using freestyle svg rendering

references

general intro to what blender is capable of in terms of creative coding

https://medium.com/@behreajj/creative-coding-in-blender-a-primer-53e79ff71e

blender python API

https://docs.blender.org/api/current/

using

chiplotle

http://sites.music.columbia.edu/cmc/chiplotle/ with python 2.7

blender

with python 3.5.3 API

so using call from the blender script to comunicate with chiplotle

svgPathTools (python)

https://github.com/mathandy/svgpathtools

##install extra python libraries in blender

current use

$ /Applications/Blender/blender.app/Contents/MacOS/blender stroketesting.blend --background --python generateandrender.py -- mysvg.svg

this produces an SVG named mysvg.svg then we pass it on to the next script in a python2.7 env

(python2.7)$ python plotrender.py mysvg.svg

TODO

pipeline template

  • run script that generates geometry in blender
  • render the script (preferably in the background) to SVG lines
  • use differnt linestyles for hidden lines
  • pipe the output to chiplotle
  • make a git commit

About

plot images using chiplotle straight form blender using freestyle svg rendering


Languages

Language:Python 81.8%Language:Shell 18.2%