Dynamic block Contraints

Dynamic block Contraints

vboire9DBSV
Participant Participant
741 Views
5 Replies
Message 1 of 6

Dynamic block Contraints

vboire9DBSV
Participant
Participant

What constraints or group of constraints would I require in order to be able to move the red line while always being connected to the 2 green lines? And have the green lines keep their locations. File attached. constraints.png

0 Likes
Accepted solutions (1)
742 Views
5 Replies
Replies (5)
Message 2 of 6

Libbya
Mentor
Mentor

Short answer is 'none'.  Using constraints to accomplish that would be the hard and problematic way to do it, IMO.

0 Likes
Message 3 of 6

vboire9DBSV
Participant
Participant

Any suggestions?

0 Likes
Message 4 of 6

Libbya
Mentor
Mentor

Well, I was trying to record a screencast of the 'easy' way to do it, but something is not right with your file.  The angle offset for move/stretch angles are messed up.  They seem to default to 90 instead of 0 as they should and when set to 0 they behave incorrectly.  I did a recover on the file and it showed errors.  I'll make a similar screencast from a fresh file and hopefully you can apply the technique as needed.  Just a minute.  

0 Likes
Message 5 of 6

Libbya
Mentor
Mentor
Accepted solution

I add a move action that has 0 angle offset and 1 for distance multiplier and move the line.  I then add a stretch action to each end of the line.  I adjust the angle offset so the stretch is perpendicular to the parameter movement.  I offset the line 1 unit and use quickcalc to get the adjusted stretch distance per 1 unit of parameter movement.  Hope that helps and makes sense.  See screencast.

 

 

 

 

Message 6 of 6

vboire9DBSV
Participant
Participant

Thank you. My mind was convinced it should be a constraints function. Very much appreciated. 

0 Likes