Zip Point Scalars
Pairs a list of points with a list of numbers.
Node id field/zip-point-scalars
The Zip Point Scalars node outputs one PointScalar per point: the first point with the first value, the second with the second, and so on.
Inputs
Outputs
| Name | Type | Notes |
|---|---|---|
| pointScalars | Array<PointScalar> |
Behaviour
- Kept together. Once zipped, each value travels with its point, so filtering, reversing or slicing the list can't pair a point with the wrong value.
- Copies. The points are copied, so the upstream ones are never changed.
- Nothing connected counts as an empty list; two empty lists give an empty result.
Errors
pointsandvaluesmust have the same length.
Related nodes
- Orthogonal Grid: a regular grid of points to zip.
- Range: a list of numbers to zip.