Wavefront Data in Script

The attached example file demonstrates an embedded script routine which will calculate the wavefront for rays on a particular surface of interest and write out the data to a text file.  The text file can then be read back into FRED for analysis by navigating to Menu > Tools > Open Plot File in 3D Chart.  The text file is saved into the same directory as the associated FRED file.

Download the FRED file: scriptedWavefrontData.frd