Why can't I insert an SVG?

Why can't I insert an SVG?

lemelman
Collaborator Collaborator
1,409 Views
11 Replies
Message 1 of 12

Why can't I insert an SVG?

lemelman
Collaborator
Collaborator

I must be dong something wrong, but what?

I open a sketch, select 'Insert SVG', choose the SVG from my computer, and it just disappears. What am I doing wrong please?

0 Likes
Accepted solutions (1)
1,410 Views
11 Replies
Replies (11)
Message 2 of 12

LeonardoBN
Advocate
Advocate

Isn't it in a big scale (not your SVG's fault, but the importing process)? Sometimes I have to scale down a lot to see the imported geometry.

 

Leonardo Brunelli do Nascimento
Chemical Engineer
0 Likes
Message 3 of 12

lemelman
Collaborator
Collaborator

The SVG is about A5 sized, so it's very comparable in size to the sketch.

0 Likes
Message 4 of 12

TheCADWhisperer
Consultant
Consultant

Attach the file here.

0 Likes
Message 5 of 12

lemelman
Collaborator
Collaborator

Here's the f3d, and the SVG.

0 Likes
Message 6 of 12

TheCADWhisperer
Consultant
Consultant

I am not sure how to get the svg file to appear, but in any case, my preference would be to place as a canvas image, scale and trace over.

0 Likes
Message 7 of 12

g-andresen
Consultant
Consultant

Hi,

I have the impression that something is going wrong with the measurements.
In Fusion I measure 4695 mm after the import and in another application I measure about 177 mm. After the re-import in SVG it is 46.95 mm.
The attached file contains a re-import in DXF and measures 177 mm, just like before the re-import.

 

günther

0 Likes
Message 8 of 12

LeonardoBN
Advocate
Advocate

The original SVG is being imported really big.

Screencasts:

Only SVG: https://autode.sk/33Qbhd0 

Your file: https://autode.sk/33Qbhd0 

Leonardo Brunelli do Nascimento
Chemical Engineer
0 Likes
Message 9 of 12

lemelman
Collaborator
Collaborator

Thanks to Leonardo's and Guenther's observations, it turns out that the SVG, which measures 182mm x 124mm in CorelDraw, is inserted some 250x larger. And not only that, the unwanted scaling doesn't include the line weight, so if I scale the SVG in Fusion, the lines become far too thin.

Is this a bug in Fusion, or is the SVG faulty in some way?

0 Likes
Message 10 of 12

g-andresen
Consultant
Consultant

Hi,


@lemelman wrote:

 And not only that, the unwanted scaling doesn't include the line weight, so if I scale the SVG in Fusion, the lines become far too thin.

Is this a bug in Fusion, or is the SVG faulty in some way?


I don't know of any vector graphics application that delivers the line width for a single line.

 

günther

0 Likes
Message 11 of 12

LeonardoBN
Advocate
Advocate
Accepted solution

I don't know the correct terms, but the line thickness may not be exported directly to a SVG. It seems to be your case, where the 5 mm thickness are exported as "no thickness" lines.

 

There is an option in CorelDRAW:

1) Select your geometry and click Ungroup all Objects;

2) Object Menu / Convert Outline to Object (Ctrl+Shift+Q)

 

It will ungroup all lines and will convert your visible lines to a "real" geometry ready to be exported.

Here is the result in Fusion:

Captura de tela 2020-09-22 08.00.27.png

 

 

 

In this another example, i created two circles with different thickness (mm):

Captura de tela 2020-09-22 07.56.05.png

 

 

 

 

 

 

 

 

 

 

 

 

And the result in Fusion, applying or not that conversion:

Captura de tela 2020-09-22 08.03.05.png

Leonardo Brunelli do Nascimento
Chemical Engineer
Message 12 of 12

lemelman
Collaborator
Collaborator

Thank you Leonardo,

That worked really well and totally solved my problem.

0 Likes