Trouble-shooting Autodesk Inventor: Missing Sketch Constraints

Posted October 10, 2013 by Jim Swain, Synergis Project Manager for Manufacturing Solutions:

Has this ever happened to you:

You are working on a sketch .  You drew four lines and added four dimensions.  When you go to edit the dimensions to their desired values, you get a very unexpected result.  Our Helpdesk often gets this type of call.  Here I am going to show you how to correct those.

Or maybe you drew the same box as a rectangle. Everything looks good, but you notice that even though you started at the origin you still need two constraints.

In both cases the you have the same culprit: no coincident constraints were automatically applied during the sketching. The solution:  Constraint Inference, Constraint Persistence and Constraint Options.

Constraint Inference is the implying of constraints to existing geometry when drawing new objects. For example: a new line can be pulled tangentially from an existing circle. The tangential constraint is inferred during the draw command.

Constraint Persistence controls whether the inferred constraint is applied after the object is drawn. Does that tangent constraint get added to the sketch, or was it just a guide while drawing the line?

Both of these options typically should be on.

Constraint Options controls what constraint are available for inference. Right click while in a sketch, with no command active, and pick Constraint Options.

In the two cases shown here the missing Coincident constraint inference was the problem. I will typically run with all the choices on. I have seen cases where the only Coincident constraint was missing. This resulted in extrusions using that sketch showing the dreaded “red cross” or the inability to select regions in the Extrusion dialog box. The ends of the lines weren’t constrained to each other!

Setting the Constraint Options to include Coincident constraints solved the problem right away for new sketches. For existing sketches we had to manually add the constraints.

I hope that helps you make sense of strange results and correct them in relation to sketch constraints.

Happy Designing,
Jim

Jim is Synergis’ Project Manager for Manufacturing Solutions and has been with Synergis since 1997.  Prior to joining Synergis he worked in the consumer electronics and automotive industries as a design engineer, a test engineer, and as a CAD administrator. He has also taught design classes at the college level. Jim’s broad knowledge base helps him to understand customers’ problems and offer appropriate solutions. Jim earned BS and MS degrees in Mechanical Engineering from Lehigh University. Jim is a certified Inventor Expert, having been in the first group of people to take and pass the Autodesk Inventor Certified Expert Exam at Autodesk University in 2003. He has also presented classes at Autodesk University since 2003. Email Jim with a question or request.

See Jim’s other posts:

Contact us, visit the Synergis website or subscribe to our blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s