FreeStyle SVG Exporter: "fill contours" fails when using multiple render layers #43635

Closed
opened 2015-02-11 22:40:37 +01:00 by No One · 9 comments

System Information
Win7 x64

Blender Version
2.73, b4d8fb5

Short description of error
When using multiple render layers and activating "fill contours", the the filling will not work properly.

Exact steps for others to reproduce the error
Attached is a simple .blend{F142551}file, and two .svgs 0001.svg, 0002.svg, showing the result. I also attach a screenshot to immediately visualize the problem: the bar is on render layer 2 and should be solid all the way through.

svgExport.png

**System Information** Win7 x64 **Blender Version** 2.73, b4d8fb5 **Short description of error** When using multiple render layers and activating "fill contours", the the filling will not work properly. **Exact steps for others to reproduce the error** Attached is a simple .blend{[F142551](https://archive.blender.org/developer/F142551/FreeStyleSVGExport.blend)}file, and two .svgs [0001.svg](https://archive.blender.org/developer/F142554/0001.svg), [0002.svg](https://archive.blender.org/developer/F142555/0002.svg), showing the result. I also attach a screenshot to immediately visualize the problem: the bar is on render layer 2 and should be solid all the way through. ![svgExport.png](https://archive.blender.org/developer/F142552/svgExport.png)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @noone

Added subscriber: @noone
Tamito Kajiyama was assigned by Campbell Barton 2015-02-12 12:53:50 +01:00

Added subscriber: @flokkievids

Added subscriber: @flokkievids

Thanks for the problem report. Will look into it.

Thanks for the problem report. Will look into it.

Added subscriber: @kjym3

Added subscriber: @kjym3

Thanks for this bug report, It highlights some serious issues with the ordering of the generated SVG.

You can find an updated version of the exporter here (paste it over the existing one; its location can be found under user preferences > addons > freestyle svg exporter > file). I hope this fixes the problem.

@kjym3

Most of this problem is caused by mistakes on my side. I fixed the hierarchy, so that the ordering is correct. Another problem was that two renderlayers can have two different line sets with the same name, which confuses the exporter. I've fixed this by prepending the name of the render layer: this should make all names unique.

Thanks for this bug report, It highlights some serious issues with the ordering of the generated SVG. You can find an updated version of the exporter [here ](https://github.com/folkertdev/freestyle-svg-exporter/blob/master/render_freestyle_svg.py) (paste it over the existing one; its location can be found under user preferences > addons > freestyle svg exporter > file). I hope this fixes the problem. @kjym3 Most of this problem is caused by mistakes on my side. I fixed the hierarchy, so that the ordering is correct. Another problem was that two renderlayers can have two different line sets with the same name, which confuses the exporter. I've fixed this by prepending the name of the render layer: this should make all names unique.

This issue was referenced by 36d55fccfc

This issue was referenced by 36d55fccfc1e9aa2ba8824f2f0241704ce1759b6

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit 36d55fccfc.

Closed by commit 36d55fccfc.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#43635
No description provided.