- In this movie we're going to be learning about
"Sketch Relationships."
Now we've already kind of covered
how to create a sketch and how to modify sketch
but let's go ahead and create a few lines
and I'll show you what we're talking about.
So I'm going to go ahead
and choose the front plane,
start a sketch, and I'm going to go ahead
and start with the line command.
Here's my line command.
Go ahead and grab that.
I'm going to click once where want to start
and click again where I want to stop.
Alright, right here.
Let's take a look at the screen.
You can see we've got these little yellow lines
and those are Helper Lines.
They're saying, hey, if you want to
make another line and you want to
make it at right angle to the original line
I can come down here.
And notice that little
yellow box that pops up next to
where my cursor is, and it's saying
that if I were to click here
I would automatically add the
relationship of perpendicular.
So let's go ahead and try that out.
So click there and notice it's
added that relationship.
Now over here if I want to do that again
it's going to add that
perpendicular relationship.
And if I just want to add a lines.
We're not related to anything else, at all,
just click over here and
I can just continue clicking,
and just adding lines
and notice as I start moving through the screen
I get these helper lines everywhere I go.
And if I get close to something else
notice I get like a line that's blue,
that will say, "Hey if you click over here
it's also going be aligned with this other point."
So let's try clicking there.
And then when you're done creating lines
go ahead and hit escape.
Now notice over here
we've got this perpendicular relationship.
If I hover over it, notice the two lines show up
in pink or purple highlighted saying,
that relationship is connected
to these two other lines.
Same thing down here.
Here's the two lines that are perpendicular
to each other.
Now, if you don't like one of these relationships
you can just click on the box itself and hit,
delete on your keyboard,
and that's going to get rid of that.
And now I can go ahead and just
grab this line and move it around.
And I have that ability, to move things around
and it's not perpendicular anymore.
Okay, but over here, this one is
I can move it around, but it's always
going to stay perpendicular.
Now, if you want add a relationship, that's not there.
You can do it a couple different ways.
One is I can choose the first line,
hold down control on my keyboard,
and select the second line.
And as soon as I let go of the control-key
I get this little popup window here.
So I can say, I like to make a line horizontal
or vertical or colinear or perpendicular.
Hey, that's the one I'm looking for.
Perpendicular, click on that.
And it automatically adds
to that relationship between these two lines.
Now we can also have things like dimensions, right?
So dimension might be a similar thing over here.
If I click on smart dimension, I could say,
hey I want a dimension from you down to you.
And I want to make that 90 degrees.
That is a 90 degree angle, which is pretty much
the same thing as perpendicular.
So which one's better?
Well, if you need to modify this later
and you want to use an angle, this might be great
but in general, adding relationships
are going to be easier than creating dimensions.
So I would recommend not using something like this
and just going ahead and selecting the different lines
by holding on control, select both of those.
And I can add it here,
or I can also come over here
and say perpendicular and add that.
How about over here? If I click on a line here,
I could say, hey I'd like to make that one horizontal.
Over here, if I want to make this line here
vertical, click on that and there's it vertical.
So you can see, I can easily add a whole bunch
of relationships to create the shape I'm looking for.
I can also drag.
So if I want drag a point and have it snap
to another point, notice as soon as I do that,
these two points are now connected together
and that's called a "Coincident Relationship."
If you want delete something, just hit
delete on your keyboard and it's going to go away.
If you don't like your relationship
click on the relationship itself and hit delete
and it's going to go away, but you can easily add
or remove relationships.
And I definitely recommend adding relationships
versus adding a whole bunch of extra dimensions
in your drawing to keep them
looking clean and nice.
And we're going to be covering this a lot more
as we go through the course, but that is the basics
for using relationships
in sketches inside of SolidWorks.