spline merge script

hi there,
i was wondering if anyone knows a script that can merge splines?
i'm creating a scene usings delegates. after converting the delegates' trajectories into splines i want to merge two or more splines into one spline, meaning i want to find the average spline of each few near splines.
can anyone help me?
thanx alot,
jonathan

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jshulters's picture

Hi jonathan. It's been a

Hi jonathan.
It's been a while since your post, but just found it here and thought I might have a solution.
You mentioned you've already used the 'Convert To' feature of an object's trajectory. I'm thinking you can use a path constraint on any object to merge your splines together. Just assign a path constraint to any object, then add all the splines you want to merge as paths. If all the weights are set at 50 (the default), you should get a trajectory for that object that is a perfect blend/merge of all of them. Then you can just convert that trajectory to get another spline that you can use for other purposes. I'm attaching a max 2009 file that shows the end result. Not sure if this is what you were going for, but hope it helps.
John

AttachmentSize
splineMerge.max 288 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.