1
00:00:00.09 --> 00:00:01.09
- [Instructor] Another great use

2
00:00:01.09 --> 00:00:03.03
for the knockout group check box

3
00:00:03.03 --> 00:00:07.01
is that you can turn fill and
stroke attributes into holes

4
00:00:07.01 --> 00:00:09.06
from the appearance panel,

5
00:00:09.06 --> 00:00:10.08
and this is one of those tricks

6
00:00:10.08 --> 00:00:13.02
that the first time I saw
it, it just blew my mind,

7
00:00:13.02 --> 00:00:16.07
and so here we are looking
at an angled version

8
00:00:16.07 --> 00:00:20.01
of that atom art that we
created back in chapter 19

9
00:00:20.01 --> 00:00:21.09
of the advanced course.

10
00:00:21.09 --> 00:00:24.02
Now this artwork goes a
little farther than that,

11
00:00:24.02 --> 00:00:25.09
which is why I'm going to tell you

12
00:00:25.09 --> 00:00:28.02
that you can find out
more about it if you want,

13
00:00:28.02 --> 00:00:33.08
in Deke's Techniques numbers 508 and 509.

14
00:00:33.08 --> 00:00:35.02
So that's entirely up to you.

15
00:00:35.02 --> 00:00:37.00
And by the way, if you end
up getting a font warning

16
00:00:37.00 --> 00:00:39.00
when you open this document,

17
00:00:39.00 --> 00:00:40.07
don't worry about it
because we're just going

18
00:00:40.07 --> 00:00:43.04
to throw this layer away starting now,

19
00:00:43.04 --> 00:00:45.06
so I'll just go ahead
and click the trash icon

20
00:00:45.06 --> 00:00:47.06
at the bottom of the layers panel

21
00:00:47.06 --> 00:00:49.06
and click the yes button.

22
00:00:49.06 --> 00:00:52.09
Alright, so currently I
have a flat red background

23
00:00:52.09 --> 00:00:55.05
and I've filled each one of the electrons

24
00:00:55.05 --> 00:00:58.04
with red as well, so the electrons appear

25
00:00:58.04 --> 00:01:00.06
as if they're transparent.

26
00:01:00.06 --> 00:01:03.07
But what if I add some
interest to that background?

27
00:01:03.07 --> 00:01:06.04
I'll go ahead and twirl open
the back layer right here

28
00:01:06.04 --> 00:01:09.00
and I'll turn on this gradient rectangle,

29
00:01:09.00 --> 00:01:10.09
at which point it's pretty obvious

30
00:01:10.09 --> 00:01:12.09
that these are red electrons,

31
00:01:12.09 --> 00:01:14.05
as opposed to transparent ones.

32
00:01:14.05 --> 00:01:17.00
Things get even worse if I were to click

33
00:01:17.00 --> 00:01:18.09
on a big red rectangle to select it

34
00:01:18.09 --> 00:01:22.07
and change its fill
color to let's say blue,

35
00:01:22.07 --> 00:01:25.00
at which point it's absolutely obvious

36
00:01:25.00 --> 00:01:26.05
that this isn't what I want.

37
00:01:26.05 --> 00:01:29.05
In fact, this is what I want right here.

38
00:01:29.05 --> 00:01:32.02
I want these guys to be
absolutely transparent

39
00:01:32.02 --> 00:01:34.03
wherever they occur,

40
00:01:34.03 --> 00:01:36.04
and this is something I can achieve

41
00:01:36.04 --> 00:01:38.09
using the knockout group check box.

42
00:01:38.09 --> 00:01:41.02
Alright, so I'll just
go ahead and switch back

43
00:01:41.02 --> 00:01:42.06
to my artwork at hand,

44
00:01:42.06 --> 00:01:44.09
and I'll press control shift A,

45
00:01:44.09 --> 00:01:45.09
or command shift A on a Mac,

46
00:01:45.09 --> 00:01:47.02
in order to deselect the art,

47
00:01:47.02 --> 00:01:50.01
and I'll go ahead and collapse
that back layer as well.

48
00:01:50.01 --> 00:01:53.08
Now you may recall that this
is just a single ellipse,

49
00:01:53.08 --> 00:01:56.06
and so I'll press control
Y or command Y on a Mac

50
00:01:56.06 --> 00:01:58.06
to reveal it in the outline mode.

51
00:01:58.06 --> 00:02:02.03
That way I can easily select
it by clicking on it like so,

52
00:02:02.03 --> 00:02:04.07
and so everything is
coming off that ellipse

53
00:02:04.07 --> 00:02:08.05
in a form of a bunch of
fill and stroke attributes.

54
00:02:08.05 --> 00:02:11.00
Alright, now I'll press
control Y or command Y on a Mac

55
00:02:11.00 --> 00:02:13.02
to switch back to the preview mode,

56
00:02:13.02 --> 00:02:16.04
and I'll switch back to the
appearance panel as well,

57
00:02:16.04 --> 00:02:20.04
and let's just go ahead and
briefly build this guy up,

58
00:02:20.04 --> 00:02:22.05
just in case you forget what's going on,

59
00:02:22.05 --> 00:02:25.04
and so I'll just go ahead
and turn off all the effects

