Rotation value changes due to stretch, though angle does not change

Rotation value changes due to stretch, though angle does not change

JamesMaeding
Advisor Advisor
1,225 Views
6 Replies
Message 1 of 7

Rotation value changes due to stretch, though angle does not change

JamesMaeding
Advisor
Advisor

I have callout block that look like:

blk.jpg

The idea is you can use the stretch point to change last part of callout:

blk1.jpg

Also rotate the last seg and attribs using rotation grip:

blk2.jpg

 

Now, lets say I don't want to use the rotation grip, I just want to use the stretch grip.

I expected the roation value to say the same, as the last seg is not rotated.

It does not though. Its like the rotation center got moved properly with the stretch, but the angle is calculated off original spot.

I need users to be able to set multiple blocks to same rotation value for last segment, likely 0.

Any idea how to get the rotation value to be relative to rotation center?

blk4.jpg

Drawing attached

 


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes
Accepted solutions (2)
1,226 Views
6 Replies
Replies (6)
Message 2 of 7

Libbya
Mentor
Mentor
Accepted solution

Don't use any stretch actions on the rotation parameter and the values won't get skewed.  Instead use only move actions to move the center of rotation and scale actions to make the grip closer or further from the center.  See screencast.  

Message 3 of 7

JamesMaeding
Advisor
Advisor

@Libbya 

Thanks a bunch, I see what you mean.

I erased that second point param like you did. Not needed now that the angle behaves.

I did not follow why you used a scale action though.

I did it with two move params, one for each stretch.

I've used chained actions before, but never really wrapped my head around it.

Your post helped me understand this much better so much appreciated!

 


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes
Message 4 of 7

JamesMaeding
Advisor
Advisor

Ok, this is working so well, I need to document a couple things so I can replicate my own work (well, mostly from @Libbya ) a year layer when I forget what I did...

I never figured out the use of scale action here, I did two chained moves.

Pics of items and what is selected:

1.png

2.png

3.png

4.png

drawing attached

 

 


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes
Message 5 of 7

Libbya
Mentor
Mentor
Accepted solution

I played with the initial version some more.  You are correct, the scale action is not needed.  In fact, neither is the extra move on the grip (the grip always follows the parameter).  The only thing skewing the angle was the stretch on the center point.  Add a move action for the rotate parameter and remove the rotate from the stretch action that was stretching its basepoint in your initial posted file and it works fine.  

Message 6 of 7

Libbya
Mentor
Mentor

 

0 Likes
Message 7 of 7

JamesMaeding
Advisor
Advisor

@Libbya 

Correct again, love it!

Double solution in one post, good stuff.


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes