1
00:00:00.05 --> 00:00:02.02
- In this movie I'll
show you how to create

2
00:00:02.02 --> 00:00:04.07
what's known as a compound path,

3
00:00:04.07 --> 00:00:08.06
which is when you combine
multiple path outlines into one.

4
00:00:08.06 --> 00:00:12.02
And most simply this is used
in order to carve holes,

5
00:00:12.02 --> 00:00:14.01
so for example, if you
take a look at the rim

6
00:00:14.01 --> 00:00:16.07
of the magnifying glass,
we have the inner circle

7
00:00:16.07 --> 00:00:18.07
cutting a hole in the outer circle.

8
00:00:18.07 --> 00:00:20.08
And the same thing is occurring with

9
00:00:20.08 --> 00:00:23.00
this black shadow right here.

10
00:00:23.00 --> 00:00:24.06
And let me show you what that looks like.

11
00:00:24.06 --> 00:00:26.09
Go ahead and switch over to this document

12
00:00:26.09 --> 00:00:28.06
and it appears I've made a mistake,

13
00:00:28.06 --> 00:00:30.08
I went ahead and created these two circles

14
00:00:30.08 --> 00:00:32.02
on this Guides layer,

15
00:00:32.02 --> 00:00:33.08
but that's great because
it gives me the chance

16
00:00:33.08 --> 00:00:36.02
to show you a very fundamental technique.

17
00:00:36.02 --> 00:00:38.01
I'm going to go ahead
and partially Marquee

18
00:00:38.01 --> 00:00:40.05
those two circles with
my black arrow tool.

19
00:00:40.05 --> 00:00:43.01
And notice I now see a little blue square

20
00:00:43.01 --> 00:00:44.09
over here in the Layers Panel.

21
00:00:44.09 --> 00:00:47.00
That square represents this selection.

22
00:00:47.00 --> 00:00:50.07
And so if I drag it and drop
it onto the Drawing layer,

23
00:00:50.07 --> 00:00:53.06
it now becomes Red to
indicate that the selection

24
00:00:53.06 --> 00:00:56.03
has moved to that layer.

25
00:00:56.03 --> 00:00:58.00
And you can also see
that the anchor points

26
00:00:58.00 --> 00:01:01.03
and the segments are turning Red, as well.

27
00:01:01.03 --> 00:01:03.06
All right, so the most common example

28
00:01:03.06 --> 00:01:06.02
of a compound path is the letter O.

29
00:01:06.02 --> 00:01:08.08
So let's say I decide to draw an O myself.

30
00:01:08.08 --> 00:01:11.03
I'll go ahead and switch
to the Ellipse Tool

31
00:01:11.03 --> 00:01:12.08
and then I'll go ahead and drag

32
00:01:12.08 --> 00:01:15.01
from the intersection
of these two guidelines,

33
00:01:15.01 --> 00:01:16.05
and I'll press the Alt key,

34
00:01:16.05 --> 00:01:18.06
or the Option key, as I drag

35
00:01:18.06 --> 00:01:20.07
to create this path from the center out.

36
00:01:20.07 --> 00:01:22.00
And then I'll press the Alt key,

37
00:01:22.00 --> 00:01:23.02
or Option key on the Mac,

38
00:01:23.02 --> 00:01:24.09
while creating a smaller ellipse.

39
00:01:24.09 --> 00:01:26.06
All right, now I'm
going to press the V key

40
00:01:26.06 --> 00:01:28.04
to switch back to the black arrow tool,

41
00:01:28.04 --> 00:01:30.05
and I'll go ahead and
Marquee both these paths.

42
00:01:30.05 --> 00:01:32.02
And let's say I want to change the Fill

43
00:01:32.02 --> 00:01:35.02
to something like Red,
just so that we have

44
00:01:35.02 --> 00:01:36.09
a different color going on screen.

45
00:01:36.09 --> 00:01:40.04
Notice that I am filling
both path outlines.

46
00:01:40.04 --> 00:01:43.07
If I want the inner path to
cut a hole in the outer path,

47
00:01:43.07 --> 00:01:45.08
then I need to combine the two paths

