Any way to create a "driven constraint" that behaves like a driven dimension?

Any way to create a "driven constraint" that behaves like a driven dimension?

LSKELLY
Enthusiast Enthusiast
2,777 Views
25 Replies
Message 1 of 26

Any way to create a "driven constraint" that behaves like a driven dimension?

LSKELLY
Enthusiast
Enthusiast

Please don't confuse my question with the "drive constraint" function.

 

I wonder if anybody knows how (or knows a workaround) to create a "driven constraint". In part sketches, you can set dimensions as driven, after which they behave more like a measuring tape than a constraining device. I think it would be very useful if assembly constraints could be set in the same way that they do not fix objects in place but rather provide a "readout" in a parameter.

 

I have looked around the internet/forums and found nothing. However, it makes no sense to me that such a feature does not exist as I think it would be very useful for a number of applications and I can't imagine that programming this functionality would be too much more complicated than including regular constraints in the software.

 

0 Likes
2,778 Views
25 Replies
Replies (25)
Message 2 of 26

JDMather
Consultant
Consultant

@LSKELLY wrote:

 

I wonder if anybody knows how (or knows a workaround) to create a "driven constraint". 


This is pretty easy to do.

Can you Attach your assembly here?


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


0 Likes
Message 3 of 26

LSKELLY
Enthusiast
Enthusiast

@JDMather 

 

Thanks for the quick reply. I have attached my working files in a RAR file.

 

In the main assembly Tipper Skip 01 Assembly.iam, I have created the dimensions "Translation" (d3) and "Tipping Angle" (d8).

If I manually alter d8 (between 0° and 35°), the formula in d3 moves the skip to simulate a rolling motion. The problem is, I cannot loosen d8 so that I can simulate the rolling motion by dragging the skip with my mouse pointer.

 

It would be nice if I could suppress d8 and have the d8 parameter still keep track of its value as I drag it around. That way the formula in d3 could still calculate the appropriate translation accordingly.

 

I hope this illustrates what I mean.

0 Likes
Message 4 of 26

JDMather
Consultant
Consultant

@LSKELLY wrote:

@JDMather 

 

Thanks for the quick reply. I have attached my working files in a RAR file.


I don’t own a license to a rar extractor on my clean Inventor machine.

I only own a license of Windows 10 for zipping/extracting *.zip files on my clean Inventor machine.  I have no interest in installing other software.


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


0 Likes
Message 5 of 26

SBix26
Consultant
Consultant

Here you go, @JDMather .  Inventor 2021 files.


Sam B
Inventor Pro 2022.1.1 | Windows 10 Home 21H1
LinkedIn
autodesk-expert-elite-member-logo-1line-rgb-black.png

0 Likes
Message 6 of 26

LSKELLY
Enthusiast
Enthusiast

@JDMather 

 

I have attached a Zip File instead.

 

Same description applies.

0 Likes
Message 7 of 26

JDMather
Consultant
Consultant

@LSKELLY wrote:

 However, it makes no sense to me that such a feature does not exist...


@LSKELLY 

Are you familiar with the Environments>Dynamic Simulation in Inventor Professional?


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


0 Likes
Message 8 of 26

JDMather
Consultant
Consultant

I have changed the problem description a bit.

We can also add Traces to keep track of the distances between points while moving.

 


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


Message 9 of 26

BDCollett
Advisor
Advisor

JD's solution gives you the best real world results. I think I could also do something to simulate this with iLogic driving your constraints outside the simulation environment. I can't look at the files right now however.

0 Likes
Message 10 of 26

LSKELLY
Enthusiast
Enthusiast

Thanks @JDMather 

 

I had no idea about dynamic simulation. Good to know that you can allow gravity to play out like that. I can think of a million places I could use this.

 

Although  I did not intend for the skip to drag along the base. A later screenshot of the model shows the locating teeth.

 

LSKELLY_1-1633323446193.png

 

Although your answer will be useful to me I really want to drag it around and play with it in the normal Inventor environment as one would with a cylinder-powered lever system, for example.

 

It occurred to me that a constraint-like feature whose purpose is not to constrain but rather to measure would be very useful to achieve this. Perhaps I could add a post for suggestions for AutoDesk in this regard.

 

 

0 Likes
Message 11 of 26

BDCollett
Advisor
Advisor

@LSKELLY wrote:

Thanks @JDMather 

 

I had no idea about dynamic simulation. Good to know that you can allow gravity to play out like that. I can think of a million places I could use this.

 

Although  I did not intend for the skip to drag along the base. A later screenshot of the model shows the locating teeth.

 

LSKELLY_1-1633323446193.png

 

Although your answer will be useful to me I really want to drag it around and play with it in the normal Inventor environment as one would with a cylinder-powered lever system, for example.

 

It occurred to me that a constraint-like feature whose purpose is not to constrain but rather to measure would be very useful to achieve this. Perhaps I could add a post for suggestions for AutoDesk in this regard.

 

 


That does sound great in theory. Probably not so simple in reality.

In the past when I have built something like this and I need to see the motion I will drive the dimensions in the background with iLogic and forms. Then you can drag a slider and have it move as you expect. You can simulate some very complex motion with 2d blocks and have that control an assembly.

Message 12 of 26

JDMather
Consultant
Consultant

@LSKELLY wrote:

Although  I did not intend for the skip to drag along the base. A later screenshot of the model shows the locating teeth…. 

….as one would with a cylinder-powered lever system, for example.


Can you Attach the new assembly here?

I do not see the “cylinder-powered” mechanism in your image?

Approximately where will it be located?

 

All of this can be done with Sketch Blocks before even modeling solid bodies.


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


Message 13 of 26

admaiora
Mentor
Mentor

No sure of the final objective.

 

Can something like this work?

 

tt.gif

Admaiora
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.

_____________________________________________________________________________
Facebook | Twitter | Youtube

0 Likes
Message 14 of 26

LSKELLY
Enthusiast
Enthusiast

@admaiora

 

That looks about right!

 

Was that done in the context of a dynamic simulation or in the context of a normal assembly?

0 Likes
Message 15 of 26

LSKELLY
Enthusiast
Enthusiast

Thanks for the suggestions @BDCollett .

 

I will give the prospect of using iLogic a bit of thought. I never thought of using a slider in conjunction with iLogic.

 

Was just hoping to make it roll in a regular assembly though, the way you might drag a lever mechanism around in a regular assembly with the angle constraints suppressed.

 

0 Likes
Message 16 of 26

swalton
Mentor
Mentor

Would a 3d annotation in the assembly give you an useful  dimension readout?

Steve Walton
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


Inventor 2025
Vault Professional 2025
0 Likes
Message 17 of 26

admaiora
Mentor
Mentor

@LSKELLY 

 

Admaiora
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.

_____________________________________________________________________________
Facebook | Twitter | Youtube

Message 18 of 26

JDMather
Consultant
Consultant

Is this where you are heading?

JDMather_0-1633371714394.png

JDMather_1-1633371733700.png

 


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


Message 19 of 26

BDCollett
Advisor
Advisor

@JDMather wrote:

Is this where you are heading?

JDMather_0-1633371714394.png

JDMather_1-1633371733700.png

 


This is what I was suggesting. From here you can drive any kind of output information you might want. Nice work JD.

0 Likes
Message 20 of 26

LSKELLY
Enthusiast
Enthusiast

Sorry @JDMather.

 

The cylinder-and-linkage mechanism I mentioned was just an example. I was saying I would like to drag the rolling skip freely in a normal assembly, in the same way that one might drag a cylinder and linkage assembly. An unintentional red-herring.

 

To further illustrate my goal, it seems it is possible to achieve exactly the desired result in a sketch, but not in an assembly. I have attached a part containing a sketch. the sketch is missing one constraint which is left free to be able to drag it (best results by dragging the point at the center of the arc, I found). Give it a whirl.

 

Why is it possible to mathematically create rolling motion in a sketch? Because sketches allow you to create driven dimensions. What I am looking for is an assembly constraint equivalent to a driven dimension. To the best of my knowledge, no such entity exists for assembly constraints.

 

Also, I am asking not only for the application of the tipper skip example. The tipper skip example is only one place where this type of "driven constraint" might be useful. Theoretically, one could use such a type of constraint to make all kinds of mathematically complex motions.

 

0 Likes