- [Instructor] Our enclosure has now got these three cutouts
on this long face but we've also got sockets on each end
and we've got the LED on the top.
So we're going to carry out a very similar process
for those cutouts too.
Your own PCB might not have this many ports
or maybe it's even got more but you can use
this same process to customize your own model
to suit your exact needs.
So with the assembly open,
let's edit that enclosure top part by left clicking on it
and pressing Edit Parts.
So now we want to start a sketch on a plane that's parallel
to this end face.
So if you hover over the planes in the parts tree,
you can see for me, this is the top plane.
So I'm going to left click on it and press Sketch.
And now we need to set a section view
so we can see the ports.
Click on the section view icon in the middle here
and you might need to flip the direction
by clicking this icon here on the left.
And you can see the power socket is there
so let's start with the power socket.
Press OK to open the section view
and then go to a normal to view.
This power socket is pretty similar
to the headphone socket cutout that we've previously done,
so we're going to use a slot.
So go up to the Sketch tab and select the slot tool
and we want to choose a straight slot,
which is this first option.
Then if you zoom in, we can pick up the center point
of this circle by just hovering over a circular edge
and then moving in with slightly,
you can see there's the center point.
So left click to start the slot, go directly down,
left click again and then just drag out
and left click a third time.
Then we can select the smart dimension tool
and we can set this size as three.
And then we can set the length as anything
as long as the slot goes beyond the bottom of the enclosure.
So I'm going to select that line and just set it as five.
So now all we need to do is an extruded cut using this slot.
So let's go to the Features tab, select Extruded Cuts
and then here on the left, we can change blind
to through all, the second option.
So this is going to cut all the way through your model
in this direction to the right.
You might need to flip the direction
by pressing this button, when you're happy, press OK
and if you part disappears like this,
you can just press Control + B to rebuild it.
And now we can see we've got a cutout
for the power socket there.
So next we need to do the SD card on the opposite end
but we can't actually see it because of this section view.
So let's close that section view by clicking
on the button again and then immediately reopen it
but click this reverse direction button.
So now we can see we've got the SD cut at the end there.
Press OK to open that view and now we need
to start another sketch on the same plane that we just used.
So it's the one that's parallel to the short end face.
So for me, it was the top plane.
So I'm left clicking on it and pressing Sketch.
Then go to a normal to view, and you might have
to press it twice this time so you can see the port there.
So we go to make a cutout for this one in a similar way
to how we made the USB and HDMI ones
using a center rectangle.
So first, let's choose a center line, go to the Sketch tab,
click on the dropdown next to the line
and then choose center line.
Then if you zoom in, we want to choose the midpoint
of one of these edges but there are so many small edges,
it's quite hard to see here.
So if you zoom in on the right,
you can see it's a much cleaner edge.
So about half way up, you should be able to pick up
that midpoint and you can see we've got
that small yellow midpoint symbol.
So left click to start there, go all the way over
to the left, use this yellow snap line to ensure
that you're horizontal and finish at the end on this side.
So it should be there.
And then press Escape to exit the line tool.
So now we're going to use a center rectangle.
So you can select the rectangle tool,
choose center rectangle and then we want to start it
from the center of this line.
If you're having trouble finding exactly where the line is,
we can close the rectangle tool just by pressing Escape
and then right click on that line
and just press Select Midpoint, which is the top one.
Then we can open the rectangle tool again
and you can see we've still got that midpoint selected,
so we can just zoom in and left click on it.
Then we can set a rectangle, which is a little bit larger
than the port, and then we can use the smart dimension tool
and let's make it one millimeter
from the port to the rectangle all the way around,
on the top and on the sides.
So now again, we need to do an extruded cut.
So go to the Features tab, press Extruded Cuts and again,
let's change it from blind to through all
and flip the direction if you need to and then press OK.
Again, press Control + B if you need to see your part again.
So now if we close that cross section view,
we've got the cutouts on each end.
So all we have to do is the LED cut on the top.
So this time, let's choose the plane that's parallel
to this large top face.
So for me, this is the front plane.
So left click on it and start to sketch.
And this time we don't need to do a cross section view
because if we go to a normal to view, we can just look
from the bottom and we can see the LED there.
So if you zoom in, this time we'll use the circle tool.
Select that on the Sketch tab and make sure
you have the first option selected, just a standard circle.
Then hover over the circular edge and just move in
and select that midpoint,
left click once to start the circle,
drag out and left click again.
Then select the smart dimension tool
and let's set the diameter as four millimeters,
so it's just a little bit larger than the LED.
Then we can go to the Features tab
and we can do an extruded cuts,
change it from blind to through all.
Just make sure it's cutting upwards through the top
like this, then press OK.
So now we can see we've got all the cutouts that we need.
So before we exit the sketch, let's just rename
all of those features.
So you can do a slow double click on them on the left here.
And so the first one was the power socket cut,
then the next one was the SD cut,
and then the final one was the LED cut.
Then when you're happy, we can just exit editing the part
by clicking up here in the right and then you can save
your part by pressing Control + S.