48
00:01:45.08 --> 00:01:47.09
into a compound path.

49
00:01:47.09 --> 00:01:50.05
And you do that by going
up to the Object menu,

50
00:01:50.05 --> 00:01:53.08
choosing Compound Path, way
down here at the bottom,

51
00:01:53.08 --> 00:01:56.01
and then choosing the Make command.

52
00:01:56.01 --> 00:01:59.02
And that goes ahead and
combines those two path outlines

53
00:01:59.02 --> 00:02:00.05
into one.

54
00:02:00.05 --> 00:02:03.04
And notice if I go ahead and drag this O

55
00:02:03.04 --> 00:02:06.05
out here so that it's
partially over the paste board,

56
00:02:06.05 --> 00:02:09.09
we can see that its interior
is indeed transparent.

57
00:02:09.09 --> 00:02:11.09
And the only reason we're
seeing a vertical line through

58
00:02:11.09 --> 00:02:14.00
the character, by the way,
is because Illustrator

59
00:02:14.00 --> 00:02:16.04
is showing us the edge of the artboard.

60
00:02:16.04 --> 00:02:19.04
But otherwise this shape
is entirely intact.

61
00:02:19.04 --> 00:02:20.08
All right, I'm going to get rid of that O

62
00:02:20.08 --> 00:02:22.02
because I don't want it,

63
00:02:22.02 --> 00:02:23.06
and what I want to do instead

64
00:02:23.06 --> 00:02:26.04
is create that little
bit of a shadow ledge

65
00:02:26.04 --> 00:02:28.07
that I was showing you
in the final graphic.

66
00:02:28.07 --> 00:02:30.06
And I want to make sure this time

67
00:02:30.06 --> 00:02:34.04
that I can exactly align
this new circle that

68
00:02:34.04 --> 00:02:37.03
I'm about to draw with the old one.

69
00:02:37.03 --> 00:02:39.02
And so I'm going to add a custom guide

70
00:02:39.02 --> 00:02:41.07
by clicking on the Guides
layer to make it active,

71
00:02:41.07 --> 00:02:43.07
and then I'll go ahead and select

72
00:02:43.07 --> 00:02:46.08
the Line Segment Tool, from
the Line Tool flyout menu.

73
00:02:46.08 --> 00:02:48.08
And I'll drag from the
intersection of these

74
00:02:48.08 --> 00:02:51.03
two guidelines right
there, down into the right

75
00:02:51.03 --> 00:02:53.00
while pressing the Shift key

76
00:02:53.00 --> 00:02:56.07
until I reach the bleed,
as I've done right here.

77
00:02:56.07 --> 00:02:58.05
And I'm pressing the
Shift key, by the way,

78
00:02:58.05 --> 00:03:00.06
so I can constrain the angle of this line

79
00:03:00.06 --> 00:03:02.06
to exactly 45 degrees.

80
00:03:02.06 --> 00:03:05.04
And if you're not clear on
where I'm going with this,

81
00:03:05.04 --> 00:03:07.03
I'll reveal the method behind my madness

82
00:03:07.03 --> 00:03:08.05
in just a moment.

83
00:03:08.05 --> 00:03:10.06
All right, now I want to
convert that line to a guide

84
00:03:10.06 --> 00:03:13.00
by going up to the View
menu, choosing Guides,

85
00:03:13.00 --> 00:03:15.06
and then choosing Make Guides.

86
00:03:15.06 --> 00:03:18.09
And I now have a custom
guide at 45 degrees.

87
00:03:18.09 --> 00:03:19.09
All right, now I'm going to click

88
00:03:19.09 --> 00:03:21.09
on the Drawing layer to
make it active once again,

89
00:03:21.09 --> 00:03:23.07
and I'll select the Ellipse Tool

90
00:03:23.07 --> 00:03:25.04
and I'm going to drag
from the intersection

91
00:03:25.04 --> 00:03:27.02
of this inner circle,

92
00:03:27.02 --> 00:03:28.08
and this diagonal guideline.

93
00:03:28.08 --> 00:03:30.01
So this point right there,

94
00:03:30.01 --> 00:03:32.02
and I'm going to drag up and out,

