Freestyle: Built-in SVG exporter.
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Sat, 18 Oct 2014 09:35:29 +0000 (18:35 +0900)
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Sat, 18 Oct 2014 09:35:29 +0000 (18:35 +0900)
commit61a330baca0ff9bb3cf477c04f539ef276a0356f
tree7c51dee268d1ac1d3dc9fb54371d3c0741316022
parent4b42c4bce41b139229c35781b6364cfb4125cba9
Freestyle: Built-in SVG exporter.

Features:
* Both still image and animation rendering, as well as polygon
  fills are supported.
* The exporter creates a new SVG layer for every Freestyle line
  set. The different layers are correctly sorted.
* SVG paths use data from line styles, so the base color of a
  line style becomes the color of paths, idem for dashes and
  stroke thickness.
* Strokes can be split at invisible parts.  This functionality is
  useful when exporting for instance dashed lines or line styles
  with a Blue Print shader
* The exporter can be used not only in the Parameter Editor mode,
  but also from within style modules written for the Python
  Scripting mode.

Acknowledgements:
The author would like to thank Francesco Fantoni and Jarno
Leppänen for their [[ https://github.com/hvfrancesco/freestylesvg | Freestyle SVG exporter ]].

Differential revision: https://developer.blender.org/D785

Author: flokkievids (Folkert de Vries)

Reviewed by: kjym3 (Tamito Kajiyama)
release/scripts/freestyle/modules/freestyle/utils.py
release/scripts/freestyle/modules/parameter_editor.py
release/scripts/freestyle/modules/svg_export.py [new file with mode: 0644]
release/scripts/startup/bl_ui/properties_freestyle.py
release/scripts/startup/freestyle_builtins.py [new file with mode: 0644]
source/blender/blenkernel/intern/scene.c
source/blender/blenloader/intern/versioning_270.c
source/blender/blenloader/intern/versioning_defaults.c
source/blender/makesdna/DNA_scene_types.h
source/blender/makesrna/intern/rna_scene.c