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
You can file a bug report to http://illustrator.uservoice.com
And then try and export it from Inkscape.
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.
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
Click here for the .ai file I came up with.
Then save as .pdf and you can open in Illustrator
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
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
Copy link to clipboard
Copied
You can file a bug report to http://illustrator.uservoice.com
And then try and export it from Inkscape.