95
00:03:32.02 --> 00:03:33.06
and because the standard behavior

96
00:03:33.06 --> 00:03:35.03
is to create the ellipse inside of a

97
00:03:35.03 --> 00:03:37.01
rectangular bounding box,

98
00:03:37.01 --> 00:03:39.05
I am not getting any
sort of alignment at all.

99
00:03:39.05 --> 00:03:41.03
But if I press and hold the Control key,

100
00:03:41.03 --> 00:03:43.03
or the Command key on the Mac,

101
00:03:43.03 --> 00:03:45.00
during my drag, not before,

102
00:03:45.00 --> 00:03:47.00
because that would give
you the black arrow tool,

103
00:03:47.00 --> 00:03:48.09
then I'll go ahead and create the ellipse

104
00:03:48.09 --> 00:03:50.09
from that exact point.

105
00:03:50.09 --> 00:03:53.02
The problem is I can't
see the size of my ellipse

106
00:03:53.02 --> 00:03:54.03
as I'm drawing it,

107
00:03:54.03 --> 00:03:55.08
I don't have that heads up display,

108
00:03:55.08 --> 00:03:58.02
and that's because I
turned off Smart Guides.

109
00:03:58.02 --> 00:03:59.04
So I'll go ahead and undo the

110
00:03:59.04 --> 00:04:01.08
creation of that ellipse
and go up to the View menu

111
00:04:01.08 --> 00:04:04.05
and turn Smart Guides back on.

112
00:04:04.05 --> 00:04:06.03
And now I'll reattempt that maneuver

113
00:04:06.03 --> 00:04:09.05
by dragging from the
intersection of that inner circle

114
00:04:09.05 --> 00:04:10.09
and the diagonal guideline,

115
00:04:10.09 --> 00:04:13.00
and then pressing and
holding the Control key,

116
00:04:13.00 --> 00:04:14.03
or the Command key on the Mac,

117
00:04:14.03 --> 00:04:19.05
in order to align that edge
right there to that circle.

118
00:04:19.05 --> 00:04:22.05
And then also press
the Shift key as I drag

119
00:04:22.05 --> 00:04:24.09
so that I'm drawing a
perfect circle, like so.

120
00:04:24.09 --> 00:04:29.06
And I want it to be as close
to 402 points as possible.

121
00:04:29.06 --> 00:04:31.06
Looks like 401.58 points

122
00:04:31.06 --> 00:04:33.01
is about the best I'm going to do,

123
00:04:33.01 --> 00:04:35.05
at which point I'll go ahead and release

124
00:04:35.05 --> 00:04:39.01
in order to create that circle, like so.

125
00:04:39.01 --> 00:04:40.05
And be sure if you're
following along with me

126
00:04:40.05 --> 00:04:42.00
to release the mouse button

127
00:04:42.00 --> 00:04:44.00
before you release the Control and Shift,

128
00:04:44.00 --> 00:04:46.01
or Command and Shift keys.

129
00:04:46.01 --> 00:04:47.04
All right, now what you want to do

130
00:04:47.04 --> 00:04:49.05
is switch back to the black arrow tool,

131
00:04:49.05 --> 00:04:51.05
which of course you can
get by pressing the V key,

132
00:04:51.05 --> 00:04:54.04
and I want you to click on
this circle right there,

133
00:04:54.04 --> 00:04:58.03
the inner circle, because we're
going to be using it twice.

134
00:04:58.03 --> 00:05:00.04
And so anytime you want
to use the shape twice

135
00:05:00.04 --> 00:05:02.08
you need to copy it
before you put it in play.

136
00:05:02.08 --> 00:05:04.04
And so with that shape selected,

137
00:05:04.04 --> 00:05:05.06
I'll go up to the Edit menu

138
00:05:05.06 --> 00:05:07.02
and choose the Copy command.

139
00:05:07.02 --> 00:05:08.07
Or you can press Control C,

140
00:05:08.07 --> 00:05:10.06
or Command C on the Mac.

141
00:05:10.06 --> 00:05:13.05
All right, now I'm going to
Shift click on the circle I just

