Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / MaxScript / How to measure the length of spline?
  RSS 2.0 ATOM  

How to measure the length of spline?
Rate this thread
 
37331
 
Permlink of this thread  
avatar
  • Tushar
  • Posted: 01 December 2009 10:33 PM
  • Total Posts: 20
  • Joined: 19 November 2007 09:20 AM

Hi all,
I need help on how to measure the length of a spline in max script.
The purpose is to perform extrude along spline in Editable_poly with multiple splines.
The segments in all the extrusions need to be in equal distance whether the spline length is small or big. i.e. segment count increases if length is more and vice versa.

Thanks,
Tushar



Replies: 0
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14445
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

Look up getSegLengths in the MXS help.



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 0