Constraining a construction line

Constraining a construction line

Fueler
Collaborator Collaborator
1,335 Views
6 Replies
Message 1 of 7

Constraining a construction line

Fueler
Collaborator
Collaborator

I maybe looking at this wrong.

I have a rectangular bar with a hole .700 from the center of the length.

This bar length will change from one design to the next.

The hole must remain .700 from the center.

I would like the construction line or hole to move to the new center with the change in bar length so I don't have to do the criss cross line thing to find center of the new length.

I have been experimenting with constraints but haven't stumbled on to the proper method.

file attached

0 Likes
Accepted solutions (1)
1,336 Views
6 Replies
Replies (6)
Message 2 of 7

SaeedHamza
Advisor
Advisor

Hi,

 

2-things to take care of :

1- Define the length of the sketch lines ( red )

2- Define the relation between lines ( yellow )

 

Check the screenshot for better understanding

 

Regards

 

 

Constrains.png

Saeed Hamza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 3 of 7

Fueler
Collaborator
Collaborator

Must be something subtle you did. I have all the dimensions already. The center and hole do not move if the length is changed.

0 Likes
Message 4 of 7

etfrench
Mentor
Mentor
Accepted solution

You also need to use the Midpoint constraint:

 

ETFrench

EESignature

Message 5 of 7

SaeedHamza
Advisor
Advisor

Go back to the screenshot I posted above and you'll see the length set to 0.27

When changing the length, lets say you set the new length for my screenshot to be 0.21 by changing the value from the sketch, that will result in subtracting .03 from both sides and not .06 from just one side ... which means the circle and the construction will remain always in the middle

Saeed Hamza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 6 of 7

Fueler
Collaborator
Collaborator

Sorry Saeed,

I could not get that to work.

Midpoint constraint was what I was missing.

0 Likes
Message 7 of 7

SaeedHamza
Advisor
Advisor
Doesn't matter, what matters is that you found a solution

Best of luck

Saeed Hamza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes