Credits: This module was made in order to get evenly spaced points along a bezier curve and was made with the help of gregsnand frankin the forum thread: BézierSpreads: what length: i have taken gregsn's arclength patch for B-Splines and made it a more generic tool for any input curve. john
ArcLength(3d generic)takes a spread of 3D co-ordinates and calculates the length of the straight lines connecting them from start to finish.
Another pin will take a spread of lengths from which the module will output a spread of coordinates, and the slice number of the nearest input point.
Note that the slice number returned is a decimal. this means that if the slice number 3.49 is returned and you use it with a getslice node, getslice will return slice 3, if the slice number is 3.51 slice 4 will be returned, in this way the closest point is determined.
If a length specified is between two original helper points then the output point is calculated to lie somewhere along the straight line between the two points.
Obviously the higher the spread count of helper points the more accurate this will be.
Dont forget to specify if the curve is open or closed!
Useful for any spread whether it is bezier based, b-spine based or any list of 3d coordinates meant to represent a line in 1,2, or 3D space.
Helper points are input as an (xyz) vector so to calculate for only 2d or 1d set the unused coordinates to 0 in a Vector (3d Join).
Been looking for something like this, thanks!
Anyone got the binsizes sorted? Tried a few times without success. Any hints welcome!
hi does someone got a spreadable version of this ?
+1 spreadable version!
looks like is not spreadable, a shame indeed...
anonymous user login