Inventor General Discussion

Reply
Distinguished Contributor
luiww
Posts: 122
Registered: ‎08-09-2010
Message 1 of 5 (436 Views)
Accepted Solution

drive constraint

436 Views, 4 Replies
10-25-2012 05:53 PM

I wonder if one can use drive constraint in sketch mode for blocks as I like to visualise how the links move when one dimension changes.

JD's tutorial is awesome.  Here's an alternative that lets you drive sketch constraints without the expense of building an assembly.  I've used it counless times building all sorts of mechanisms that often never get fruther than a concept - hence no assemblies, just sketches.

Try this:

 

  1. Go into parameters and rename your d12 (the 115deg angle) to something useful - like "drive_angle"
  2. Go to Manage > iLogic Browser
  3. Click the "Forms" tab of the iLogic browser, then a blank area of the tab, right-click "Add Form".
  4. You'll see "drive_angle" in the left column.  Drag it under the word "Form 1" on the right.
  5. Looking down, you should see some properties of the "drive_angle" parameter.  Find "Behaviour" then find "Edit Control Type" - change this to "Slider"
  6. Now you can expand "Slider Properties" and set your limits (115 and 65 degrees, step-size of 1)
  7. Press "OK" at the bottom of the "Form Editor" dialogue.

  8. Everything disappears, but you should have a "Form 1" button on the iLogic forms tab.  Press it.
  9. Drag the slider and try to stop grinning.

This works really well with sketch blocks too.  If you use skeletal modelling, you'll also appreciate that after using "make components", this iLogic form drives the assembly too.

*Expert Elite*
JDMather
Posts: 28,046
Registered: ‎04-20-2006
Message 2 of 5 (417 Views)

Re: drive constraint

10-26-2012 04:56 AM in reply to: luiww

Yes.

Manage>Make Components  ( I think there is an example in this paper http://home.pct.edu/~jmather/SkillsUSA%20University.pdf )

 

Post your file here if you can't figure it out.

Please mark this response as "Accept as Solution" if it answers your question.
-----------------------------------------------------------------------------------------
Autodesk Inventor 2014 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional
Inventor Professional 2015-SP1 64-bit
http://www.autodesk.com/edcommunity
http://home.pct.edu/~jmather/content/DSG322/inventor_surface_tutorials.htm
Distinguished Contributor
luiww
Posts: 122
Registered: ‎08-09-2010
Message 3 of 5 (399 Views)

Re: drive constraint

10-26-2012 05:04 PM in reply to: luiww

I tried and not able to grasp the concepts well.  As such, I attached the sketch here.  I like to vary the angle of the link base from 115 deg to 65 deg and see how the link cam varies.

Distinguished Mentor
pcrawley
Posts: 703
Registered: ‎05-23-2002
Message 4 of 5 (384 Views)

Re: drive constraint

10-27-2012 02:07 PM in reply to: luiww

JD's tutorial is awesome.  Here's an alternative that lets you drive sketch constraints without the expense of building an assembly.  I've used it counless times building all sorts of mechanisms that often never get fruther than a concept - hence no assemblies, just sketches.

Try this:

 

  1. Go into parameters and rename your d12 (the 115deg angle) to something useful - like "drive_angle"
  2. Go to Manage > iLogic Browser
  3. Click the "Forms" tab of the iLogic browser, then a blank area of the tab, right-click "Add Form".
  4. You'll see "drive_angle" in the left column.  Drag it under the word "Form 1" on the right.
  5. Looking down, you should see some properties of the "drive_angle" parameter.  Find "Behaviour" then find "Edit Control Type" - change this to "Slider"
  6. Now you can expand "Slider Properties" and set your limits (115 and 65 degrees, step-size of 1)
  7. Press "OK" at the bottom of the "Form Editor" dialogue.

  8. Everything disappears, but you should have a "Form 1" button on the iLogic forms tab.  Press it.
  9. Drag the slider and try to stop grinning.

This works really well with sketch blocks too.  If you use skeletal modelling, you'll also appreciate that after using "make components", this iLogic form drives the assembly too.

Peter
Distinguished Contributor
luiww
Posts: 122
Registered: ‎08-09-2010
Message 5 of 5 (367 Views)

Re: drive constraint

10-27-2012 06:10 PM in reply to: pcrawley

Excellent instruction and thanks.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!