21 Commits

Author SHA1 Message Date
016430de4b Cleanup: remove <pep8 compliant> comment
This is no longer necessary, see: T98554.
2022-06-03 11:50:32 +10:00
b8d86ccc0a File headers: use SPDX license identifiers
See T95597
2022-02-11 16:05:07 +11:00
7f50343d1c Addons: Use Manual URL prefix 2020-03-05 16:26:11 -05:00
bb977fbc72 Update 'bl_info' use 'doc_url' instead of 'wiki_url' 2020-03-05 12:14:43 +11:00
532f07f732 Fix several typos in UI messages. 2020-02-17 13:00:47 +01:00
44680646e7 add manual links 2019-12-01 14:36:01 +11:00
9e0dc9b9d3 Fix T68427: Freestyle SVG Exporter addon not showing "Freestyle Line
Style SVG Export" property panel

Fixed wrong bl_context from render_layer to view_layer
2019-08-12 09:30:13 +02:00
1e208b92fc Freestyle Export: Mark Official
This has been considered official, from the docs POV since the beginning.
Now lets make it appear in official.
2019-07-14 20:13:46 -04:00
38bdfc0357 Update wiki_url to new manual pages 2019-07-14 20:02:25 -04:00
ac8b28a008 render_freestyle_svg: update to 2.8 D5127 2019-06-30 10:38:08 +10:00
aeabdc02a8 Update Add-ons class properties to annotations
This should take care of most of the class property conversions to
use the new annotation format (colon instead of equals) for
assignment. There may still be a few edge cases that were missed.
2019-01-17 16:48:54 -05:00
fb75f25986 Fix spelling of Miter in freestyle SVG export.
Ref T59320.
2018-12-13 19:39:18 +01:00
0796f5a8ed Fixes T49855 - Exception when there is no line set
The UI code assumed the existence of an active lineset. Turns out that
the final lineset can be removed (unlike render layers, where there is
always at least one).
2016-10-29 11:23:29 +02:00
c8233ef405 Fix T46150: FreeStyle: SVG Export won't fill Contours
The issue was a change in defaults introduced in https://developer.blender.org/rBA861519e44adc5674545fa18202dc43c4c20f2d1d

The fix is to use the old default in older (<= 2.67) versions.
2016-08-13 20:16:36 +02:00
fab62e930c Freestyle SVG export: handle relative paths
Previously, relative paths were not handled well. The result was an
error in the console and no output at the expected location.

The path resolving order is as follows:

* use the given path (scene.render.frame_path()) when it is absolute
* otherwise, try to join with the current blendfile's location
* otherwise, try to join with the folder from which blender was called

Tested on linux, but not on Windows
2016-08-13 19:00:42 +02:00
051629de3e Freestyle SVG Exporter: extract color from individual strokes
This commit adds an option to use the color of the first or
final vertex of a stroke as the color of the extracted SVG path.

This setting can be found in `Render Layers > Freestyle Line Style SVG
Export`.
2016-04-11 22:22:29 +02:00
861519e44a Freestyle SVG Exporter: make it possible to export strokes and fills on a per-linestyle basis 2015-07-12 17:09:00 +02:00
1aaf1d7b76 Freestyle SVG Exporter: more robust filling 2015-05-31 16:46:21 +02:00
36d55fccfc Fix T43635: 'fill contours' fails when using multiple render layers
There was a problem with the order of stroke and fill elements. Additionally, sometimes names of linesets collide between render layers. this has been fixed by prepending the name of the render layer to a layer's id.
2015-02-18 19:23:28 +01:00
8bab4c1859 Fix for SVG groups not shown as layers in Inkscape. Also changed the add-on
name (the old one was more like a description rather than a name).
2014-12-08 11:05:57 +09:00
c6595a3584 D785: Freestyle integrated SVG export.
This patch implements SVG exporting to Freestyle.  This feature is implemented
as an add-on, and can be enabled in the user preferences (render section).

Current features of the exporter include:
* a user interface.
* integration with the parameter editor and some of its settings, in particular:
  color, transparency, thickness, visibility, stroke caps, and dashes.
* support for animation.
* some extra attributes that make manipulation of the exporter's result in Inkscape easier.
* the ability to export fills (a closed external contour with the underlying material's color).

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

Author: flokkievids (Folkert de Vries)

Reviewed by: campbellbarton (Campbell Barton), sergey (Sergey Sharybin),
    dna (Dan Eicher), kjym3 (Tamito Kajiyama)

Contributor: hva (francesco fantoni)
2014-12-08 11:02:27 +09:00