How have I achieved this constraint?

How have I achieved this constraint?

Tee.Dee
Advocate Advocate
665 Views
8 Replies
Message 1 of 9

How have I achieved this constraint?

Tee.Dee
Advocate
Advocate

Hi all,

 

I have created this dymanic block (see attached) with a rotation parameter which controls another part of the block through a constraint but I have no idea how I have manged to achieve the behaviour.

 

I am trying to replicate this in another block but no matter what I have tried so far it does not work.

Is there a certain order in which you need to apply the constraints?

 

Any help would be much appreciated.

Thanks.

0 Likes
Accepted solutions (1)
666 Views
8 Replies
Replies (8)
Message 2 of 9

Tee.Dee
Advocate
Advocate

Actually I have just noticed a slight issue with the attached, the behaviour is essentially what I want but the red line should also stay tangential to the bottom circle.

0 Likes
Message 3 of 9

j.palmeL29YX
Mentor
Mentor

See the attached suggestion. 

Jürgen Palme
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

0 Likes
Message 4 of 9

j.palmeL29YX
Mentor
Mentor
Accepted solution

Additional here a >>video<< how you can achieve the wished behavior.  

(First I deleted all existing constraints to show the complete workflow).

 

 

Jürgen Palme
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

0 Likes
Message 5 of 9

Tee.Dee
Advocate
Advocate

Exactly what I was after, Thanks so much, really appreciate it!

0 Likes
Message 6 of 9

Tee.Dee
Advocate
Advocate

Sorry there's a problem with my block I cant work out (attached).

When in the test block window i can grab the rotate handle and move it once and everything is ok, but if i try to rotate it a second time only the handle moves and not the block.

 

Outside of the block editor all that moves is the handle, any ideas?

 

Exactly the same behaviour is happening in a completely separate block/drawing i'm working on.


Thanks.

0 Likes
Message 7 of 9

j.palmeL29YX
Mentor
Mentor

In general it's not a good idea to mix Parametric Constraints and Dimensions with Dynamic Parameters and Actions. Often you will get "unexpected results", as we can see in this example too. 

I'd suggest to build a Dynamic Block using either completely the one method or the other. 

Attached a >>video<< how I'd do it in the current model. 

 

 

Jürgen Palme
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

0 Likes
Message 8 of 9

Tee.Dee
Advocate
Advocate

Thanks Jürgen,

 

I should be able to use this method on a future block I have in mind.

I did manage to fix the odd behaviour of the previous block by removing the fixed point constraint on the left which seems to work fine as long as you don't enter the rotation degrees through the properties.

0 Likes
Message 9 of 9

j.palmeL29YX
Mentor
Mentor

As I wrote - "unexpected results", if we mix the methods. Sometimes it works, sometimes it doesn't. And no one (?) can tell what will happen and why this happens. 

Jürgen Palme
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

0 Likes