- [Instructor] If we look at the enclosure assembly,
we can see it's now looking a little bit better.
But the main problem is,
that we can't access any of the ports.
If I make this top part semi transparent,
you can see we can't access any of these sockets.
So we're going to add some cutouts around the top part
so we can use these.
To do this, we're going to use in context editing.
So this means that we'll be editing within the assembly.
And this allows us to ease features from the PCB model
to line up the cutouts that we need on the enclosure model.
All of the cutouts are on this top part.
So let's edit that part by left clicking on it,
and then choosing the fourth option, which is edit part.
So now you can see, as usual, all of the parts.
that we aren't editing have gone to this wire frame view.
The first thing that we need to do is,
draw a sketch for the cutouts
and we could just use this large flat face.
But the problem is, if we make changes to that face
later on, maybe if we add a draft angle for molding
or something like that, it might affect the feature,
so it's better to use one of the default planes.
To do this, let's hover over the default planes.
Under the enclosure top part,
and then choose the one that lines up
with that long flat face.
So for me, it's the right plane.
I'm going to left click to select it, and then press sketch.
And now if we go to a normal to view by clicking
this button. Remember, if you don't have this menu open,
you can just press the space bar to open it.
So now if we go to normal Tview,
you can see we can't actually see
where the headphone socket is,
because it's inside the enclosure.
So we need to use a section view.
You can get to this by just clicking
the section view button up here.
So move your model around,
and we want to choose one of these three default options.
It should be the one,
that lines up with that large flat face.
You might see that you can't actually see
your headphone socket in there.
And if that's the case,
all we need to do is reverse the direction of the view.
You can do that by clicking these two arrows here.
So now you can see the view of the model around,
we can see the headphone sockets there.
When you're happy, just press OK.
Now we can go to a normal to Tview again.
And you might have to click the button twice,
just so you can see the headphone socket like this.
So now we just need to sketch the cut profile.
And to do this, let's go to the sketch tab,
and then select the slot tool, which is this one.
Select a straight slot,
which is the first option here on the left.
And then let's zoom in to the headphone sockets.
If you hover over one of these circular edges,
and then just move the mouse away slightly,
you should see this small center mark,
and that indicates the very center of those circles.
And we're going to use this center mark to start a slot.
So move your mouse over it and then just left click once.
Then let's move directly out to the side
and then left click again,
and then move upwards and left click again.
And then you can press Escape to close the slot tool.
So now we just need to fully define this sketch.
We can do this by selecting the smart dimension tool.
Firstly, let's set the radius by clicking on this armor.
And let's set it as 3mm.
So you can see it's going to be a little bit larger
than headphone socket all the way around
to allow us to fit in the headphones.
And then for the length here,
you can say any length as long as it extends
beyond the edge of your enclosure.
So I'm just going to click it and set 5mm.
Now you can press Escape to exit the smart dimension tool.
So now your sketch should be fully defined.
And if it's not for any reason,
you might just need to click on this line,
and then choose either horizontal
or vertical relation as appropriate.
So now we just need to use this slot sketch.
To make an extruded cut,
and we can do this from within the sketch,
go to the Features tab,
and then just select extruded cuts.
If we zoom out and rotate around,
you can see we've got the preview here,
we're going to change it from blind to through all,
which is this one.
So this means that you cut all the way through your model
in the direction that you're facing,
can see we're actually facing in the wrong direction here.
So if your model looks like this,
you can click these buttons to flip the direction.
So now we're going to cut out past the headphone socket,
but only on the top part that we're editing.
So when your model looks like this,
just press OK to add that cut.
And you might find that your part disappears,
if so all you need to do is rebuild,
by pressing the rebuilt button or by pressing Ctrl + B.
And now if we move round,
you can see we've got that cut out for the headphone socket.
So now we can just rename that feature,
by doing a slow double click on it down here or pressing f2
and let's just call that headphone cut.
So then we can exit editing the part,
and we can exit the cross section view.
And now you can see we've got the headphone cut there.
So you can just press Ctrl + S to save your part.