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

Array1To3 Op

Ops.Array.Array1To3


Array1To3
Collections:pointArrays  converter  
Namespace: Ops.Array

Op author: pandur

Test Patches: 1 Test

convert array1 to array3


[7,7,7] becomes [1,7,0,2,7,0,3,7,0]

structure of result:

  • first item is the index
  • second item is value from input array
  • third item is 0

This op is useful to generate arrays for ops like the SplineMesh



Inputs

Array1x (Array)

[12,12,12]

Outputs

Array3x (Array)

[1,12,0,2,12,0,3,12,0]

Total points (Number)

12

Array length (Number)

3

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Array1To3 example

Open Example In Editor

Patches using Array1To3