Jump to content

Chain SOP - how to maintain point distance along curves?


cdenny

Recommended Posts

Hey all, I've been having an issue figuring out the best way to make panels move along a curve - constrained to each other. Like chains, tank treads, sectional garage doors, etc. I've attached an image of the issue, the black dots would be wheels on a rail.

It looks like the chain sop uses curveu to control the objects position along the curve, which fails when the movement axis changes from a single direction to a mix of the two. IE as it rounds the bend the top pivot point travels a longer distance than the bottom pivot point. I've got one thought which is to create points that are constrained via distance to the previous point, which are all constrained to slide along a path. Is this possible in vellum now with the slide constraint? Each point would be a position constraint for the bottom of one object, and a 'look at' constraint for the next object down the path. If the distance is maintained between each point then theoretically it'll always be a seamless assembly of chain-links or a tank tread.  I just can't believe there isn't a simpler way or something that has been done before, it seems like this would've been solved years ago. Maybe there's some math or CHOP to interpolate point distance along the path? Maybe some sort of for loop where it changes a points curveu attribute until the correct point distance is achieved?

Thanks much for the advice!

Panels_Start.PNG

Panels_Midway.PNG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...