Freestyle export to SVG produces thousands of very small lines. #105203

Open
opened 2024-02-27 17:06:44 +01:00 by Robert S · 1 comment

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: Quadro RTX 3000 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 529.19

Blender Version
Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: 9be62e85b727
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Freestyle SVG Exporter (1, 0)
Author: Folkert de Vries

Short description of error
SVG output from this add-on is usually in the megabytes. That's orders of magnitude too large a file size of a vector based file format, especially from rather simple line drawings. It also makes it quite difficult and cumbersome to develop further in other applications.

There's options for chaining in regular Blender, but unsure if it means something other than merging end points of lines, or if export to SVG simply ignores it.

There could also be a cause for some optimization with regards to 2D angle merging as well in order to reduce point count (and file size).

Exact steps for others to reproduce the error
Load up pretty much any scene with a few characters (not just simple boxes) and do an SVG export and look at the file size. Files quickly run into 3-4mb in size when a few hundred kilobytes should do.

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: Quadro RTX 3000 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 529.19 **Blender Version** Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: `9be62e85b727` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Freestyle SVG Exporter (1, 0) Author: Folkert de Vries **Short description of error** SVG output from this add-on is usually in the megabytes. That's orders of magnitude too large a file size of a vector based file format, especially from rather simple line drawings. It also makes it quite difficult and cumbersome to develop further in other applications. There's options for chaining in regular Blender, but unsure if it means something other than merging end points of lines, or if export to SVG simply ignores it. There could also be a cause for some optimization with regards to 2D angle merging as well in order to reduce point count (and file size). **Exact steps for others to reproduce the error** Load up pretty much any scene with a few characters (not just simple boxes) and do an SVG export and look at the file size. Files quickly run into 3-4mb in size when a few hundred kilobytes should do.
Robert S added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2024-02-27 17:06:44 +01:00
Member

Hi, thanks for the report. I see file size easily goes to few megabytes but potential improvements are not considered as bug.
Also the add-on is not actively maintained AFAICS. cc @flokkievids

Hi, thanks for the report. I see file size easily goes to few megabytes but potential improvements are not considered as bug. Also the add-on is not actively maintained AFAICS. cc @flokkievids
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#105203
No description provided.