Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

Whenever I am working with Adobe Illustrator, I can't figure this out for the life of me so I end up doing all kinds of knifing to get it sort of the way I want it. I am posting this here so I can find out the actual way to do it once and for all.

Basically, in the below image (left), I want to trim the overlapping elements so nothing gets past the inside of the black border like the image on the right.

enter image description here

Do I select all three elements (the border and the two shades of ground) and use a tool in the pathfinder? How do I go about this?

share|improve this question

migrated from stackoverflow.com Apr 18 '13 at 2:05

This question came from our site for professional and enthusiast programmers.

3 Answers 3

Unless I'm misunderstanding the issue, the easiest solution is to move your frame in front of the other elements. Select the border, and from the main menu, choose Object > Arrange > Bring to front.

Or, for more precise control of the "stacking order" of your objects, for instance, if you don't want the frame to be the top-most object in your drawingbut still be in front of the overlapping objects, select the frame, which will be showing as "Selected Art" in the Layers panel, and move the frame in front of the objects. If you're not that familiar with the various indicators in the Layers panel in Illustrator, you can check out this short article: http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-62d8a.html

But if you want to actually trim the objects, the Shapebuilder tool (Shift + M), is a more intuitive way to work with Pathfinder operations. If you select the objects in question, the frame and the two other shapes, you can work with the Shapebuider to "merge" the overlapping pieces. There's a sweet video tutorial here that shows the use of this tool, which was introduced in CS5. http://tv.adobe.com/watch/learn-illustrator-cs5/creating-complex-art-with-the-shape-builder-tool-/

share|improve this answer

There are several options. * Create a mask for your shapes. That'll hide every outside the mask. * Path interest the shapes. The border has to be a shape though. Delete the extra shapes.

share|improve this answer
    
Well, some elements will actually go outside of the border so I can't create a mask. The border is a shape. Is there no way I can select the border and the two shades of ground and just cut away the parts that flow over? Or is there some kind of simple select tool that I can use to select and cut away certain parts like in Photoshop? –  Desi Apr 17 '13 at 22:51
    
I've been doing this for the past couple hours and still haven't figured it out. I just resorted to using the knife tool again. Why do they make this program so goddamn different from Photoshop ffs! –  Desi Apr 18 '13 at 1:26

Use the Shape Builder Tool (CS5-6)
shape builder

You may need to draw a shape where you want the two objects to stop. Then select all 3 objects and Option/Alt-click any portion you do not want with the Shape Builder Tool.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.