60
00:02:25.04 --> 00:02:27.03
and attributes one by one,

61
00:02:27.03 --> 00:02:29.04
and we'll start with a stroke,

62
00:02:29.04 --> 00:02:31.06
which is getting repeated three times,

63
00:02:31.06 --> 00:02:34.03
thanks to this transform
effect right here,

64
00:02:34.03 --> 00:02:38.01
and then we've got another
fill right there in the center.

65
00:02:38.01 --> 00:02:39.03
The reason it's a little circle

66
00:02:39.03 --> 00:02:42.01
is because we applied an ellipse effect,

67
00:02:42.01 --> 00:02:46.06
and then we've got a bunch of
additional fills right here

68
00:02:46.06 --> 00:02:49.00
that represent each one of the electrons,

69
00:02:49.00 --> 00:02:51.02
and so this is all the white stuff,

70
00:02:51.02 --> 00:02:54.07
and then we have three
red fills at the top,

71
00:02:54.07 --> 00:02:57.00
which represent the holes,

72
00:02:57.00 --> 00:02:59.08
even though of course that's
not working currently.

73
00:02:59.08 --> 00:03:02.03
Then finally, I transformed
the entire thing

74
00:03:02.03 --> 00:03:05.04
in order to rotate it at an angle.

75
00:03:05.04 --> 00:03:07.03
Alright, so what we need to do

76
00:03:07.03 --> 00:03:10.05
is twirl open any one
of these red fills here,

77
00:03:10.05 --> 00:03:12.09
and it really doesn't matter
what color you start with,

78
00:03:12.09 --> 00:03:14.00
by the way.

79
00:03:14.00 --> 00:03:16.08
The color of your shapes
and your attributes

80
00:03:16.08 --> 00:03:18.02
does not matter at all,

81
00:03:18.02 --> 00:03:20.07
and then what I'm going to do is click

82
00:03:20.07 --> 00:03:23.05
on the word opacity and
I'm going to change it,

83
00:03:23.05 --> 00:03:25.08
once again, to 50%,

84
00:03:25.08 --> 00:03:28.06
and that's this guy right here at the top,

85
00:03:28.06 --> 00:03:31.01
so I'll just go ahead and zoom in on it.

86
00:03:31.01 --> 00:03:34.05
Now what we want to do is
select the entire path.

87
00:03:34.05 --> 00:03:36.07
You don't want to leave
this fill selected.

88
00:03:36.07 --> 00:03:38.03
You want to click on this path item

89
00:03:38.03 --> 00:03:40.03
up here at the top of the appearance panel

90
00:03:40.03 --> 00:03:42.08
and then turn on the
knockout group check box.

91
00:03:42.08 --> 00:03:44.04
Now the first time I'm clicking on it,

92
00:03:44.04 --> 00:03:47.09
in my case anyway, I'm
seeing the neutral state.

93
00:03:47.09 --> 00:03:50.00
That little dash doesn't do you any good.

94
00:03:50.00 --> 00:03:53.01
Click again in order to get a check box,

95
00:03:53.01 --> 00:03:56.04
at which point you will
begin to see through

96
00:03:56.04 --> 00:03:58.06
that translucency.

97
00:03:58.06 --> 00:04:01.09
Alright, and now all we need
to do is click on the fill

98
00:04:01.09 --> 00:04:05.09
in order to select it and
change its opacity value

99
00:04:05.09 --> 00:04:08.01
to zero percent, and we end up

100
00:04:08.01 --> 00:04:10.09
with an absolute hole, like that.

101
00:04:10.09 --> 00:04:12.09
Alright now we just need to do it again,

102
00:04:12.09 --> 00:04:15.07
but of course it'd be nice
to see the entire artwork,

103
00:04:15.07 --> 00:04:17.05
so I'll go ahead and press control zero

104
00:04:17.05 --> 00:04:20.02
or command zero on a Mac to zoom out,

105
00:04:20.02 --> 00:04:22.04
and I'll select this fill
attribute right there,

106
00:04:22.04 --> 00:04:24.04
and I'll just tap the tilde key,

107
00:04:24.04 --> 00:04:28.02
and so if you loaded D keys
and you have a tilde key

108
00:04:28.02 --> 00:04:30.04
on your keyboard, it's that simple.

109
00:04:30.04 --> 00:04:32.06
If not, then of course just go ahead

110
00:04:32.06 --> 00:04:35.06
and twirl the fill open,
click on its opacity option,

111
00:04:35.06 --> 00:04:39.06
and enter an opacity value
of zero percent, like so,

112
00:04:39.06 --> 00:04:43.08
and we end up with real, true,
honest to goodness holes,

113
00:04:43.08 --> 00:04:49.04
where each and every one of
our three electrons appears.

114
00:04:49.04 --> 00:04:52.01
And that's how you can turn
fill and stroke attributes

115
00:04:52.01 --> 00:04:55.02
into holes, by assigning opacity values

116
00:04:55.02 --> 00:04:58.00
from the appearance
panel and by turning on

117
00:04:58.00 --> 00:05:02.02
the knockout group check
box for the entire object.

