Importing SVG - damaged paths

Importing SVG - damaged paths

Anonymous
Not applicable
5,264 Views
7 Replies
Message 1 of 8

Importing SVG - damaged paths

Anonymous
Not applicable

Hey guys,

 

I posted here trying to get some help and am reposting now since the other thread is pretty old.

I am having trouble importing SVGs. The problem is pretty similar to the one described in the thread linked above.

 

Attached you'll find a (maybe familiar :)) outline as an SVG and two pictures showing the SVG rendered by my browser (Chrome) and after being imported into fusion (without any further steps taken).

 

The outline was generated with Illustrator and since I have lots of outlines coming in that way I would really like to streamline that process (Illustrator -> SVG Export -> Import to Fusion -> Mill/Turn/Slice/whatever).

 

Any help is appreciated.

 

Regards

Soeren

5,265 Views
7 Replies
Replies (7)
Message 2 of 8

MRWakefield
Advisor
Advisor

I imported your SVG into Fusion and got the same results as you. I then opened it up in Inkscape (it looked fine btw) and re-saved it (this helped with an issue I had with an SVG I imported recently), but his didn't fix it.

 

I then imported it into CorelDraw 2018 and found that it had an image embedded in the SVG. Haha! I thought, I bet that's what's upsetting Fusion, so I exported just the vectors and tried that. Unfortunately that didn't fix it either.

 

I then opened the SVG in a text editor and deleted the section relating to the image and tried importing that into Fusion. Hmmm... Still no luck!

 

Finally I tried exporting (from CorelDraw) as DXF and Fusion imported that just fine. Perhaps this a viable alternative to using SVG?

 

As it looks fine in a browser, Inkscape and CorelDraw then I'd say it does look like a Fusion 360 issue.

If this answers your question please mark the thread as solved as it can help others find solutions in the future.
Marcus Wakefield


____________________________________________________________________________________
I've created a Windows application (and now Mac as well) for creating custom thread files for Fusion. You can find out about it here. Hope you find it useful.
If you need to know how to offset threads for 3D printing then I've created a guide here which you might find useful.
If you would like to send me a tip for any help I've provided or for any of my software applications you've found useful, you can do this via my Ko-Fi page here.
____________________________________________________________________________________

Message 3 of 8

Anonymous
Not applicable

Hey,

thank you for investing that much time and trying many different ways.

I should've told you that I also tried the DXF without luck. The idea with the embedded image also didn't change a thing for me.

What seems to be working: reduce the Illustrator file to only one layer and combine all the paths to one single Compound Path. Then Fusion only destroys one corner point 😉

 

Still looking forward to any hint.

 

Fun fact: I designed another Vector Art for a completely different project and imported it (via SVG) into fusion without problems - and that SVG inclued some outlined yet very curvy font. What am I doing wrong with Minnie? 😉 Could it be the overlapping?

0 Likes
Message 4 of 8

MRWakefield
Advisor
Advisor

You're welcome, we all need help sometimes Smiley Wink

Hmmm... that's interesting that DXF didn't work for you. When I exported your Minnie as DXF and brought it into Fusion it was perfect! I've attached a screenshot of the imported DXF as well as the file itself in case it's of any use.

 

I don't think you're doing anything wrong, the SVG looks fine in CorelDraw and Inkscape so I think it's a bug in Fusion.

 

Edit: For some reason I'm not able to attach the DXF!

 

If this answers your question please mark the thread as solved as it can help others find solutions in the future.
Marcus Wakefield


____________________________________________________________________________________
I've created a Windows application (and now Mac as well) for creating custom thread files for Fusion. You can find out about it here. Hope you find it useful.
If you need to know how to offset threads for 3D printing then I've created a guide here which you might find useful.
If you would like to send me a tip for any help I've provided or for any of my software applications you've found useful, you can do this via my Ko-Fi page here.
____________________________________________________________________________________

Message 5 of 8

Anonymous
Not applicable

I increased the level of detail (Decimal) during export in Illustrator from 2 to 5 and that fixed my problems with broken paths during svg imports. Hope this helps.

0 Likes
Message 6 of 8

Anonymous
Not applicable

Thanks, I will give it a try.

However, I am stunned as to how inconsistent the DXF/SVG Import works.

A couple of days ago I re-tried with DXF and was soooooo happy because it just worked! Fine and dandy! Had to switch from Inch to mm (as I was designing in mm) but hey that's no biggy. I milled two projects without trouble.

Then yesterday I started working on a lamp for my daughter, consisting of three parts (the lamp, not the daughter ;)).

All three parts are design in one Illustrator file and layered. Exported the doc as DXF, import, switch to mm - all good. Second Layer, trouble: Some paths could not be imported (not the problem I am fighting with).

Back in Illustrator I used the simplify command to reduce points and voila (the design changed a bit) but the import now works.

Of course because of the change I had to re-export the DXF with the EXACT SAME CONFIG as before.

Guess what happens? The scale is off - first I thought completely, then it dawned on me. The scale is off by exactly 2.54 - sounds familiar?

DXF is a UNITLESS FORMAT (I heard and read this a million times). How come, when exporting a 100x100mm square, as a DXF and importing it into Fusion, I not only have to switch to mm (that's ok, DXF has no units) but then I have to manually scale the design by 2.54 to get back to 100x100mm.

I tried all units on import: inch gave me 100x100 inches, feet have me 100x100 feet, cm and mm gave me (100/2,54)cm and (100/2.54)mm) - why?

Now the horror: tried it a day later - on another machine - worked like a charm - somebody please help me 😉

Oh just to clarify: re-importing the DXF into Illustrator worked every time, I am running always the latest fusion, etc. etc.

 

Sorry for this long message (sort of a rant) but this was really frustrating the last couple of days.

 

These are my DXF Export Settings:

AutoCAD Version 2010/2011/2012

1 mm = 1 unit

 

I  just now tried re-creating the problem for half an hour - couldn't do it. Giving up. Sorry I have no file to backup my story 😕

One time I had the desired (bad) effect where two layers that would perfectly sit on top of each other in Illustrator where of different scale inside Fusion.

If I can do it again, I'll post the file here.

 

Anyway - Fusion rocks! Keep it up, @Fusion360 😉

Message 7 of 8

Anonymous
Not applicable

NEVER GIVE UP ON A DREAM Smiley Happy

 

Just did it again. It must be something with the layer visibility? Or maybe because there is a semi-transparent layer on top of it (the yellow one)?

The heck?

 

For anyone not familiar with Illustrator: I have three layers (wings plexi, rim, mainplate) - inside each layer are one or more objects. The eye means that layer or object is visible, the lock means, it is locked (who would've thought ;))

 

Bad:

The visible layer with the invisible object inside gets scaled correctly! But the rest needs to be scaled up by 2.54 to get to the size of the single outline...

 

export_bad.jpgimport_bad.jpg

 

Good:

export_good.jpgimport_good.jpg

 

At least I am not crazy 😉

 

I'll attach the Illustrator file just for kicks.

Message 8 of 8

coleruth
Community Visitor
Community Visitor

When I tried this, there were even more broken paths. So I tried doing the opposite - decreasing the decimal from 2 to 1. This worked perfectly for me! Hope this is helpful to someone as well.

0 Likes