Polyline
Converts a PointArray to a Path. Optionally closes the loop by duplicating the first point at the end.
Node
Interactive preview is available in the interactive reader.
Sockets
points (in)- PointArray. Required.
path (out)- Path — the same points, wrapped as a Path. If Closed is on, the first point is appended at the end.
Parameters
Closed- When on, duplicates the first point at the end of the path, making it a closed loop. Default: off.
How It Works
A semantic converter more than a geometry operation — a PointArray is "a list of points" while a Path is "a curve through those points". Downstream nodes that expect Path semantics (Layer Stacker, Interpolate Curve, Sweep Along Rail) need this explicit wrapping.
Because the Path → PointArray and PointArray → Path conversions are also available implicitly (see the Sockets page), you only need Polyline when you want the explicit Closed control.