- [Instructor] Open your saved SOLIDWORKS assembly,
and it should look something like this.
We've got the PCB part in the middle here,
and then we've got that new Enclosure Parent part
that we added, and that just has a single sketch
that's four millimeters larger
than the PCB all the way around.
At the moment, we're just in the top level assembly,
we're not editing any parts, and you can tell this
because we don't have the Edit icon in the top right here.
So we're going to edit that Enclosure Parent part.
To do this, let's left-click on it
in the parts tree on the left here,
and then select the fourth option, which is Edit Part.
And if you're using a much older version of SOLIDWORKS,
you might have to right-click to get this option.
So let's edit that part.
And now you can see the parts that aren't being edited,
so in this case, the PCB model,
they have turned to this wireframe view.
And up here on the right we've got this Edit icon.
Now we just need to go to the Features tab,
and left-click on the Extruded Boss/Base icon.
So over here on the left, it says we either need
to select a plane on which to sketch the feature,
or an existing sketch for the feature.
So let's use the existing sketch that we've already created.
Go over to the sketch in the graphics area,
and then just left-click anywhere on it,
and you should get this yellow preview.
If you rotate your model around, this becomes more obvious.
Over here on the left,
we've got loads of different parameters,
and the most important one is probably the depth here.
If you change this value,
you can see that the yellow preview also changes.
So don't press okay yet, we're just going to quickly talk
about the different end conditions.
So we're currently using a blind extrude,
which is the simplest kind of extrude.
And if we go to a side view, we can see this means we
just extrude blindly in one single direction.
So we're just extruding upwards, 40 millimeters,
30 millimeters, 20 millimeters, and so on.
But if we click where it says Blind,
we can see there are many different options.
We're just going to look
at the very bottom one, which is Mid Plane.
So left-click on that,
and you can see that the preview changes.
So we're still extruding 20 millimeters,
but now we're extruding equally in two directions.
So we're extruding upwards 10 millimeters,
and downwards 10 millimeters.
And if you change the value here,
you can see that the preview changes accordingly.
Let's type in 23 on the left here.
And now you can see, we're going to get a box
that covers almost the entire PCB, apart from the very top
of the LED, and underneath we'll have plenty
of space to screw down into.
So let's left-click to create that feature.
Now you can see, we've got a box
that covers almost the entire PCB.
Expand the Enclosure Parent parts on the left here,
and you can see we've got this Boss-Extrude feature
at the bottom there.
You can do a slow double-click on this, or left-click
and press F2, and then let's just rename the feature
as something like Main Shape.
You don't have to rename your features,
but it's a good practice to get into,
and it can save you a lot of time
if you have more complex models.
So then, all we need to do is exit editing the part,
by clicking up here on the right,
and then we can save the part by pressing Control + S.
And just press Save.