SVG importer has a material bug with Illustrator SVG files #53278

Closed
opened 2017-11-09 16:43:40 +01:00 by Artturi Mäntysaari · 7 comments

Blender Version
2.79

Short description of error
When importing SVG files made with Adobe Ai to Blender you only get black materials.

Exact steps for others to reproduce the error
Try to import this file I made: https://www.dropbox.com/s/l1hdm0zq3rnthtl/logo1.svg?dl=0

**Blender Version** 2.79 **Short description of error** When importing SVG files made with Adobe Ai to Blender you only get black materials. **Exact steps for others to reproduce the error** Try to import this file I made: https://www.dropbox.com/s/l1hdm0zq3rnthtl/logo1.svg?dl=0

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @ArtturiMantysaari

Added subscriber: @ArtturiMantysaari

Added subscriber: @JasonvanGumster

Added subscriber: @JasonvanGumster

Little workaround that might give a some insight to this bug:

If you open the SVG file in Inkscape, ungroup everything (select everything and then Alt+G until nothing is grouped any longer), and then resave as an SVG file, you can import the same data into Blender and all material settings are retained. There's something wonky in how Illustrator is assembling SVG files that the Blender importer isn't expecting.

Little workaround that might give a some insight to this bug: If you open the SVG file in Inkscape, ungroup everything (select everything and then Alt+G until nothing is grouped any longer), and then resave as an SVG file, you can import the same data into Blender and all material settings are retained. There's something wonky in how Illustrator is assembling SVG files that the Blender importer isn't expecting.

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2017-11-10 11:55:57 +01:00

Attaching file here so it's never lots logo1.svg

Our SVG importer is quite simple, and does not support styles created by CSS. There isn't really a fix here unless someone volunteers to write a CSS parser for the importer :)

So thanks for the report, but it's rather lack of feature than a bug here.

Attaching file here so it's never lots ![logo1.svg](https://archive.blender.org/developer/F1116560/logo1.svg) Our SVG importer is quite simple, and does not support styles created by CSS. There isn't really a fix here unless someone volunteers to write a CSS parser for the importer :) So thanks for the report, but it's rather lack of feature than a bug here.
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#53278
No description provided.