Relate or equation two constraints "limit distance"

Hello

 

For one of my assemblies (3 parts, with 2 identical cylinders), I used two "limit distance" constraints to simulate the travel of my cylinders.

I would like to link these constraints so that the stem outlet of the first corresponds to the retraction of the second.

 

Thank you in advance for your indications.

Hi @Sannicolas

can you please send a screenshot for a better understanding

A drawing is worth a thousand speeches

@+ ;-)

Attached is the screenshot.

 


capture_01.jpg

you put a dimension of distance in axis between the first cylinder and the tip of your arrow

and if you take the tool moved and you take it at the axis of the 2 arms you can change your whole set with the penetration extraction of the 2 cylinders

@+ ;-)

you are under which SW version if 2012 posts the file I show you

as GT22 said, by adding a distance constraint on the cylinder axes, and adding an equation: D_verin1 = Length out - D_verin2  you get what you want I think.

@opiep27; That's what I did, my problem is that I can't put them in touch.

@gt22; I'm on SW2011.

 

I'm trying to make several screenshots with the feature manager, to be more precise in what I did.

Hello

 

To pair two constraints, I use the following method:

 

a) I double click on the first constraint (here one of your limit constraints)

=> The odds are displayed

 

b) I double click on the dimension

=> the attached image window appears

 

c) I get the name of the call number

=> here D1@distanceLimite1

- I proceed in the same way for the 2nd constraint (A, B then C)

- I create an equation where the two sides are equal:

http://help.solidworks.com/2011/french/Solidworks/sldworks/LegacyHelp/Sldworks/Parts/HIDD_RELATIONS.htm

 

There you go!


distance_limite.png
2 Likes

if you're in SW 2011 it's OK you can put the file

@+ ;-)

The cylinder is a complete sub-assembly (body + rod) with the limit stress. And then you inserted it into an assembly?

I don't know if we can manage a constraint of a sub-assembly anymore ...

 

But if you make the sub-assembly flexible, insert your limit constraints on the screeds in your main assembly to be able to drive them by an equation.

 

 

Thank you to all three of you,

 

Now all we have to do is refine everything and it will do it.

 

If I can "help you out" don't hesitate.

1 Like