cables is under heavy development.
There might be one or another bug, please let us know about it!

op id:8a9b80c3-dd51-47f1-8a64-1d26da48fec7
Reduce an array by copying only every xth value

summary (oneliner)

Creates a new array which contains every xth value triplet of the source array, e.g. when your source array is [x1, y1, z1, x2, y2, z2, x3, y3, z3] and Every Xth Item is set to 2, the resulting array will be [x1, y1, z1, x3, y3, z3].



youtube id

op collections: pointArrays  


related ops


Array (Array)

The source array

Every xth Item (integer Number)

When set to 1 source and result array will be identical, when set to 2 result array contains half the number of items of the source array and so on

Max Index (integer Number)

If set to anything other than 0 the resulting array will contain Max Index value triplets at max


Result Array (Array)

The new array containing only a subset of elements


Caught a mistake or want to contribute to the documentation?

Edit this documentcancel save

Examples using ReduceArray3x

Public Patches using ReduceArray3x