Blender Git Loki

Git Commits -> Revision 61a330b

Revision 61a330b by Tamito Kajiyama (master)
October 18, 2014, 09:35 (GMT)
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)

Commit Details:

Full Hash: 61a330baca0ff9bb3cf477c04f539ef276a0356f
Parent Commit: 4b42c4b
Lines Changed: +472, -18

2 Added Paths:

/release/scripts/freestyle/modules/svg_export.py (+305, -0) (View)
/release/scripts/startup/freestyle_builtins.py (+14, -0) (View)

8 Modified Paths:

/release/scripts/freestyle/modules/freestyle/utils.py (+14, -0) (Diff)
/release/scripts/freestyle/modules/parameter_editor.py (+54, -17) (Diff)
/release/scripts/startup/bl_ui/properties_freestyle.py (+18, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -0) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+13, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+14, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+36, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021