142
00:05:13.05 --> 00:05:16.07
created, and I'm going to fill
both these circles with Black

143
00:05:16.07 --> 00:05:18.04
by clicking on this first swatch

144
00:05:18.04 --> 00:05:20.04
on the left hand side
of the Control Panel,

145
00:05:20.04 --> 00:05:22.02
and choosing Black.

146
00:05:22.02 --> 00:05:24.00
And now of course I want the inner circle

147
00:05:24.00 --> 00:05:27.01
to cut a hole in the
relatively outer circle.

148
00:05:27.01 --> 00:05:29.02
And so I'll go up to the Object menu,

149
00:05:29.02 --> 00:05:31.06
choose Compound Path, and choose Make,

150
00:05:31.06 --> 00:05:33.02
and the deed is done.

151
00:05:33.02 --> 00:05:36.05
The thing is I also
want this outer circle,

152
00:05:36.05 --> 00:05:37.06
this guy right here,

153
00:05:37.06 --> 00:05:40.02
to have its inner circle cut out of it.

154
00:05:40.02 --> 00:05:42.08
So I'm going to go ahead
and press Control Z,

155
00:05:42.08 --> 00:05:45.03
or Command Z to undo that absurd move,

156
00:05:45.03 --> 00:05:46.07
and i'll paste that
shape that I just copied

157
00:05:46.07 --> 00:05:49.08
by going to the Edit menu
and choosing Paste in Front,

158
00:05:49.08 --> 00:05:51.03
it's very important you
choose Paste in Front,

159
00:05:51.03 --> 00:05:52.09
by the way, as opposed to Paste,

160
00:05:52.09 --> 00:05:54.04
because Paste is just going to paste

161
00:05:54.04 --> 00:05:56.00
the shape any old place.

162
00:05:56.00 --> 00:05:57.06
Whereas Paste in Front is going to put it

163
00:05:57.06 --> 00:05:59.06
right back where Illustrator found it.

164
00:05:59.06 --> 00:06:01.06
And of course you can also
execute that command by

165
00:06:01.06 --> 00:06:04.04
pressing Control F, or
Command F on the Mac.

166
00:06:04.04 --> 00:06:06.09
All right, now go ahead and Shift click

167
00:06:06.09 --> 00:06:11.00
on that outermost circle,
go up to the Fill swatch,

168
00:06:11.00 --> 00:06:12.06
on the far left side of the Control Panel,

169
00:06:12.06 --> 00:06:15.02
change the Fill to White this time,

170
00:06:15.02 --> 00:06:17.05
which isn't going to cover
up anything, by the way,

171
00:06:17.05 --> 00:06:20.00
because we pasted the shape in front

172
00:06:20.00 --> 00:06:22.08
of the outermost one, so
this Black ring right here

173
00:06:22.08 --> 00:06:24.02
is still at the front of the stack.

174
00:06:24.02 --> 00:06:26.08
And so now I'll go up to the Object menu,

175
00:06:26.08 --> 00:06:30.00
choose Compound Path, and choose Make,

176
00:06:30.00 --> 00:06:32.08
in order to combine those
two shapes together.

177
00:06:32.08 --> 00:06:34.06
And just to confirm that we have

178
00:06:34.06 --> 00:06:36.00
what I said we would have,

179
00:06:36.00 --> 00:06:39.04
I'll go ahead and drag these
paths out into the paste board,

180
00:06:39.04 --> 00:06:41.06
and you can see that we
now have a White ring

181
00:06:41.06 --> 00:06:43.01
with the innermost circle

182
00:06:43.01 --> 00:06:45.09
cutting a hole in the outermost one.

183
00:06:45.09 --> 00:06:47.05
And having proven that I'll just go ahead

184
00:06:47.05 --> 00:06:49.08
and press Control Z,
or Command Z on the Mac

185
00:06:49.08 --> 00:06:53.03
in order to put those shapes
back where they belong.

186
00:06:53.03 --> 00:06:54.09
And that's how you create compound paths

187
00:06:54.09 --> 00:06:58.01
which allow one path to
cut a hole through another

188
00:06:58.01 --> 00:07:01.04
here inside Illustrator.

