Stretch a dynamic block along an angle with reference to a horizont parameter

Stretch a dynamic block along an angle with reference to a horizont parameter

Anonymous
Not applicable
2,452 Views
1 Reply
Message 1 of 2

Stretch a dynamic block along an angle with reference to a horizont parameter

Anonymous
Not applicable

I am trying to stretch a block (attached) so that i can control it via a horizontal distance. But i want the angled line to stretch with reference to this so either end of the block retains its vertical lines. I attach a screen shot which shows where i want the base point annotated outside of the actual block. The point which i want to use to determine the stretch, and a dotted line showing the area i would like to extended block to fill. Hopefully it makes sense once you open the block.

0 Likes
2,453 Views
1 Reply
Reply (1)
Message 2 of 2

Libbya
Mentor
Mentor

You can add a stretch action to the bottom corner and leave its angle offset and distance multiplier unchanged (1 and 0 respectively).  You can then add a stretch action to the top corner and change its angle offset and distance multiplier appropriately.  In the screencast I try to demonstrate the technique I have found easiest to determine those values.  Bear in mind that the angle offset is relative to the angle of the linear parameter base angle.  Because the base angle is aligned with the global 0 angle finding the angle to stretch the top corner is easy.  The distance multiplier is the distance you want the stretch vertex (or vertices) to move when the associated parameter moves 1 unit.  You can see in the screencast that the distance multiplier of 1 is just slightly short due to the angle offset.  You can also see how I use the quickcalc within those properties to calculate the values and populate them directly.  See screencast.