• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

SVG Import is incomplete (some elements are missing)

New Here ,
Sep 08, 2020 Sep 08, 2020

Copy link to clipboard

Copied

Hi,

I tried to import an SVG generated from a CAD program. It looks fine in all web browsers (chrome, Mozilla, ...) but when importing in Illustrator, some elements are missing. only the black elements are visible in AI.

 

What Do I have to change in the SVG file, so the import will work?

 

Thank you

TOPICS
Bug , Import and export

Views

6.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 10, 2020 Sep 10, 2020

You can file a bug report to http://illustrator.uservoice.com

And then try and export it from Inkscape.

Votes

Translate

Translate
Adobe
Community Expert ,
Sep 08, 2020 Sep 08, 2020

Copy link to clipboard

Copied

Maybe there are too many clipping paths.

Does it open well in Inkscape? If so, export it as a PDF (or whatever format is good for you) from there in order to get it into Illustrator.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 08, 2020 Sep 08, 2020

Copy link to clipboard

Copied

If you don't have access to the CAD file to correct the export, you can use

 

Click  on wrench and choose RSVG for the conversion engine

Screen Shot 2020-09-08 at 8.35.28 AM.png

 

 

Click here for the .ai file I came up with.

 

 

 

 

 

Then save as .pdf and you can open in Illustrator

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 08, 2020 Sep 08, 2020

Copy link to clipboard

Copied

There is an invalid duplicate </style> closing tag on line 23 to begin with which causes the border of the artboard/ drawing board to not appear in the first place and the rest seems down to this being exclusively web formatting and only using strokes everywhere. The paths are actually all there once you twirl down, they just have no strokes applied at all because AI can't interpret the CSS definitions. As suggested, this would need to be fixed/ converted in another tool or exported with different options.

 

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 10, 2020 Sep 10, 2020

Copy link to clipboard

Copied

Hi Mylenium,

 

we asked the CAD tool provider. They fixed the output for the second </style>.

Now the file is W3C compliant see diffpair_clean.svg.

 

All browsers and also Inkscape can open it and display it right. Just AI is not getting it. Any Idea???

Dirk16E5

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 10, 2020 Sep 10, 2020

Copy link to clipboard

Copied

LATEST

You can file a bug report to http://illustrator.uservoice.com

And then try and export it from Inkscape.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines