Lens file
Drop a .zmx file here
or click to browse — ASCII and UTF-16 supported
No file loaded.
First-order metrics
Trace options
rays
deg
The layout traces real (exact) meridional rays through spherical, conic and even-asphere
surfaces at the file's primary wavelength.
What this means
Load a file to see the analysis.
2D layout & ray trace
Prescription
Warnings
Method: the file is parsed for SURF blocks (TYPE, CURV, DISZ, GLAS, DIAM, CONI, PARM),
wavelengths (WAVM/PWAV) and aperture (ENPD). First-order metrics come from a paraxial y-nu trace at the primary
wavelength; the layout traces exact meridional rays by Newton iteration on the surface sag (conic + even-asphere
terms) with vector Snell refraction. Catalog glasses use an built-in nd table (extend via MODEL glasses
for exact indices); unknown glasses fall back to n = 1.5168 with a warning. Mirrors, coordinate breaks and
non-sequential groups are flagged, not traced.
What should I check first in an unfamiliar lens file?
Start with the first-order block: EFL, f/# and total track tell you if the file matches
its label. Then scan warnings — unknown glasses and unusual surface types are where imported files usually lie.
Finally look at the layout: vignetted rays, wild angles after a surface, or an image plane far from the last
element are the classic signs of a file that needs attention before you trust its analyses.