- In the previous video I moved some of
the components around,
get 'em closer to where they needed to be.
So, now, I'm going to constrain these components
in this assembly.
So, I'll go into my assemblies tab,
go into assembly constraints.
Now, you need a component that is fixed, first thing.
And, when we brought in that housing,
it was the first component we brought in.
The system asked us, do we want to fix this?
And it did create that fixed constraint for us.
You can see, there it is.
If I try to apply it again, I did here,
it's just gonna say, hey,
do you really wanna do another one?
We really don't.
So, we're just gonna hit no.
But, if the case were you needed a fix,
you wouldn't get any messages you would just hit the fix,
hit the component, hit apply.
Got it.
Next thing I wanna do, I wanna start moving,
or apply my constraints, to my components.
Now, the first component I wanna constrain is my stem.
So, I wanna clean up the screen a little bit
and remember, I've talked about this before,
red check marks always denote visibility.
So, if I come over here and turn off my arm,
you'll see red check mark's gone,
the arm is now hidden.
I also wanna turn off the cover
and begin constraining this.
So, I'm just gonna go over to touch align.
We'll probably use touch a line 80, 90 percent of the time.
Almost all of our constraints can be had from touch align,
unless you're doing, like, distances, that type of thing,
or angles, relationships.
Kinda like sketcher constraints, you know,
perpendicular, that type of stuff.
So, here, touch align, we're gonna use prefer touch,
and, you know, there's several of them,
and this one basically is like an inferred.
It's all of these combined.
So, we'll just leave prefer touch
and now pick my two objects.
I'm gonna zoom in.
I wanna constrain my stem
and be very cautious
in what you pick.
You don't wanna pick the face, you wanna pick the axis.
Okay, if I pick a face it's gonna make the faces touch.
I wanna pick the axis to make this axis and
the axis off of my housing touch.
Okay, so be very cautious with that.
Next, I wanna take this face to this face
and make them touch.
I'm gonna select okay.
And, just to show you, I'm gonna go into
the constraint navigator.
This is how we view what's been constrained
and how it's constrained.
You can see that the housing is fixed.
And, then, below that is the valve stem
and it's a partial constraint.
If this were fully black, as a dot,
you would see that point, a full circle,
that means it is fully constrained.
This is just partially.
I know it's partially constrained.
We can still spin this inside of the housing.
So, I don't have that constraint yet.
We'll apply that later.
So, I'm gonna go back into my assembly navigator.
Next thing I want to add is the cover.
I want to constrain that cover.
I'll just go into assembly constraints.
Same. Leave it on prefer touch.
Again, axis to axis, very important, people.
Then, again, axis to axis.
Be very, very careful.
If it's dancing around on you
sometimes you gotta zoom way up to get it,
which is fine.
There we go.
You'll notice that order here is not necessarily important.
Because the housing is fixed you can pick to, from,
doesn't really matter.
That one and then this face to this face.
Select okay.
I'm gonna go back into my constraint navigator to show you.
There's that little, fully constrained black dot
that I was talking about.
So, if something's fully constrained,
it's gonna show up like this
and you have nothing left to do with it.
So, I'll just go back into my assembly navigator.
Here, I'm going to constrain
my plate to the stem.
So, just go into assembly constraints.
Again, axis to axis.
Now, this is one of those conditions of, well,
it kinda did something, I can't really pick that point,
the one that I need, so I'll just hit okay.
I'll just go into move component, pick this
and then now, if I try to move it,
you'll notice that it won't go anywhere
unless I do a rotation.
The reason why it won't go anywhere
is because it's constrained.
So, if I rotate it, well, it knows that it can rotate
because that is axis to axis.
Select okay.
Go back into assembly constraints.
And once again, pick my center axis.
Whoops.
Let me make sure I get my axis here.
Got that.
To my axis.
Got that.
And then I wanna take this face to this face.
Select okay.
Apply my constraints.
Just check your constraint navigator one more time.
Just to show ya, you can see this one still needs
an additional constraint, and again,
because it's constrained to the stem
it's still free to move,
it's still free to rotate.
So, you get that partial constraint.
So, that's the basics of bringing in your components
and constraining them.
Now, you can see all of the constraints here in the window.
So, if I go back up to my assembly navigator
and I right mouse click on
the constraints node right over here
I can just turn off this little check mark
to, sort of, clean up the screen.
Just, visualizations purposes.
They're still there, but they're just now hidden away.