Inkscape.org
Beginners' Questions Fill enclosed areas with color
  1. #1
    ShlomoBachar ShlomoBachar @ShlomoBachar

    I am trying to fill enclosed areas with colors (I attached a picture of the file). Something anyone can do easily in MS Paint with Fill function.

    How is this done in Inkscape? I tried Paint Bucket tool which seemed to me the most intuitive but this fills everything and not the area I select.

    Is there any tool more appropriate for this? Or manual?

    I read that I need to combine the paths. But again I cannot also select each path separately for some reason and also some curves are boundary to two areas.

     

    Untitled
  2. #2
    inklinea inklinea @inklinea⛰️
    👍

    The paint bucket fill tool is fill based on the current zoom level. 

    For a true vector fill you can try this trick ? 

    https://inkscape.org/forums/tutorials/true-vector-fill/

    Otherwise you would have to make shapes that are joined - which might involve duplicating a few paths.

  3. #3
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Here's one method. Start with at least one closed shape. The remaining shapes can be open or closed but the end points should overlap another shape. Select all and use the Shape Builder tool [x] to choose the bounded areas. Now use the pallet or the Dropper tool [d] or the Fill and Stroke dialog [shift+ctrl+f] to change the fill colours.

  4. #4
    Polygon Polygon @Polygon🌶
    *

    I don‘t see any reasson the fill tool could not work it out. It has options like overfill and closing gaps and the area you want to fill - as Inklinea mentioned should be as large as possible displayed on screen - and you don‘t have to pre-select anything as it only works inside „boundaries“.

  5. #5
    Tyler Durden Tyler Durden @TylerDurden

    Same here.  Since they are enclosed areas, I would probably use the bucket tool with some "grow" (enlargement) and then send the object to back. 

    http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Bucket.html

    http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Z-Order.html

  6. #6
    David248 David248 @David248
    *
    Polygon

    I don‘t see any reasson the fill tool could not work it out. It has options like overfill and closing gaps and the area you want to fill - as Inklinea mentioned should be as large as possible displayed on screen - and you don‘t have to pre-select anything as it only works inside „boundaries“.

    I guess Shlomobachar did try to fill its shapes with the image below, hence his issues.

    @Shlomobachar : as mentioned, paint bucket tool works with background "as a raster image") : it won't work properly without removing the picture : place it next to your work, pick colors with colopicker tool and fill shapes with paint bucket tool.

  7. #7
    ShlomoBachar ShlomoBachar @ShlomoBachar

    @David248: You are right. I worked with the picture which was below (in separate, locked, layer).

    I didn't know that this would influence.

    Anyway, this feature doesn't work well IMO. At least it is not intuitive at all.

    As I wrote, even MS Paint is much easy and good. But that's what we have.

     

  8. #8
    Polygon Polygon @Polygon🌶

    And MS Paint will fill that what you have in the screenshot correctly? I doubt that. It will most likely stop at a color value- or contrast change.