vArrayToXYZ
Convert an array of points into ASCII XYZ text with one point per line.

vArrayToXYZ takes an array on its Input socket and outputs text. Each entry of the array becomes one line with its values written to four decimal places.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| Input | DATATYPE | — | Array to convert. |
| Show Input | Integer | 1.0 | Shows or hides the Input socket. Default on. |
Read the full description
For every entry with three values the node writes a line X Y Z, for two values a line X Y and for one value a line with that value. Values are separated by a single space and written with four decimal places, for example 0.2500 0.0000 1.0000.
Entries with any other number of values are left out. If the input is empty or not connected, the output is an empty text.
The output is plain text and not an array, so it cannot be connected to the Modify nodes. It can be read back with vArrayFromXYZ when its Input Source is set to Text.
Show Input is on by default and shows the Input socket on the node. Turning it off hides the socket.
Example Connections
- Write a generated grid as XYZ text
- Read the text back, with Input Source set to Text
vArrayPointsOnGrid.Output -> vArrayToXYZ.ArrayA
vArrayPointsOnGrid.Output -> vArrayToXYZ.ArrayA
vArrayToXYZ.Output -> vArrayFromXYZ.Input