Advertisement


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


Question

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

2013/04/26
1
0
4/26/2013 1:42:00 PM

Accepted Answer

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.

2013/04/26
3
4/26/2013 2:36:00 PM