What are the SVG requirements to import SVG files?

What are the SVG requirements to import SVG files?

adamsd5
Enthusiast Enthusiast
548 Views
4 Replies
Message 1 of 5

What are the SVG requirements to import SVG files?

adamsd5
Enthusiast
Enthusiast

I'm generating svg files with python, using svgwrite (https://svgwrite.readthedocs.io/en/latest/index.html).

 

I'm able to generate svg files that open and look right in chrome and inkscape.  I'm using a path (I read that Fusion 360 only supports importing svg paths), but I still cannot get it to show up in my sketch.  I've attached a sample svg file.  Can you provide guidance?

 

 

0 Likes
549 Views
4 Replies
Replies (4)
Message 2 of 5

HughesTooling
Consultant
Consultant

Did you use InsertSVG? It works fine for me.

HughesTooling_0-1611132417731.png

Your circle is not a circle but 100 line segments, SVG files with hundreds of line do not work well in Fusion. You should try and use circles, arcs and splines if possible.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Message 3 of 5

g-andresen
Consultant
Consultant

Hi,

this is what the original and a converted version look like in Fusion.

converted bezier.png
Note: to be able to work with the fixed elements (green) you have to unfix (blue) them first.
Right click >FIX/UNFIX ( maybe 2 times)

 

günther

Message 4 of 5

adamsd5
Enthusiast
Enthusiast

The replies are helpful.  I'm still interested in the actual list if what svg elements are supported and not, and other suggestions such as which elements to avoid.  But for now, let me answer the question myself, adding what turned out to be the relevant information.  Without @HughesTooling telling me it imports fine, I would not have gotten here, so thanks!

 

The issue is that I am using Ubuntu on WSL on Windows 10.  When I "Insert from my comptuer...", I navigate to the WSL file system, which has this path:

\\wsl$\Ubuntu-20.04\home\dadams\python

 

I'm guessing Fusion 360 just can't handle this path.  When I copy the file to my Documents directory, I'm able to import it properly.

0 Likes
Message 5 of 5

adamsd5
Enthusiast
Enthusiast
What do you mean by "converted"? That seems useful.
0 Likes