Exploring the Pathfinder Palette


In Chapter 2, we learned about using the basic drawing tools like the Rectangle tool and the Ellipse tool. Those tools are great on their own, but you'll often need to create shapes that are a bit more complex. Although you can use a variety of the tools we've mentioned so far in this chapter to create and edit paths of any shape, there are many times when it's far easier to combine simple shapes to create more complex ones. It can also be easier to edit existing shapes using other shapes rather than trying to adjust the anchor points of individual paths.

Illustrator's Pathfinder palette, which you can open by choosing Window > Pathfinder, contains a wellspring of functions that you can perform with at least two selected paths.

Combining Shapes with Shape Modes

The top row of the Pathfinder palette contains four functions, called shape modes, which are used to combine multiple selected shapes in different ways. Once a shape mode is applied, the resulting shape is referred to as a compound shape.

When you create a compound shape from multiple selected objects, the resulting shape appears as a single object and takes on the attributes of the topmost object (Figure 4.55). Using the Direct Selection tool, you can select the individual objects in the compound shape and edit them. See the sidebar entitled "Illustrator Shape Modes and Photoshop Shape Layers" for additional functionality that you can take advantage of when using compound shapes.

Figure 4.55. Here are some examples of the different possible shape modes you can apply.


The following are the four different shape modes that you can choose from in the Pathfinder palette:

  • Add. The Add shape mode combines all of the selected shapes and gives the appearance as if they were all joined together. This function replaces the Unite pathfinder, which you can find in older versions of Illustrator.

  • Subtract. The Subtract shape mode combines all of the selected shapes and takes the top objects and removes them from the bottom-most object. This function replaces the Minus Front pathfinder, which was found in older versions of Illustrator.

  • Intersect. The Intersect shape mode combines all of the selected shapes and displays only the areas in which all of the objects overlap with each other.

  • Exclude. The Exclude shape mode combines all of the selected shapes and removes the areas in which the objects overlap with each other.

It is certainly useful to be able to select the individual objects of a compound shape, but many times you just want to create a new shape that combines all of the selected shapes. To do so, you can expand a compound shape by clicking the Expand button in the Pathfinder palette. If, when you're creating a compound shape, you know that you want to expand it, you can hold the Option (Alt) key while clicking the Add, Subtract, Intersect, or Exclude buttons. This applies the function and expands the shape in one step.

In reality, using any of the Shape modes can give you similar results to creating compound paths. Compound Shapes utilize the Even-Odd File Rule.



Additionally, you can release a compound shape by choosing Release Compound Shape from the Pathfinder palette menu. Releasing compound shapes returns the objects to their individual states and appearances.

Illustrator Shape Modes and Photoshop Shape Layers

If you've used Adobe Photoshop before, you might be familiar with vector shape layers, which allow you to create vector-based masks. Although Photoshop is primarily a pixel-based program, these shape layers, as Photoshop refers to them, allow you to create vector shapes within your Photoshop document. Upon close inspection, you'll find that to help you create more complex shapes, Photoshop's shape layers can be created using a variety of modes, including Add, Subtract, Intersect, and Excludethe exact same functions found in Illustrator's Pathfinder palette.

These objects are interchangeable between the applications and they retain their shape mode settings in the process as well. Create a compound shape in Illustrator, copy and paste it into Photoshop, and the compound shape becomes an editable vector shape layer. The same applies in reverse (Figure 4.56).

Figure 4.56. When you are pasting a shape layer from Photoshop, Illustrator asks if you want to have it pasted as a compound shape.



Changing Paths with Pathfinders

The functions in the second row of the Pathfinder palette are called pathfinders, and unlike with compound shapes, when you use pathfinders, they do not retain the original objects. Once you apply a pathfinder function, the paths are changed permanently (Figure 4.57). The following are the six pathfinder functions in the Pathfinder palette:

  • Divide. One of the most often-used pathfinders, Divide takes all selected objects and breaks them apart into individual shapes based on their overlapping parts. Open paths act like knives and slice paths that intersect with them.

  • Trim. The Trim pathfinder removes all overlapping areas from the selected paths.

  • Merge. The Merge pathfinder removes all overlapping areas from the selected paths and joins all areas of the same color.

  • Crop. The Crop pathfinder takes the topmost selected object and removes all objects and areas beneath it that fall outside of its path. Unfortunately, this pathfinder works on vector objects only and you can't use it to crop a raster image (you'll need Photoshop for that). This function ignores strokes on objects, so it's best to perform an Outline Paths function before applying the Crop pathfinder.

  • Outline. The Outline pathfinder converts the selected shapes to outlines and divides the lines where they intersect.

  • Minus Back. The Minus Back pathfinder is similar to the Subtract shape mode, only instead of using the top object to define the subtracted area, the function uses the bottom object.

Figure 4.57. Here are some examples of the different possible pathfinder functions that you can apply.


Once you've applied a pathfinder function, you can choose Repeat Pathfinder from the Pathfinder palette menu to apply the same effect again. In reality, it takes longer to access the palette menu than it does to just click the actual icon in the palette, but by having this function available, you can assign a keyboard shortcut to it in the Keyboard Shortcuts dialog if you find that you use these functions often.

From the Pathfinder palette menu, you can also choose Pathfinder Options, where you can set the level of precision to use when applying pathfinder functions (lower numbers may result in more complex paths). You can also specify that Illustrator should remove redundant points (always a good idea) and should remove unpainted artwork when performing Divide or Outline functions.




Real World Adobe Illustrator CS2
Real World Adobe Illustrator CS2
ISBN: 0321337026
EAN: 2147483647
Year: 2003
Pages: 147
Authors: Mordy Golding

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net