SVG Import: SVGO processed SVGs fail to import #73179

Closed
opened 2020-01-17 10:35:34 +01:00 by Jakub Steiner · 5 comments

System Information
Operating system: Fedora Linux SIlverblue 31
Graphics card: AMD Radeon IV

Blender Version
2.81

Short description of error
Attached sample SVG fails to import.

Exact steps for others to reproduce the error
There are two sample SVGs attached. The unoptimized SVG has been produced with Inkscape and imports fine. The other one was processed with SVGO and while it renders correctly in just about everything I've tried, the import in Blender fails.

**System Information** Operating system: Fedora Linux SIlverblue 31 Graphics card: AMD Radeon IV **Blender Version** 2.81 **Short description of error** Attached sample SVG fails to import. **Exact steps for others to reproduce the error** There are two sample SVGs attached. The unoptimized SVG has been produced with Inkscape and imports fine. The other one was processed with [SVGO](https://github.com/svg/svgo) and while it renders correctly in just about everything I've tried, the import in Blender fails.
Author

Added subscriber: @JakubSteiner

Added subscriber: @JakubSteiner
Author

unoptimized.svg - imports correctly
optimized-with-svgo.svg - fails to import

Screenshot from 2020-01-17 10-31-39.png - import error screenshot

![unoptimized.svg](https://archive.blender.org/developer/F8282812/unoptimized.svg) - imports correctly ![optimized-with-svgo.svg](https://archive.blender.org/developer/F8282809/optimized-with-svgo.svg) - fails to import ![Screenshot from 2020-01-17 10-31-39.png](https://archive.blender.org/developer/F8282810/Screenshot_from_2020-01-17_10-31-39.png) - import error screenshot

Added subscriber: @jenkm

Added subscriber: @jenkm

The problem here is that 'arc' flags can be written without separating.

That works:

A 30 50 0 0 1 160 160

This isn't working in Blender:

A 30 50 0 0 1160 160
The problem here is that 'arc' flags can be written without separating. That works: ``` A 30 50 0 0 1 160 160 ``` This isn't working in Blender: ``` A 30 50 0 0 1160 160 ```
Member

Closed as duplicate of #85687

Closed as duplicate of #85687
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#73179
No description provided.