This is a reader for Cyberware output. This is an example module to show how one can go from cylindrical or spherical to cartesian coordinates. This has been written for specific datasets, but it should serve the purpose. Anyways , the trick is to calculate the points array properly in order to feed field2mesh (in most cases). For spherical you're looking at - x = R cos(theta) * sin(phi), y = R sin(theta) * sin(phi), z = R cos(phi), For cylindrical you're looking at - x = R cos(theta), y = R sin(theta), and z = height, where R = radius. This code example is the infamous jts's face module. The data set is a 512x512 grid of radii. We know that the 512 across covers 360 degrees so I can use the MACRO "CALC" to convert from degrees to radians , which sin & cos must have as input. Buf is used to read in the radius. See also: Dipole