How do I export a Voxler Gridder lattice to ASCII XYZC?

You can extract the X, Y, Z, and C values from a 3D lattice and save them to a data file format by completing the steps below.
In Voxler 3 and 4, this is done by exporting the Gridder results:
  1. Right-click the Gridder module in the Network Manager.
  2. Click Save As.
  3. Change the Save as type to XLSX, TXT, CSV, etc.


For Voxler 1 and 2:

The ASCII Inventor IV file contains the XYZ vertex coordinates in decimal notation, and color and transparency information in hexadecimal notation. If the ScatterPlot uses the GrayScale colormap, then there is a linear relationship between the color and data values. To view the minimum and maximum gridded values, click on the "ellipsis" button (...) to the right of the Colormap in the Properties window, or attach an Info module to the Gridder output.

The hex values range from 000000 (0 decimal) for black and FFFFFF (16777215 decimal) for white, with each value followed by a transparency value, which is FF for 100% opaque. Thus a typical value displayed as 0x9a9a9aff represents a hex value of 9a9a9a or 10132122 in decimal notation. To get the equivalent data value,

data value = data min + ( (color/16777215) * (data max - data min) )

Use a script to convert the IV file to ASCII XYZC format.

Another option for exporting a Gridder lattice to ASCII is the Plot-3D format. This format consists of a P3D file with all the X, then all the Y, then all the Z values and a separate Q file for the data values. Use a text editor or a script to convert the file to XYZC format. 



Updated February 1, 2019

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.