Curve equal distance

Hello @DanielPiker
The code work perfect with 3d curve but in this example with n = 4 the segments are not equal.

equal dist kangaroo python.gh (11.7 KB)

also with a curve from solution of @RIL (n = 216)

Grasshopper freeze and with less count the segments are not equal when the solution of @RIL work fine


Hi @Jess
I tried to use your script with GhPython but didn’t work , when i add output to the function return dist
the result always like regular divide distance component.
Can you show your result?