PDA

View Full Version : Collapse multiple splines to one...?


exerion
06-14-2007, 03:51 AM
Hey all,

How do I collapse multiple editable splines to one editable spline using maxscript?

Thanks :)

RustyKnight
06-14-2007, 12:45 PM
Depending on exactly what you mean by "collapse" you should look at

addAndWeld <to_shape> <from_shape> <weldthreshold_float>

Add the splines from one spline shape to the specified bezier shape. The weld threshold will weld the endpoints of the new splines onto endpoints of existing ones if they are within the distance specified.


The process to add multiple splines together is a simple process of looping through the list, adding and welding them to the parent spline

exerion
06-14-2007, 01:32 PM
Thank you very very much for your response, works prefect :D

RustyKnight
06-14-2007, 09:56 PM
You're welcome, glad to be of help. That one can be a little obscure :thumbsup:

CGTalk Moderation
06-14-2007, 09:56 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.