Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Assembly Limit Constraint Range of Movement

16 REPLIES 16
SOLVED
Reply
Message 1 of 17
fred.hillhouse
21801 Views, 16 Replies

Assembly Limit Constraint Range of Movement

Greetings,

 

I am attempting to find a method to limit the range of movement. As an example, one might hang a door in a frame and rather than the door to have 360 degrees of freedom, it seems like it should be possible to limit the range to the door jam and a wall or door stop.

 

Is that possible? Any tutorials? Are there better search terms?

 

Thanks!

 

Best regards,

Fred

 

kelly.young has edited your subject line for clarity: Constraint range

16 REPLIES 16
Message 2 of 17
I_Forge_KC
in reply to: fred.hillhouse

There are two ways to accomplish what you are after:

 

  1. Constraint Limits - If you click the double arrow on the constraint box you will get the limits input. This is exactly what you referred to.

2017-10-18_16-04-02.png

 

2. Contact Set + Contact Solver - The contact set/solver way is a little more true to life (albeit occasionally janky and heavy on processing). The contact solver makes Inventor function as if the bodies were truly solid. To use it you have to add parts to the contact set (right click on them and then check contact set) and then activate the contact solver (located under Inspect). The solver is a simple toggle on/off. When active, the parts will not penetrate each other. If their contact is complex, the solver can be quite slow. You'll find this to be a good tool for sanity checks, but not for constant usage.


K. Cornett
Generative Design Consultant / Trainer

Message 3 of 17

Hello @fred.hillhouse I see that you are visiting as a new member to the Inventor Forum.
Welcome to the Autodesk Community!

 

Be careful when using limits as you can fudge your design and things look right but don't line up.

 

Would recommend designing to exacting specification and then add tolerance for manufacture.

 

Defining Positions and Relationships with Constraints and Joints

Assembly - Constrain and Place Parts with limited movement

 

Please select the Accept as Solution button if a post solves your issue or answers your question.

Message 4 of 17
fred.hillhouse
in reply to: I_Forge_KC

I have not done anything that I wanted to limit travel so never really explored the additional options. I have constrained my part using 'Mate' along the edge of a couple of parts. I see adding an angle constraint let me limit motion.

 

Thanks!

 

Best regards,

Fred

Message 5 of 17

I am working on a DIY A-Frame camper similar to but much smaller than this one.

https://www.jayco.com/tools/archive/2015-jay-series-sport-hardwall/

 

Each side of the trailer folds to the interior with one side having a door. The door folds in half with the wall when closing the trailer. When the side is up, the door can be opened outward.

 

I have treated the wall and door as separate sub-assemblies which make up a larger sub-assembly. The initial issue was not being able to fold anything in the larger sub-assembly. that was solved by checking 'flexible'. Unfolding the wall, doesn't allow me to open the door unless I remove some constraints or constraining the wall (top and bottom) flat. Closing the door does not allow me to fold the wall. Changing things around a small bit doens't allow me to open the door when the wall is up. I was hoping setting range limits might solve this. It doesn't. Adding range limits doesn't seem to help since the various panels snap back to the starting position as soon as I release the part.

 

One interesting piece is I added a angle range of 0 - 90 with a resting position at 0 to the top of my door. I can rotate the top half of my door 90 degree in either direction breaking with virtual hinge. I am glad it auto-repaired. 😉

 

In reality none or this matters as I can see the results but it does seem like something that should be possible. I am using Inventor 2017.

 

Thanks!

 

Best regards,

Fred

Message 6 of 17

@fred.hillhouse thanks for supplying more information. If you don't want it to snap back, in the Constraint Limits, uncheck Use Offest as Resting Position. It will be free to move to the Min/Max Limits.

 

It sounds like you are trying to setup constraints where if/then actions are happening. Ex: If the door is open, then the top can raise.

 

In the design stage this is a bit of overkill as you can perceive where they will collide with simple constraints but making the assembly intuitive for collision like this is not really necessary.

 

Where they will become more valuable is with Inventor Studio making animations showing how it is operated. You can drive the constraints to a certain distance over time.

 

For example:

  • 1-5sec door opens. Animate Joint/Motion/Angle Contraint from 0-90°
  • 5-10sec front roof opens. Animate Constraint from 0-45°
  • 10-15sec rear roof opens. Animate Constraint from 0-45°
  • 15-20sec support arms lock front and rear roof. Animate.

Not really sure if that makes sense. If you want to provide your parts (you can delete detail features to a create a simple part if necessary) we can show good methods for constraints and animations.

 

Hope that helps!

 

Please select the Accept as Solution button if a post solves your issue or answers your question.

Message 7 of 17

