- Here I have my assembly with my components
scattered out into space.
Now I'm going to bring these components back into alignment
with one another using constraints.
Now look over to the side and you'll see I have a toolbar,
bring this out, with my constraints.
You have coincidence, contact, offset, angle and fix.
Now with every assembly, you need to have one component
that is fixed into space, meaning it cannot move.
If you don't fix a component, what could potentially happen
is that as you constrain components and go around your parts
things could shift in ways you don't expect.
So by fixing one of the components,
in this case the cup holder lower,
I know that it will not move from that position.
Now what's also good about that fix constraint
is if I do manage to somehow move this out of position,
there's little update button right at the bottom.
Looks like a little swirl.
If I hit the update, it takes that fixed component
and moves it back to the original position it was once in.
So if you do happen to accidentally move
that fixed component it will always snap back
to its original position.
And that's why the fix is important.
That is the foundation of our assembly.
This is what everything's going to be assembled to.
Now that I have that component fixed,
I want to take the rest of these components
and start constraining them back to my fixed component.
The way I'm going to do that is
I'm going to start out with my coincidence.
Now, when we initially talked about
the coincidence constraint, it was within the sketcher.
And within the Assembly Design work bench,
it does pretty much the same thing.
Face to face, point to point, edge to edge,
point to face, those kinds of constraints.
Those types of contacts, it will do those things.
It's probably the most used of all of the constraints.
So I'm going to come in and I'm going to double click
on the coincidence.
You're going to get this little prompt
the first time you use this saying,
"This function works with the active component.
"The blue product".
I warned you about this in a previous lecture that
you want to make sure that the product
that you're working on is the blue product.
And this is just prompting you to make sure
that you are working within the correct product.
So I'm just going to turn on the do not prompt in the future,
close that, and that way it won't pop up.
But that's just a good little warning message
the first few times you use it.
You may not want to turn it off right away just so you know
that you're working at the correct product level.
Now that my coincidence constraint is selected,
I can come in and as you can see as I hover over
any one of these faces, what it wants to select.
You'll see the axis system pops up.
Pick that axis.
And I don't have to actually pick the axis itself,
I just have to pick that face 'cause it's going to
default to that axis.
Pick that one.
Now the next thing I need to do, I'm going to zoom in,
is I want to go from the bottom of this face
to this face.
So by using coincidence I'm saying
these two faces are going to touch.
Select okay.
And I need one more constraint.
And I'm going to constrain again this end to this end.
If I didn't constrain those, what would end up happening
is that I would have freedom of motion at that end.
Basically, it would revolve around this as an axle
and this would be free to move.
So by constraining this axis to this axis
what you're doing is you're locking it down.
So now that I have those constraints in place,
let me just get the update button out of the way,
I just going to go ahea and hit update
and you'll see as soon as I update those constraints,
everything snaps into position.
Now I'm going to do the same thing with the bezel.
Come in, I want to constrain this face
to this face.
Select okay.
That face to that face.
And same thing for the opposite side.
And update.
Now, we have to constrain our screws into place.
We have a couple of them, we have one here
and we have another one right here in the same spot.
So to make it a little easier,
to make sure we're not picking things we don't want to pick,
I'm just going to move the compass over to the screw,
and I'm going to pick one of them, doesn't matter which one,
and just drag it over,
pull this down and get it kind of close to where I want.
And I'm going to do the same thing with the other one.
Pick the screw, drag it down, drag it over.
I mean working in a large assembly,
sometimes it's really handy to get these things really close
to where you want to start constraining from and to.
That way you're not moving back and forth
trying to pick elements to constrain.
Now for this, once again I'm just going to go in
and go into constraint, my coincident,
double click, axis to axis.
Now, you'll notice that I want to take this face
and I want it to touch this face.
But with the coincidence it doesn't allow that.
What I can do is I can go into contact.
I want this face to contact this face.
And I want a just simple surface contact.
I want those two surfaces to touch.
So with a coincidence I'm aligning the center points,
with a contact I'm saying these two faces need to touch.
If they were planar faces the coincidences would work
just fine but because these are conical,
you need to use the contact constraint.
And update.
We'll do the same thing here.
Go into coincidence.
And contact.
Select okay.
Surface contact.
And update.
And just like that you're basically most of the time
using your fixed component,
your coincidence and contact constraints.
And now you have relationships to all of these parts
within the context of that assembly.