Page MenuHome

SVG importer has a material bug with Illustrator SVG files
Closed, ArchivedPublic

Description

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

Details

Type
Bug

Event Timeline

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.

Sergey Sharybin (sergey) closed this task as Archived.
Sergey Sharybin (sergey) claimed this task.

Attaching file here so it's never lots

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.