Divide Curve
Resamples a Path into count evenly-spaced points by arc length. Useful for distributing points uniformly along a curve that was sampled irregularly (e.g. a cubic-parameterised ellipse).
Node
Interactive preview is available in the interactive reader.
Sockets
path (in)- Path. Required.
path (out)- Path — the resampled polyline with exactly count points.
points (out)- PointArray — the same points as a list (useful for Field nodes).
Parameters
Count- Number of output points. Default: 64. Min 2, max 4096.
Closed- Treat the input as a closed loop (wraps from last back to first when computing arc length). Default: on.
How It Works
- Compute the cumulative arc length at each input vertex.
- Divide the total length into
count - 1equal intervals (orcountintervals for closed paths). - Walk the cumulative length array and linearly interpolate between adjacent input vertices to land exactly on each interval boundary.
The result is a polyline with the same overall shape but perfectly uniform point spacing.