SubCurves are not equal in lenght where they should be

For my project I want to do some extruding along a curve. To give those parts the correct length, I want to use subcurves.
The strange thing is that the subcurves along the curve (combination of arc and line) come out with not equal length (see image). The two along the arc part are correct. The one along the line is the same as the total length of the line.

How could I solve this?
subcurves with equal lenght.gh (10.3 KB)

Curve parameter does not equal curve length. Use “evaluate length” instead.

Sorry I don’t understand: “Use instead of what?”

Vanilla:


Pufferfish:

subcurves with equal lenght-edit.gh (8.9 KB)
subcurves with equal lenght-pf.gh (7.6 KB)

thank you for these nice solutions

Both worked fine (Pufferfish crashed my Rhino, but second time it was OK).

Now what I do not understand. If I look at the input of the subcurve component. It says:
0. 0 To 24

  1. 91.843102 To 115.843102
  2. 160.225445 To 160.341241

In 0 and 1 I recognize the 24 mm length what the slider was set to.

In 2 (along the line-part of the curve) the difference is about 0.12.
Does it use a reparameterized value? And if so, why?

Maybe the posts in this topic are helpful:

1 Like