Hello, I’ve been working on some code originally written by Jarno Leppänen to export from BLENDER + Freestyle to SVG files.
I’ve updated the code to work with new freestyle API introduced with blender 2.70, then I’ve refactored the code to use xml.etree for parsing and svg writing, adding animation rendering feature.
The result are 3 freestyle modules you can use in frestyle script mode inside blender, they are meant to output filled surfaces, dashed hidden edges and solid visible edges, and can be used separately or in a sequence.
You can render still images or animations, and for each frame you render in the SVG output file, once opened in Inkscape, you will find a separate Inkscape layer with separate sub-layers for fills, hidden and visible edges.
A simple example is included in the code repository.
The code is released under MIT license and is hosted on github, you can find it here:
the original Jarno repo is located here:
best to all, francesco