» [OBSOLETE] ArcLength(3d generic)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

[OBSOLETE] ArcLength(3d generic)

module
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

about

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).

main nodes used are Integrateand Interval and Normalise
Bins are yet to be implemented (feel free to so !)
Enjoy
john
john

download

ArcLength (3d generic).zip
08.09.10 [15:59 UTC] by john | 1730 downloads

frank 06/11/2010 - 17:34

small bug fixed. new version here ArcLength (3d generic).zip

john 28/12/2010 - 05:04

@frank can you remember the bug you fixed ?

readme 16/03/2012 - 12:55

Been looking for something like this, thanks!

Desaxismundi 02/01/2013 - 18:50

Anyone got the binsizes sorted? Tried a few times without success. Any hints welcome!

colorsound 07/05/2013 - 18:18

hi does someone got a spreadable version of this ?

gaz 06/08/2013 - 17:20

+1 spreadable version!

hierro 01/09/2013 - 22:09

looks like is not spreadable, a shame indeed...

herbst 02/09/2013 - 01:59

here's a rewritten-as-plugin fully spreadable version of ArcLength, because it's really cool and powerful: pathvectors-(3d)

anonymous user login

Shoutbox

~2d ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~2d ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~9d ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~11d ago

~13d ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~16d ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~16d ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~23d ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~30d ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/

~30d ago