Not much for details as this is still in an idea phase rather than a design phase.
Thanks!
Best regards,
Fred

Message 8 of 17

Hi @fred.hillhouse

 

Years back when I taught Inventor to professionals, I often used popsicle stick models as the hands-on exercise files. I found that it was much easier for users to visualize the picks and clicks and understand the concepts of the constraint, when working with something simple and familiar. 

 

So with that in mind here is a simple model based off of the 10 second glimpse I took of the image at the link you provided... meaning that I know its not accurate to what you need, but it demonstrates the use of simple components used to set up a proof of concept.

 

If mythbusters has taught us anything, it's to start with small scale models to prove out our ideas... and that we learn a lot from proving our assumptions wrong.

 

See the attached 2017 files and maybe try building your basic mechanism with these stick models to see if constraint limits will work for you, and if so which ones. and how they need to be set up.

 

In the example I've attached I actually use 2 constraints with limits, one Flush constraint on work planes, and one Angle constraint. Using them together has some advantages, in that you can say I want to limit the angle to a max of X, and I want to limit the travel of the flush constraint to max of Y.  You simply set the minimum angle to be less than what the flush constraint allows, and vice-versa.

 

Typically when doing this kind of thing you have to create one, set the limits, get it how you want it, then suppress it. Then create the other, work out the limits for it, ensuring that they will not conflict with the other, and then once it's set up you can un-suppress the other.

 

If your needs are for switching between constraints sets, meaning suppressing constraint_B when constraint_A reaches a value of X, then I think a tiny bit of iLogic will be the way to go. If you get to that point with a simple stick model data set, post back and I'm sure someone will be able to help.

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

 

Message 9 of 17

It doesn't look like my response included my files. So I am trying this again.

 

In the files, my constraints are the hinge locations (MATE) in the door assembly and in the wall assembly. There are other MATEs to align edges. It is very basic.

 

Best regards,

Fred

 

Message 10 of 17

Hi Curtis,

 

Thanks for the stick model! Now to apply the concepts to my model.

 

Thanks!

 

Best regards,

Fred

 

 

Message 11 of 17

Hi @fred.hillhouse

 

Ahh, those files help. I think the flexible sub assemblies were getting in the way. See the attached 2017 files for how I think you want to set this up. 

 

edit: btw your simple proof of concept models were perfect!

 

 

I watched this to get a better idea of the desired motion: 

 

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

Message 12 of 17

Thanks for the help all of you! And thank for the file examples. They are a big help in pointing me in the correct direction.

 

Best regards,

Fred

 

PS. Every time I sit down at Inventor I try to learn something new. Keep it fresh!

Message 13 of 17

@fred.hillhouse thanks for attaching the parts, much easier to see what you're trying to accomplish.

 

Made a somewhat longer screencast but wanted to show how to take parts with relationships and easily Derive reference between them.

 

Where the setup pays off is at the end where you can change any of the dimensions and the parts update without losing geometry or constraints.

 

Wanted to show you a few different ways to draw and edit the Derive Properties to really show how they work. Have to turn on Sketch Visibility in order to link the sketch to the derived part.

 

If you use Joint Constraint you don't have to have any other flush/mate constraints. As a general rule, always Ground and Root your most stationary/base component.

 

If there are not any motion constraints you can just Ground and Root Component for all parts and they will just immediately drop into place like initially shown when the parts were first brought in.

 

 

Good start, hope this helps!

 

Please select the Accept as Solution button if a post solves your issue or answers your question.

Message 14 of 17

Wow! I will have to watch that a bunch of times. There were many things I have never tried. One of the hazards of being self taught.

 

One of the things I did notice was your use of joints. Going back to my more complete assembly, I added several in place of mate/angle constraints. Nice! setting the max/min angle of rotation was easier.

 

Since this is a first draft, which followed a napkin drawing, I have crazy dimensions. I sort of noticed a method to work to more realistic values (e.g., 13.5 vs 13.42333). Again, I'll have to watch the video more times.

 

The playback seemed quite fast and there was no audio. Is it possible to slow it down and was there audio?

 

Thanks!

 

Best regards,

Fred

 

Message 15 of 17

@fred.hillhouse no audio, I should probably start. Unfortunately the only way to slow it down is for me to slow down.

 

giphy.gif

giphy2.gif

Message 16 of 17

Good enough then! I understand trying to help as many as possible.

 

Thanks again to every one for you help! I now have more to explore. If nothing else, I like the joint constraint!

 

Have a great weekend!

 

Best regards,

Fred

Message 17 of 17
graigchq
in reply to: I_Forge_KC

Really appreciate this answer and how simple it is. Thanks very much, saved a lot of head-scratching!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report