How to divide a polyline into exact point locations

Hi! I’m having trouble trying to divide a polycurve into segments (equal or not).

For example, I want yo divide a polycurve into segments of 5 meters. I used three different nodes but all of them retourns values that are not exact. Here are some screenshots.
I used this nodes: (sorry, I can upload only one screenshot)

Node: Curve.PointAtChordLenght
image

Node: Curve.PointAtSegmentLenght
Node: Curve.PointAtEqualSegmentLenght
This two nodes retourns similar values than the first one.

I want to know why it doesn’t retourn exact values, perhaps is reading wrong the input information or maybe I need to use another node.

Hope someone can help me! Thanks!

We can’t say without seeing the rest of your graph - at least the parts defining the polycurve.

1 Like

Hi Nick, thanks for the reply.

The polycurve is through multiple points that are not at the same z axis. Here are some of the point that define one of the polycurves.

Is this screenshot helpful? thantks.

That’s a start. Can we see what the polycurves look like? Are they regular shapes or organic?

Also, please show what happens when you use the other nodes. Chord length is not the same as curve length so that one won’t get you what you need.

Okey, using the other nodes happens this: (I can’t ulpoad more than one screenshot so there will be 3 messeges.)

Node: Curve.PointAtSegmentLenght
image

The las node I tried

Node: Curve.PointAtEqualSegmentLenght
image

And this is how de polycurve looks like:

I’m showing the curve, the start and the end.

You said it changes in the z-axis but you’re not showing those values. Are you sure that’s not what’s accounting for the difference?

What I was saying about the Z-axis is that the inferior face of the solid increaces, and that polycurve follows that geometry, is not an horizontal curve.

What I’m trying to do is to divide that polycurve, for example in 5 meter segments and I am not beeing able to do it.

I checked that difference you said and it’s not, it is wrong for milimeters, but I can’t figure out why is that happening.

Are you trying to split into equal chord lengths or arc lengths? It’s still a little unclear what it is you’re expecting and what you actually have.
For confirmation, can you split the polycurve at those points and get the curve lengths?
image

This seems to work for me: