gotcha

Author Topic: How to cut multiple, overlapping paths from a background  (Read 1586 times)

February 08, 2018, 04:15:01 AM
Read 1586 times

jcrb10

  • Sr. Newbie

  • Offline
  • **

  • 3
I'm trying to cut multiple, overlapping paths from one rectangle.

Initially I tried to combine all of these paths, but because the paths overlap, I get undesirable path combinations (with many undesired gaps etc.)

I want to effectively invert the grass at the bottom of the image so that the block shape acts like a stencil of the grass, all in a single path.

The output would be similar to the attached file cut_paths_transparent.png (I created this by exporting with the grass a white, and then making the colour white be transparent. However, I'd prefer not to have to do this).

How can I cut away these multiple blades of grass and be left with a stencil of the grass?

Thank you.

February 08, 2018, 03:19:34 PM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Do:

Select all grass blades.
Path > Union.
Put rectangle below.
Select grass + rectangle.
Do Path > Difference.

February 09, 2018, 04:31:31 AM
Reply #2

jcrb10

  • Sr. Newbie

  • Offline
  • **

  • 3
I have tried to do Path > Union for all of the blades of grass, however nothing seems to happen. I've also tried to do it with just 2 blades but it still isn't working (I assumed it was potentially because of processing time if there were 100s of blades). Do I need to pre-prepare the blade paths in anyway before doing Path > Union?

February 09, 2018, 06:00:00 PM
Reply #3

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
What kind of objects are your blades? Checkout the status bar, when you have them selected with the select tool.
It will also print out the error message when something, like the union, does not work.

February 10, 2018, 04:23:43 PM
Reply #4

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
They're in a Group.  Plus, you have a lot of strange objects added on top, to cover up holes which I guess you don't want.  I'll make a video, rather than type everything out.  Back shortly.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

February 10, 2018, 04:47:22 PM
Reply #5

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community


In case it's hard to see because of the video branding watermark, the very last step I'm using the black chip on the palette, to change the final result from yellow to black.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

February 12, 2018, 03:14:44 PM
Reply #6

jcrb10

  • Sr. Newbie

  • Offline
  • **

  • 3
Thank you very much for that - it worked.

The main thing was Ungrouping twice so as to change the objects to paths.