- Home
- Sequential Ray Tracing
- Analysis Features
- How To Draw Specific Rays in ZEMAX Layouts
How To Draw Specific Rays in ZEMAX Layouts
- By Dan Hill
- Published 20 September 2005
- Analysis Features
-
Rating:




The EXPLICIT Format
EXPLICIT: The explicit format consists of the word EXPLICIT on the very first line of the RAYLIST.TXT file, followed by the values x, y, z, l, m, n, and wavenumber; where x, y, and z are the ray starting coordinates, l, m, n are the direction cosines of the ray, and wavenumber is the integer indicating the wavelength to use.
All coordinates are in object space. If the system is at infinite conjugates, then the spatial coordinates are relative to Surface 1. If the object in not at infinity, then the coordinates are with respect to Surface 0 (the OBJ surface).
The syntax of the explicit format is as follows:
EXPLICIT
x y z l m n wavenumber
Using the “Double Gauss 28 degree field.ZMX” once again as an example, edit the RAYLIST.TXT file to trace the rays defined by the following starting coordinates, direction cosines, and wavelength:

When an EXPLICIT trace is defined, the field and wavelength settings are ignored, and only those rays listed in the file are traced. In the current example, the three above listed rays are traced as follows:
