Wednesday, May 2, 2018

What's the Illustrator equivalent of Photoshop's clipping masks?


I'm struggling to find a way in Illustrator to do something which is very simple in Photoshop.


Here's an example:


I draw a plane. Now I want to draw stripes on it and a cockpit.


In Ps, I clip these two layers to the plane, and continue to edit the shape of the plane afterwards. The stripes and cockpit stay overlapping whatever the plane shape becomes.


In Ai, I've tried all the Pathfinder options, and although I can achieve the opposite effects to what I want, I can't simply 'clip' the details to the plane.


Here is a picture of what I mean: https://dl.dropbox.com/u/10452828/online/stackexchange1.png


What's the easiest way to do this in Ai? Do I need to find a different drawing flow to the way I do it in Ps?



Answer




Here's one way to do it:


1 — Duplicate the path you want to use to clip


Press return, type 0 for horizontal and 0 for vertical offsets, then click Copy.


enter image description here




2 — Apply clipping mask


You now have a copy of the plane outline. Change the fill to be completely clear, bring it to front, then select the items you want to be clipped (in Illustrator, the top path will be used as the clipping path).


Choose Object → Clipping Mask → Make.


enter image description here





3 — You’re done


It should appear the way you want. Clipping Masks in Illustrator work a little differently to Clipping Masks in Photoshop, but similar results can be achieved.


You can edit any of the shapes at any time by using the Direct Selection tool (the white arrow), or by double clicking with the Selection tool (to enter isolation mode, if you have that turned on in preferences).


enter image description here




Pathfinder tricks


When using Pathfinder, you option-click the buttons to apply the masking, but keep the paths editable (in Illustrator CS5 and newer). You can click Expand if you'd like to destructively apply the edit.


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...