PDA

View Full Version : [MaxScript] Length of a spline segment


MrSparkle
09-18-2006, 06:50 PM
Hi,

is it possible to compute the length of a curved spline segment with MaxScript?

Thank you,
Christian

HalfVector
09-18-2006, 07:15 PM
Yes, you can use the function getSegLengths. It returns an array containing the length (fraction length and absolute length) for each segment of the spline and the length of the overall spline.

Take a look at the reference for more information.

Greets.

MrSparkle
09-19-2006, 01:58 PM
Thank you, this helped me a lot, because for some reason, I couldn't find this function in the MaxScript Help...

CGTalk Moderation
09-19-2006, 01:58 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.