How do I use one shape to delete a portion of another shape?

I have created an arrow shape (rightmost in image), from which I wish to cut out the majority so that only two thin sides remain. The most accurate way to do this would be to duplicate the shape and to somehow use the duplicate (leftmost in image) to remove the chunk that I no longer desire from the original. I am not sure what to do after the duplication, however, or if this method is even possible? Is there a better one?

enter image description here

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

You are pretty much on the right track.

You could do it like this:

  1. Create the triangle shape ( Or in your case, delete the second triangle, you only need one at this point ).

    enter image description here

  2. Take Path selection tool and click the triangle once and press Shift + Alt + left arrow key.
    • Left arrow key: Moves the path to the left
    • Shift: Makes sure that the 1 Left arrow key click equals 10px to the left.
    • Alt: Makes sure that when the left arrow key is clicked, the currently selected shape is copied as well

    ( after that you may want to press just the the arrow keys few more
    times to position it perfectly… )

    enter image description here

  3. From the tool options you will find icon for path operations. Select: Subtract front shape( In older versions these icons will all be in the tool options sitting side by side, because that’s how they roll… )

    enter image description here

    …that will subtract from the previous path.

    enter image description here

    enter image description here


This all happens inside one shape layer:

enter image description here


…and the same method works in older versions as well, as long as you start with a shape layer.

Method 2

Right click the image preview box in the layers window for the layer of the image you want to use as the cookie cutter. Click select pixels. Now click or select the layer you want to chop a hole in, then go ahead and ctrl-X, or cut pixels.

You will need to rasterize your shapes before doing this if you haven’t already.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x