- [Instructor] Previously, we created the headphone socket
cutout on the side of the enclosure.
But along this edge, we also have the HDMI
and the USB ports.
Because all three of them are on the same plane,
we can actually cut all of them out
using one feature instead of three separate features.
From within your assembly,
click on the enclosure top part,
and then click on Edit Part.
Now we need to edit the sketch
that made up this headphone cut.
So to do this, let's go over to the enclosure top part
in the parts tree.
And then left click on the latest feature.
It should be this headphone cut feature.
Then from the menu that pops up,
choose the second option, which is Edit Sketch.
So now we can that slot that we originally drew.
And we want to add two new profiles to this sketch
for the other two ports.
Again, we'll use a Cross Section view.
So click on the Cross Section view icon.
And if you move your model around,
you might need to adjust the default plane.
So we want to be able to see the ports again.
And if you can't see them now,
remember you might need to flip the direction like so.
So it should look something like this.
And when you're happy, press OK.
Now we can go to a Normal To view by clicking this button.
And remember, you might need to click it twice
so you can see the ports there.
So if we zoom in, down here we've got the slot
that we originally drew for the headphones.
So we're going to add to more cutouts for these two ports.
And we're going to do this with a center rectangle.
But first we need to find the center of these ports.
And we can do this using a centerline.
So go up to the Sketch tab,
and then click on the dropdown next to the Line tool
and choose Centerline.
So a centerline, sometimes called a construction line
as well, is a line that's ignored by any features.
So it won't be used to cut anything.
It's just used to lay out your sketch.
If we zoom in on the HDMI port,
this middle one here,
we want to start a line from the very center
of this left-hand line.
So if we move the mouse over it,
you can see we get this small yellow symbol.
And as we move to the very center,
you can see the symbol changes slightly.
And that indicates we're at the midpoint of that line.
So we want the one that just looks like a single line
with a point in it
rather than two lines with a point in
as you can see here.
So this indicates we're at the very middle of that line.
So left click at that point to start the line,
and then we'll draw it directly out to the side.
If you zoom in a little bit more,
you can see we get this yellow snap line.
And that indicates that we're sketching exactly horizontal.
So we want to select the far edge here.
So you should get two yellow icons
when you're in the correct place.
So I've got one, which indicates the midpoint of this line,
and then we've got the other one,
which indicates that we're horizontal.
You might have a vertical one instead of a horizontal one.
That's absolutely fine
as long as you've got one of the two.
So when you're in the correct place,
let's left click to end that line segment.
And then you can press Escape
to close the Line tool.
Now if zoom out a little bit,
we're going to use a center rectangle
with this new centerline.
So go up to the Rectangle tool,
and select that.
And then choose the Center Rectangle,
which is this second option here.
Then you can zoom back in.
And we want to choose the midpoint of this line.
So hover somewhere around the middle.
And, again, you should get that small yellow symbol,
which indicates the midpoint.
You can see it should be there.
When you're in the correct position,
left click to start that rectangle.
Then you can zoom out,
move the rectangle out larger than the port,
and then left click to set the corner.
So now we need to add some smart dimensions to this.
So we can select the Smart Dimension tool
on the Sketch tab.
And let's make it one millimeter larger
than the port all the way around.
So let's select this top line,
and then select the outer edge of the port,
and just write in one.
And let's do the same on the top here.
Select the rectangle,
and then select the top edge of the port,
and just write in one millimeter.
And now your sketch should be fully defined.
So now we just want to do exactly the same thing
for the final port up here.
So we can zoom in on this one.
And then select another centerline.
So go to the Line tool,
click on the dropdown, and select Centerline.
Then zoom in and pick up the centerpoint.
So if you go over the middle,
you should get the midpoint relation there.
Then left click to start the line,
move out to the right,
and then when you get those two icons,
the coincidence and the horizontal there,
then you can left click to end that line segment.
And you can press Escape to stop placing new line segments.
Then, again, let's choose the Rectangle tool,
choose the second option,
which is the Center Rectangle,
and then zoom back in, and we'll start a center rectangle
from the midpoint of this new centerline.
So it should be there.
You can see we've got the midpoint symbol there.
So left click to start, zoom out,
and then left click to set the corner.
And then, as before, let's select the Smart Dimension tool,
and let's just add a one millimeter spacing on the sides
and on the top here.
So now you can see we've got a sketch
that's fully defined.
And if we zoom out, you can see
we've got these three profiles.
So all we have to do now is exit the sketch,
and those three profiles should be used
on that existing feature that we've already made.
So click up here in the top right to exit.
And now if we rotate the model around,
we can see we've got three cutouts.
And the beauty of sketching in context like this
is that if anything changes with a PCB,
if the position changes, or anything like that,
then these cutouts will also change.
It's also much easier to just line up the ports
if you can see them like this.
So to finish off,
let's exit editing the part
by clicking up here in the right.
And then close the Cross Section view.
And then you can just save your assembly
by pressing Control + S.