7

I have this object (not grouped) :

enter image description here

This is what I want (after selecting a 'fill' color):

enter image description here

But I always get this:

enter image description here

How can this be achieved?

8

You need to cut off the inner objects from the outer object, i.e. to make a difference
(Path → Difference) of the outer object and inner objects, then you will fill only what you want.

To reach it:

  1. Move your outer object to the bottom (Object → Lower to Bottom).
    (Because the difference cut off the higher object from the lower one.)
  2. Select it and select one of the 3 inner objects.
  3. Make a difference of them (Path → Difference, or press Ctrl + -).
  4. Repeat points 2 and 3 with other 2 inner objects.

Done. Now you may fill it.

3
  • Thanks a lot!! For newbie users: selecting all three inner objects didn't work. Also, I made the selection by clicking the outer object then holding the shift key, and clicking one of the inner objects.
    – Wolf359
    Feb 26 at 13:39
  • 1
    @Wolf359 If you select all three inner objects, and first do Path > Combine, then you can select the outer shape, and the inner combined shape and do the Difference operation, and it will work in just one step.
    – Billy Kerr
    Feb 26 at 13:43
  • 1
    @Wolf359, you're welcome. Another approach is to first group inner 3 objects and then make the difference only once.
    – MarianD
    Feb 26 at 13:44
1

You started with 4 shapes, each with a single path. Select them all and combine into a single shape with 4 sub-paths.

enter image description here

You want the interior sub-paths to create holes in the shape. If the holes are closed, use the node tool to select all the sub-path nodes then reverse the path direction.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.