Inkscape Community

Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: sinergy on March 08, 2017, 11:08:55 AM

Title: Problem filling a shape
Post by: sinergy on March 08, 2017, 11:08:55 AM
Hi
I am new to inkscape and I still do not command well certain features.

I drew a shape using the pensil tool and when I fill the shape internal space this is what I get (see attachment):
I wonder why the fill color goes out of the shape. I made sure the line is all connected (combined?)
How can I avoid this to happen?
Any help appreciated
Regards
Title: Re: Problem filling a shape
Post by: brynn on March 09, 2017, 06:25:00 AM
Welcome to the forum!

No, you clearly have at least one place, maybe 2 or more, where the nodes aren't connected.  Zoom into the area where the missing fill meets the path, and you can find them.  To fix, select 2 end nodes, and click Join selected nodes button on the Node tool control bar   :jsn:

You might be able to fix one place, and solve the fill problem, without fixing the other (if there's only 2 places).  But ideally it would be better to fix all.

Also I notice you've got hundreds, if not thousands of nodes in some of those paths.  The Pencil tool is famous for doing that.  I would suggest learning how to use the Pen/Bezier tool, because you set the nodes yourself, and can't get this exhorbitant amount of nodes.  It's really not too hard.  I made an explanation of the basic features in this tutorial (you only need to read that section, not the whole thing)  https://forum.inkscapecommunity.com/index.php?action=articles;sa=view;article=7

But for now, you can reduce the number of nodes by clicking Path menu > Simply, once.  If you do it only once you probably will not notice any changes to the path.  More than once, and it will start to be distorted.

Or if you can't seem to find them, you could share your SVG file, and we can find for you.

That tutorial I mentioned will tell you how to avoid it happening.  It tells how to close the path while you are drawing it, so you don't have to come back and do it later.

Title: Re: Problem filling a shape
Post by: sinergy on March 09, 2017, 07:58:36 AM
Hi Brynn, many thanks for your prompt reply, availability and for the solution you suggested. I managed to fix it now.
Best regards
Title: Re: Problem filling a shape
Post by: brynn on March 11, 2017, 11:39:43 AM
You're welcome, and I'm glad you got it fixed  :)