[solved] difference between path and area

Post questions on how to use or achieve an effect in Inkscape.
marco_fera
Posts: 2
Joined: Tue Apr 07, 2015 6:59 pm

[solved] difference between path and area

Postby marco_fera » Tue Apr 07, 2015 7:18 pm

Hi, I'm having some difficulties at importing svg files created with inkscape into another program. I suspect that this program can't correctly handle "empty" curves, but can handle areas, as if these two kinds of elements are treated differently.

In order to explain better what I mean please take a look at the attached file, I created it with this online tool http://www.drawsvg.org/
What I can see is that the simple shape that I created is an area, and this file can be correctly imported into my program.
If I create a shape with inkscape it will be treated as an "empty" path.

So my question is, how can I create an area with inkscape?
Attachments
file.svg
(2.82 KiB) Downloaded 166 times

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: difference between path and area

Postby ragstian » Tue Apr 07, 2015 8:08 pm

Hi.

I suspect that your "another program" only can handle closed shapes like the one in your example.

To close your curves, select the one of your objects, press object union ( Ctrl + )

There are several other ways to create "closed shapes" in inkscape.
The simplest closed shape consists of two nodes,
use the bezier line tool :tool_pen: , click at where you want the path to start, move the mouse pointer to where you want the endpoint, click once and move the mouse back to the start and click again.
Press F2 to go to "node mode" - click and hold the middle of the line and drag away from the line. You can repeat for the "other part" of the line.
Image
Last edited by ragstian on Wed Apr 08, 2015 4:17 am, edited 2 times in total.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

marco_fera
Posts: 2
Joined: Tue Apr 07, 2015 6:59 pm

Re: difference between path and area

Postby marco_fera » Tue Apr 07, 2015 9:26 pm

Thanks! it worked!


Return to “Help with using Inkscape”