[solved] Fill between two paths- see below layer

Post questions on how to use or achieve an effect in Inkscape.
mimel
Posts: 2
Joined: Tue Sep 04, 2018 6:40 am

[solved] Fill between two paths- see below layer

Postby mimel » Tue Sep 04, 2018 6:51 am

Hi there! I have two flowers, one black and one blue. I would like the blue flower on bottom and the black on top. This is easy enough- however, I would like the blue to show through in the middle of the flower, which I can't figure out how to do.

I figured the way to do this is to "fill between paths", however, I can't find an option for that. So what I have done is had my outer path fill with black and my inner path fill with white for the black flower, and same for the blue flower. However, when I stack them, the effect is that there is a blue layer, white on top of that, black on top of that, then white again. What I would really like is the blue flower to show on the inside of each petal and not have any layers covering it up. I hope this makes sense.

I can't figure out how to embed an image in this post but here is a link to the image: https://ibb.co/kYB8kK
I've also attached the SVG.
Attachments
flower-layers.svg
(26.23 KiB) Downloaded 164 times

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Fill between two paths- see below layer

Postby druban » Tue Sep 04, 2018 10:45 am

Simple enough your top flower is a white filled object on top of a black filled object. Instead you need to subtract the white object from the black filled object leaving you with a black object with 'holes' where the white object was, allowing the blue parts to show through.

This can be done by entering the group consisting of the Black object (bottom, important!) and the white object(top), selecting them both, and doing Path>Difference
2018-09-03_174334.png
2018-09-03_174334.png (40.24 KiB) Viewed 1179 times

In fact once you have done this there is no reason to have this group anymore since it only has one path in it, so you can ungroup for clarity, or maybe ungroup everything, the blue and white grouped paths as well align things and make one group of it all
Your mind is what you think it is.

mimel
Posts: 2
Joined: Tue Sep 04, 2018 6:40 am

Re: Fill between two paths- see below layer

Postby mimel » Fri Sep 07, 2018 4:02 pm

Ah, I was using difference a different way and didn't realize that it could be used like this! Thank you!


Return to “Help with using Inkscape”