How to calculate distance between points?

Hi ,
I want to get the distance between the points lying on a single curve.
Can anyone help me out please ?

Here are two ways you can try with.


distance_re01.gh (11.5 KB)

3 Likes

Hi there,
Thanks a lot for your response. I have done it by 3 different ways got same values for 2 methods and one differs. I have attached the image. Please check and let me know what Im doing wrong.

Thanks again,

Hello,

Top method : the Split List component only cuts the list (of points) at the index you provide, it does not calculate any distance.
Middle method : the best one :smiley:
Bottom one : you get almost the same thing, with an extra distance at index 0 which is the distance betwen the first and last point of your curve. If you want to remove that, change the “Wrap” input of both Shift List components to False.