11 Replies Latest reply on Oct 8, 2018 5:15 PM by Johnathen Lieber

When I sketch a square, then add a dimensin to one side, only that side changes shape resulting in a four unequal sides.. how can i fix that?

• Re: When I sketch a square, then add a dimensin to one side, only that side changes shape resulting in a four unequal sides.. how can i fix that?

add restrictions like vertical or horizontal

• Re: When I sketch a square, then add a dimensin to one side, only that side changes shape resulting in a four unequal sides.. how can i fix that?

Joel Amyx wrote:

Add equal relations between one vertical and one horizontal side.

• Re: When I sketch a square, then add a dimensin to one side, only that side changes shape resulting in a four unequal sides.. how can i fix that?

First of all....there is a big difference between adding a dimension to the endpoints of a line....and adding the dimension to the 2 side edges of a square.

What you have done is add the dimensions to end points of the line.

Next, Solidworks has a rectangle tool.  Use that....it adds in all the relations you need to keep the rectangle a rectangle.

• Re: When I sketch a square, then add a dimensin to one side, only that side changes shape resulting in a four unequal sides.. how can i fix that?

Dan Pihlaja wrote:

First of all....there is a big difference between adding a dimension to the endpoints of a line....and adding the dimension to the 2 side edges of a square.

What you have done is add the dimensions to end points of the line.

Next, Solidworks has a rectangle tool. Use that....it adds in all the relations you need to keep the rectangle a rectangle.

The diagonal construction lines and the sketch point on the Origin in the screenshot make me think that started out as a Center Rectangle that's had all the relations removed.

• Re: When I sketch a square, then add a dimensin to one side, only that side changes shape resulting in a four unequal sides.. how can i fix that?

In the example you showed I'd recommend midpoint relations between the Origin and each of the diagonal construction lines, then horizontal or vertical relations on the other lines as needed.  In addition to maintaining the shape of the rectangle, those will serve to lock it's position in space.

• Re: When I sketch a square, then add a dimensin to one side, only that side changes shape resulting in a four unequal sides.. how can i fix that?

Glenn Schroeder wrote:

In the example you showed I'd recommend midpoint relations between the Origin and each of the diagonal construction lines, then horizontal or vertical relations on the other lines as needed. In addition to maintaining the shape of the rectangle, those will serve to lock it's position in space.

Dan Pihlaja and Glenn Schroeder, I must have misunderstood. I thought the OP was asking how to keep a square, square.

• Re: When I sketch a square, then add a dimensin to one side, only that side changes shape resulting in a four unequal sides.. how can i fix that?

Tony Tieuli wrote:

Glenn Schroeder wrote:

In the example you showed I'd recommend midpoint relations between the Origin and each of the diagonal construction lines, then horizontal or vertical relations on the other lines as needed. In addition to maintaining the shape of the rectangle, those will serve to lock it's position in space.

Dan Pihlaja and Glenn Schroeder, I must have misunderstood. I thought the OP was asking how to keep a square, square.

A square is a rectangle......but a rectangle is not necessarily a square.....therefore...we were still right.

• Re: When I sketch a square, then add a dimensin to one side, only that side changes shape resulting in a four unequal sides.. how can i fix that?

Thanks for the help...

Turns out in my options "automatic relations" was toggled OFF... for some reason.

• Re: When I sketch a square, then add a dimensin to one side, only that side changes shape resulting in a four unequal sides.. how can i fix that?

Aha!  That'll do it!

• Re: When I sketch a square, then add a dimensin to one side, only that side changes shape resulting in a four unequal sides.. how can i fix that?

There have been some great suggestions on getting SW to create the sketches with relations but I wanted to throw out a feature on how you can fix this after the assembly has been created.  In the sketch you can use the 'Fully Define' command (Use the search bar on the top right of your SW Window).  It can add the relations and/or dimensions for you.