r/Inkscape•
wolfkin

[HELP] Trying to use an icon to remove space from a pattern (Pictures inside)

https://imgur.com/a/j5XdMzu

So I want to put on icon on a field of pattern. The imgur section should make it clear. But I'm not sure how to go about doing it on Inkscape.

Took me forever to find out how to punch the pattern out in the shape of my frame and then I have to remove everything extra basically node by node. I'm trying to find a more elegant solution here.

Posted Apr 17, 2023, 3:19 AM UTC

21

That's what clip/mask is for. But, believe me, it's a logic puzzle!

Using your linked example...

  1. Start with 4 path objects, the shield shape (shield fill), a separate shield object with only the border (no fill), your pattern fill (which needs to be big enough to surround the shield) and your lion
  2. Position the lion where it needs to be over the shield fill, select both the lion and the shield fill then Path > Difference. The lion is now "cut out" of the shield fill. If you don't see it immediately, change the fill to anything other than white
  3. Place the pattern fill in position under the shield fill, select the pattern fill and the shield fill then Object > Clip > Set Clip
  4. Align the shield border over the top of everything else and you're done. Group everything for easier manageability

¿Todo claro?

2