Optiland and RayCrafter (dev) vs Zemax
US 5,899,585, example 1 (wide-angle photographic lens, ray aiming real): Optiland and RayCrafter (dev) against Zemax
A photographic prime to 21.6 mm image height with a floating stop in air behind the sixth lens and Zemax's real ray aiming on, compared with our own Zemax run as written and with ray aiming off (raycrafter #204). Optiland does not match Zemax off axis; RayCrafter has no Fail, and its wavefront off axis is within 0.22 % of Zemax's (Partial). Optiland reads the floating stop at half its size (issue 16), so its beam is half as wide and nearly every number fails. RayCrafter has Zemax's focal length to 2e-6 and fills the stop as Zemax's real aiming does, so its chief rays now agree with Zemax's to 1e-8 mm and its field angles to 3e-8 deg. At the two detailed fields, 15.12 and 21.6 mm, where Zemax's RMS spot operand counts rays its apertures stop, RayCrafter's spot, launched at the pupil points of Zemax's own rays that get through (raycrafter #231), agrees with them to 0.01 % (55.7 and 133.5 µm); its own Spot Diagram is 7 % and 12 % low there (shown, not scored: Zemax's Spot Diagram is cut by the image surface's opening by a rule we cannot reproduce). Its RMS spot against field now matches Zemax's to 0.007 %, on numbers that compare like with like. Zemax's field scan is in real image heights, and each is now turned into the angle at which the chief ray lands on it (8.0 mm is 15.63 degrees); the paraxial tangent rule used before put 8.0 mm at 16.30 degrees, so the scans were compared up to 0.7 degrees apart, and that was the whole of the 6.4 % gap reported until round 8. Zemax's RMS operand counts the rays its apertures stop, so the scan is compared only below 16.20 degrees, where Zemax's first ray is stopped (evaluation #72; it used to be cut at 28.5 degrees, the first detailed field where Zemax's own rays are stopped, which compared RayCrafter's light that gets through with Zemax's stopped rays too and gave 47.5 %). Its RMS wavefront is within 0.0051 waves of Zemax's in that range (Partial), but against Zemax's Wavefront Map at the two detailed fields, with RayCrafter's own wavefront map fitted the same way (piston and tilt over the pupil: raycrafter #243, Rob's decision of 2026-12-04), it is 1.009 against 1.011 waves at 15.12 mm (0.22 %) and 2.327 against 2.323 waves at 21.6 mm (0.17 %): Partial, as 0.004 waves is over the 0.001 of a Match and well inside the 1 % of a Fail. The numbers RayCrafter reports, 1.006 and 2.46, take the tilt out in direction cosines, as Zemax's own RMS operand does on a focused image; at 21.6 mm that convention was the whole of the earlier gap (2.46 against 2.32 waves, 5.9 %). RayCrafter's map is traced with 513 rays across the lit pupil, where it has converged: its map window's 65 gave 0.993 waves at 15.12 mm (1.8 % low, a Fail until the review of round 9), and the RMS stops moving by 513 (the log has the steps). What is left is within Zemax's own sampling: its 64 x 64 map is in exit-pupil coordinates, and on these two fields a 64 x 64 grid moved by under a step changes the RMS by 0.9 % (one standard deviation). It now gives a spot and a wavefront at every angle of the sweep (raycrafter #242), and the file's floating apertures are imported (raycrafter #223), but Zemax's operand still counts the rays its apertures stop beyond 16.2 degrees, so that part of the scan is not compared. Zemax was run at ten more fields, 7.4 to 13.9 mm (14.5 to 26.4 degrees), to see where it starts to stop rays: none of its 331 rays is stopped at 15.63 degrees (8.0 mm), five are at 16.20 degrees (8.3 mm), and 31 at 26.4 degrees (13.9 mm). RayCrafter, traced at Zemax's own pupil points at each of the ten angles, stops exactly the same rays, so the two programs begin to stop rays at the same angle; the share of light through also agrees with the range Zemax's rings of rays allow at all ten (the extra-fields row). Its f-number is 0.13 % high against Zemax's Working F/# (3.457 against 3.452, 0.005 apart: Partial, as the second decimal of a gross statistic is acceptable, Rob's decision of 2026-12-03; Zemax's Image Space F/# of 3.389 comes from the paraxial entrance pupil, which the traced beam of real aiming is not). That 0.13 % is a difference of definition: RayCrafter's f-number is the focal length over the width of the beam it traces in, and Zemax's own trace gives 3.4568 for that (28.969 mm over twice the 4.1901 mm height of its on-axis marginal ray at the first surface), within 2e-5 of RayCrafter's 3.4569; the Working F/# comes instead from the marginal ray's angle at the image. Zemax applies a floating aperture at every surface of the file (a DIAM line whose second word is 1), so it blocks rays at those sizes, as RayCrafter does.
- Optiland: Rays at the image, ray by ray, differs by 2.077 mm
- Optiland: Ray directions at the image, differs by 0.07636
- Optiland: Largest ray radius on every surface, differs by 5.594 mm
- Optiland: Rays stopped by apertures, ray by ray, differs by 18.93 %
- Optiland: RMS spot of the same rays, differs by 94.5 %
- Optiland: Focal length, f-number, exit pupil, differs by 100 %
- Optiland: OPD of every ray, differs by 2291 waves
- Optiland: Zernike coefficients (37 standard), differs by 1132 waves
- Optiland: RMS spot against field, from Optiland's rays, differs by 96.53 %
- Optiland: RMS spot against field, RmsSpotSizeVsField as it comes, differs by 95.5 %
- Optiland: RMS wavefront against field, from Optiland's OPD, differs by 6.705 waves
- Optiland: RMS wavefront against field, RmsWavefrontErrorVsField as it comes, differs by 1165 waves
- Optiland: Seidel coefficients, sizes, differs by 0.3021 mm
Every failing row of the tables below, against our own Zemax run.
- RayCrafter: RMS wavefront against Zemax's Wavefront Map at 15.12 and 21.6 mm, within 0.22 % (Partial). Both fitted the same way (piston and tilt over the pupil): 1.009 against 1.011 waves at 15.12 mm and 2.327 against 2.323 at 21.6 mm (0.004 waves at most; RayCrafter's reported 1.006 and 2.46 use the cosine convention). Below 16.2 degrees the RMS spot against field matches to 0.007 % and the RMS wavefront is within 0.0051 waves (Partial). Launched at the pupil points of Zemax's own rays at the 15.12 and 21.6 mm fields RayCrafter agrees with Zemax's spot to 0.01 % (55.7 and 133.5 µm); its own Spot Diagram is 7 % and 12 % low there (shown, not scored). Cause: Sampling of Zemax's map: Zemax's operand counts stopped rays, so RayCrafter's own wavefront map is compared with Zemax's Wavefront Map, both fitted the same way (raycrafter #243). RayCrafter's map is converged (513 rays across the lit pupil; its window's 65 were 1.8 % low at 15.12 mm). Zemax's is 64 x 64, and a 64 x 64 grid moved by under a step changes these fields' RMS by 0.9 %, so 0.2 % is within it. Beyond 16.2 degrees the scan is not compared (evaluation #72). The RMS spot's earlier 6.4 % gap was the evaluation's: it turned Zemax's real image heights into angles by the paraxial tangent rule. The tangential ray fan's windows agree (raycrafter #258).
- RayCrafter: f-number 0.13 % high (Partial). 3.457 against Zemax's Working F/# of 3.452, 0.005 apart, so the row is Partial (an f-number within 0.01 is Partial, Rob's decision of 2026-12-03: the second decimal of a gross statistic is acceptable); the focal length matches to 2e-6. Zemax's Image Space F/# (3.389) uses the paraxial entrance pupil, so it is not compared here: where Zemax's ray aiming is real and the stop is behind the first surface, the fields fill the stop and the row uses the Working F/#. Cause: A difference of definition. RayCrafter's f-number is the focal length over the width of the beam it traces in; from Zemax's own trace that is 3.4568 (28.969 mm over twice the 4.1901 mm height of the on-axis marginal ray at the first surface, surfaces.csv), within 2e-5 of RayCrafter's. Zemax's Working F/# is 1 / (2 n sin) of the marginal ray at the image, which differs where the sine condition is not met. Neither of Zemax's two f-numbers is RayCrafter's here.
- Optiland: the floating stop at half its size. Its exit pupil is 8.57 mm across against Zemax's 17.14 mm, so its rays, spots, wavefront and Seidel sums all fail. Cause: Optiland reads a floating stop's semi-diameter as its diameter (issue 16; fixed on Optiland's main branch, not in the release we use).
System layout
Drawn from Optiland's surface positions and rays. The comparison with our own Zemax run is above.


Optiland against Zemax
Optiland 0.6.3, as released, with the file preparation and patches listed under "Optiland issues found". Nothing here uses RayCrafter. Each row is the largest difference from our own Zemax run (OpticStudio 24.1.3) over every galvo angle or field of every system below.
Not matching: partial and fail rows.
| Quantity | Largest difference from Zemax | Match / partial within | Result |
|---|---|---|---|
| Refractive index of each glass1.52,64.1, 1.70,41.2, 1.62,58.2, 1.76,26.5, 1.64,55.4, 1.67,48.3, 1.78,25.7, 1.58,40.8. Optiland's data for 1.52,64.1, 1.58,40.8, 1.62,58.2, 1.64,55.4, 1.67,48.3, 1.70,41.2, 1.76,26.5, 1.78,25.7 differ from Zemax's | 5.89e−06 | 1e−06 / 0.0001 | Partial |
| Rays at the image, ray by rayThe rays Zemax traced, every galvo angle or field | 2.077 mm | 1e−06 / 0.001 mm | Fail |
| Ray directions at the imageDirection cosines. Zemax's are reversed after an odd number of mirrors | 0.07636 | 1e−09 / 1e−06 | Fail |
| Largest ray radius on every surface | 5.594 mm | 1e−06 / 0.001 mm | Fail |
| Rays stopped by apertures, ray by ray188 of 993 rays stopped by one tool and not the other | 18.93 % | 0 / 1 % | Fail |
| RMS spot of the same raysThe rays that get through, every one counted alike | 94.5 % | 0.1 / 2 % | Fail |
| Focal length, f-number, exit pupilSizes; Optiland's signs may differ after a mirror | 100 % | 0.0001 / 0.1 % | Fail |
| OPD of every ray | 2291 waves | 0.001 / 0.01 waves | Fail |
| Zernike coefficients (37 standard) | 1132 waves | 0.001 / 0.01 waves | Fail |
| RMS spot against field, from Optiland's raysWith the pupil averaging Zemax uses (Gaussian quadrature) | 96.53 % | 0.1 / 2 % | Fail |
| RMS spot against field, RmsSpotSizeVsField as it comesEqual weights on hexapolar rings count the pupil's edge too much, and only the rays that get through count | 95.5 % | 0.1 / 2 % | Fail |
| RMS wavefront against field, from Optiland's OPDPiston and tilt removed, as Zemax does | 6.705 waves | 0.001 / 0.01 waves, or 1 % of Zemax's if larger, to fail | Fail |
| RMS wavefront against field, RmsWavefrontErrorVsField as it comesA different meaning: piston and tilt are kept | 1165 waves | 0.001 / 0.01 waves, or 1 % of Zemax's if larger, to fail | Fail |
| Seidel coefficients, sizesZemax prints six decimals. Optiland's signs may be opposite | 0.3021 mm | 1e−06 / 1e−05 mm | Fail |
All 15 rows, matches included
| Quantity | Largest difference from Zemax | Match / partial within | Result |
|---|---|---|---|
| Refractive index of each glass1.52,64.1, 1.70,41.2, 1.62,58.2, 1.76,26.5, 1.64,55.4, 1.67,48.3, 1.78,25.7, 1.58,40.8. Optiland's data for 1.52,64.1, 1.58,40.8, 1.62,58.2, 1.64,55.4, 1.67,48.3, 1.70,41.2, 1.76,26.5, 1.78,25.7 differ from Zemax's | 5.89e−06 | 1e−06 / 0.0001 | Partial |
| Position of every surface | 0 mm | 1e−09 / 1e−06 mm | Match |
| Rays at the image, ray by rayThe rays Zemax traced, every galvo angle or field | 2.077 mm | 1e−06 / 0.001 mm | Fail |
| Ray directions at the imageDirection cosines. Zemax's are reversed after an odd number of mirrors | 0.07636 | 1e−09 / 1e−06 | Fail |
| Largest ray radius on every surface | 5.594 mm | 1e−06 / 0.001 mm | Fail |
| Rays stopped by apertures, ray by ray188 of 993 rays stopped by one tool and not the other | 18.93 % | 0 / 1 % | Fail |
| RMS spot of the same raysThe rays that get through, every one counted alike | 94.5 % | 0.1 / 2 % | Fail |
| Focal length, f-number, exit pupilSizes; Optiland's signs may differ after a mirror | 100 % | 0.0001 / 0.1 % | Fail |
| OPD of every ray | 2291 waves | 0.001 / 0.01 waves | Fail |
| Zernike coefficients (37 standard) | 1132 waves | 0.001 / 0.01 waves | Fail |
| RMS spot against field, from Optiland's raysWith the pupil averaging Zemax uses (Gaussian quadrature) | 96.53 % | 0.1 / 2 % | Fail |
| RMS spot against field, RmsSpotSizeVsField as it comesEqual weights on hexapolar rings count the pupil's edge too much, and only the rays that get through count | 95.5 % | 0.1 / 2 % | Fail |
| RMS wavefront against field, from Optiland's OPDPiston and tilt removed, as Zemax does | 6.705 waves | 0.001 / 0.01 waves, or 1 % of Zemax's if larger, to fail | Fail |
| RMS wavefront against field, RmsWavefrontErrorVsField as it comesA different meaning: piston and tilt are kept | 1165 waves | 0.001 / 0.01 waves, or 1 % of Zemax's if larger, to fail | Fail |
| Seidel coefficients, sizesZemax prints six decimals. Optiland's signs may be opposite | 0.3021 mm | 1e−06 / 1e−05 mm | Fail |
RayCrafter against Zemax
Tested at commit 5ecb2efd of dev, not the release on PyPI.
The rows below are on a system with a flat image.
Not matching: partial and fail rows.
| Quantity | Largest difference from Zemax | Match / partial within | Result |
|---|---|---|---|
| Focal length and f-numberZemax's ray aiming is real, so the fields fill the stop: the f-number is compared with Zemax's Working F/# (from the real marginal ray's angle at the image), not its Image Space F/# (paraxial entrance pupil). RayCrafter's f-number is the focal length over the real beam it traces through the stop; Zemax's own trace of that beam gives the same (3.4568 against RayCrafter's 3.4569 on US005899585_Example01P). The two definitions differ by a few thousandths when the pupil is aberrated. f-number: Partial where it differs from Zemax's by under 0.01, a gross statistic (Rob's decision, 2026-12-03) | 0.1299 % | 0.0001 / 0.1 % | Partial |
| RMS wavefront against fieldZemax's RMS operand counts the rays its apertures stop as well; RayCrafter's counts the light that gets through (evaluation #72). From the first angle where either program stops rays (16.2 deg, by Zemax's own rays) the scan is left out, and the fields are compared with Zemax's own Wavefront Map (piston and tilt removed) of the rays that get through: 15.12, 21.6 mm. Both numbers are fitted the same way: the evaluation takes a least-squares plane (piston and tilt) out of Zemax's Wavefront Map and out of RayCrafter's own wavefront map over the pupil, every point that got through alike (raycrafter #243, Rob's decision of 2026-12-04). RayCrafter's reported RMS wavefront and Zemax's RMS operand, which take the tilt out in direction cosines on a focused image, are a different convention (on the focused designs of #243 a plane in pupil coordinates was 1.5 to 8 % from Zemax's operand), so they are not what is compared here. RayCrafter's map is traced with 513 rays across the part of the pupil that gets light, where its RMS has converged (its window's 65 were 1.6 % low on US005899585 at 15.12 mm). Zemax's map is 64 x 64, and on a field whose rays are stopped where the wavefront is steep its RMS depends on where its grid falls: on US005899585 at 15.12 and 21.6 mm a 64 x 64 grid moved by under a step changes the RMS by 0.9 % (one standard deviation), so differences of that size can be Zemax's sampling. RayCrafter's own reported RMS wavefront, for information (waves): 15.12 mm: 1.006 (fitted 1.009), 21.6 mm: 2.461 (fitted 2.327) | 0.005132 waves | 0.001 / 0.01 waves, or 1 % of Zemax's if larger, to fail | Partial |
All 8 rows, matches included
| Quantity | Largest difference from Zemax | Match / partial within | Result |
|---|---|---|---|
| Focal length and f-numberZemax's ray aiming is real, so the fields fill the stop: the f-number is compared with Zemax's Working F/# (from the real marginal ray's angle at the image), not its Image Space F/# (paraxial entrance pupil). RayCrafter's f-number is the focal length over the real beam it traces through the stop; Zemax's own trace of that beam gives the same (3.4568 against RayCrafter's 3.4569 on US005899585_Example01P). The two definitions differ by a few thousandths when the pupil is aberrated. f-number: Partial where it differs from Zemax's by under 0.01, a gross statistic (Rob's decision, 2026-12-03) | 0.1299 % | 0.0001 / 0.1 % | Partial |
| Chief ray at the image, every fieldFields where both programs block the chief ray are left out | 1.16e−08 mm | 1e−06 / 0.001 mm | Match |
| Ray fan (tangential), every fieldFields where no ray gets through are left out | 1.81e−07 mm | 1e−06 / 0.001 mm | Match |
| Ray fan: pupil points with a ray in one program only, every fieldLight that one program lets through and the other stops: vignetting that differs. Zemax draws a tangential fan point only if the ray one step lower in the pupil also gets through, so its window really starts one to two steps below its first point and ends up to one step above its last; a point where the edge may be is undecided and not counted (raycrafter #258); the sagittal fan is not compared (no vignetted sagittal reference to show Zemax does the same) | 0 % | 0 / 1 % | Match |
| Beam angle of each field (fields given as image heights)Zemax's is its chief ray's direction in object space | 3.17e−08 deg | 1e−06 / 0.001 deg | Match |
| RMS spot against fieldZemax's RMS operand counts the rays its apertures stop as well; RayCrafter's counts the light that gets through (evaluation #72). From the first angle where either program stops rays (16.2 deg, by Zemax's own rays) the scan is left out, and the fields are compared with Zemax's own traced rays that get through (rays_at_image.csv), RayCrafter's launched at the same pupil points (raycrafter #231); not its Spot Diagram, which is cut by the image surface's opening by a rule we cannot reproduce: 15.12, 21.6 mm. The Spot Diagrams (um) for reference: 15.12 mm: Zemax 60.13, RayCrafter 55.99; 21.6 mm: Zemax 136.8, RayCrafter 119.8 | 0 % | 0.1 / 2 % | Match |
| RMS wavefront against fieldZemax's RMS operand counts the rays its apertures stop as well; RayCrafter's counts the light that gets through (evaluation #72). From the first angle where either program stops rays (16.2 deg, by Zemax's own rays) the scan is left out, and the fields are compared with Zemax's own Wavefront Map (piston and tilt removed) of the rays that get through: 15.12, 21.6 mm. Both numbers are fitted the same way: the evaluation takes a least-squares plane (piston and tilt) out of Zemax's Wavefront Map and out of RayCrafter's own wavefront map over the pupil, every point that got through alike (raycrafter #243, Rob's decision of 2026-12-04). RayCrafter's reported RMS wavefront and Zemax's RMS operand, which take the tilt out in direction cosines on a focused image, are a different convention (on the focused designs of #243 a plane in pupil coordinates was 1.5 to 8 % from Zemax's operand), so they are not what is compared here. RayCrafter's map is traced with 513 rays across the part of the pupil that gets light, where its RMS has converged (its window's 65 were 1.6 % low on US005899585 at 15.12 mm). Zemax's map is 64 x 64, and on a field whose rays are stopped where the wavefront is steep its RMS depends on where its grid falls: on US005899585 at 15.12 and 21.6 mm a 64 x 64 grid moved by under a step changes the RMS by 0.9 % (one standard deviation), so differences of that size can be Zemax's sampling. RayCrafter's own reported RMS wavefront, for information (waves): 15.12 mm: 1.006 (fitted 1.009), 21.6 mm: 2.461 (fitted 2.327) | 0.005132 waves | 0.001 / 0.01 waves, or 1 % of Zemax's if larger, to fail | Partial |
| Extra fields: share of the light that gets throughFields Zemax was also run at, which are not in the file. Zemax stops its first rays at 16.20 deg (5 of 331), none at 15.63 deg (331 traced). RayCrafter, traced at Zemax's own pupil points at each of these angles, stops the very same rays at every one. The scans are compared below 16.20 deg. 7.4 mm (14.48 deg): RayCrafter 100.0 %, Zemax 100.0 to 100.0 % (0 of 331 rays stopped); 7.7 mm (15.06 deg): RayCrafter 100.0 %, Zemax 100.0 to 100.0 % (0 of 331 rays stopped); 8 mm (15.63 deg): RayCrafter 100.0 %, Zemax 100.0 to 100.0 % (0 of 331 rays stopped); 8.3 mm (16.20 deg): RayCrafter 99.8 %, Zemax 98.2 to 100.0 % (5 of 331 rays stopped); 8.6 mm (16.77 deg): RayCrafter 99.8 %, Zemax 97.5 to 100.0 % (7 of 331 rays stopped); 8.9 mm (17.33 deg): RayCrafter 99.7 %, Zemax 96.9 to 100.0 % (9 of 331 rays stopped); 9.5 mm (18.46 deg): RayCrafter 99.3 %, Zemax 96.2 to 100.0 % (11 of 331 rays stopped); 10.5 mm (20.31 deg): RayCrafter 98.2 %, Zemax 94.9 to 100.0 % (15 of 331 rays stopped); 12.2 mm (23.40 deg): RayCrafter 96.7 %, Zemax 93.6 to 100.0 % (19 of 331 rays stopped); 13.9 mm (26.40 deg): RayCrafter 94.3 %, Zemax 89.8 to 96.6 % (31 of 331 rays stopped) | 0 % points | 0.5 / 2 % points | Match |
What RayCrafter said when it imported the file
- The file has 3 configurations. Only configuration 1, the one its surfaces are saved in, was imported.
- The file has a model glass (index 1.51633, Abbe number 64.1). Its index at other wavelengths follows Zemax's model glass formula.
- The file has a model glass (index 1.70154, Abbe number 41.2). Its index at other wavelengths follows Zemax's model glass formula.
- The file has a model glass (index 1.62299, Abbe number 58.2). Its index at other wavelengths follows Zemax's model glass formula.
- The file has a model glass (index 1.76182, Abbe number 26.5). Its index at other wavelengths follows Zemax's model glass formula.
- The file has a model glass (index 1.63854, Abbe number 55.4). Its index at other wavelengths follows Zemax's model glass formula.
- The file has a model glass (index 1.66672, Abbe number 48.3). Its index at other wavelengths follows Zemax's model glass formula.
- The file has a model glass (index 1.78472, Abbe number 25.7). Its index at other wavelengths follows Zemax's model glass formula.
- The file has a model glass (index 1.58144, Abbe number 40.8). Its index at other wavelengths follows Zemax's model glass formula.
- 10 lens(es) are not in the catalogue and were named "Imported lens N".
- The file's aperture is not an entrance pupil diameter; the beam is its paraxial entrance pupil, 8.548 mm across.
- The file gives its fields as image heights, which were turned into beam angles: 15.12 mm is 28.476 deg, 21.6 mm is 38.306 deg.
- Each field angle was loaded at the primary wavelength, and each other wavelength as an on-axis field.
- The stop (surface 11) is in air and was imported as an aperture, the stop, 17.525 mm across (the stop's size in the file).
- The chief rays of the fields given as image heights were aimed through the stop, as the file's real ray aiming does, so their angles differ from those above: 15.12 mm is 28.4758 deg (Optiland: 28.4761), 21.6 mm is 38.2982 deg (Optiland: 38.3061).
- The file's real ray aiming is reproduced: each field is launched to fill the stop.
Optiland: the file's own fields

RayCrafter: its own plots
What RayCrafter's window and report draw, with Zemax's points over them (open markers), on the file's own fields.



Optiland issues found
Full details are in upstream/optiland_issues_found.md. Causes found by putting Zemax's value in one at a time.
- 16. A floating stop is read at half its size. The exit pupil is 8.57 against 17.14 mm and the f-number 6.78 against 3.389. Fixed on main. Fixed on main Upstream: not yet filed.
- 38. Ray aiming of the file (RAIM) ignored. The file uses real ray aiming. Open Upstream: not yet filed.
- 41. Robust aiming fails with a floating stop. So real aiming cannot be set by hand either. Open Upstream: not yet filed.
- 39. f-number and entrance pupil are arrays for a floating stop. Made this row an error before the comparison code was changed. Evaluation fixed Upstream: not yet filed.
Semi-diameters stored in the file
Zemax stores, for every surface whose semi-diameter is automatic, the largest ray radius it computed. We re-trace the file in Optiland and take the largest local ray radius. Status is computed from the tolerances in comparison.json: match within 0.5%, partial within 5%.
Every row matches Zemax.
All 0 rows, matches included
| Quantity | Zemax | Optiland | Difference | Result |
|---|
Lens data
Prescription as stored in the Zemax file. The Optiland radius is read back from the loaded model, so a difference would show an import error.
| Zemax # | Comment | Type | Radius, Zemax (mm) | Radius, Optiland (mm) | Thickness (mm) | Glass | Semi-diameter (mm) | Clear aperture (mm) |
|---|---|---|---|---|---|---|---|---|
| 0 | STANDARD | ∞ | ∞ | ∞ | 0 (fixed) | |||
| 1 | STANDARD | 117.525 | 117.525 | 2.7 | ___BLANK | 22.36 (fixed) | ||
| 2 | STANDARD | 689.019 | 689.019 | 0.15 | 22.36 (fixed) | |||
| 3 | STANDARD | 57.304 | 57.304 | 1.5 | ___BLANK | 18.53 (fixed) | ||
| 4 | STANDARD | 17.459 | 17.459 | 9.79 | 14.715 (fixed) | |||
| 5 | STANDARD | -64.591 | -64.591 | 1.3 | ___BLANK | 14.715 (fixed) | ||
| 6 | STANDARD | 54.489 | 54.489 | 0.17 | 14.87 (fixed) | |||
| 7 | STANDARD | 31.274 | 31.274 | 3.82 | ___BLANK | 13.89 (fixed) | ||
| 8 | STANDARD | 160.062 | 160.062 | 32.88 | 13.89 (fixed) | |||
| 9 | STANDARD | 32.699 | 32.699 | 2.98 | ___BLANK | 9.74 (fixed) | ||
| 10 | STANDARD | -89.601 | -89.601 | 0.99 | 9.74 (fixed) | |||
| 11 | STANDARD (stop) | ∞ | ∞ | 0.2 | 8.762 (fixed) | |||
| 12 | STANDARD | 22.321 | 22.321 | 2.17 | ___BLANK | 9.41 (fixed) | ||
| 13 | STANDARD | 58.77 | 58.77 | 0.98 | 9.41 (fixed) | |||
| 14 | STANDARD | -122.838 | -122.838 | 10.46 | ___BLANK | 8.805 (fixed) | ||
| 15 | STANDARD | 17.636 | 17.636 | 0.89 | 7.625 (fixed) | |||
| 16 | STANDARD | 34.854 | 34.854 | 2.67 | ___BLANK | 7.625 (fixed) | ||
| 17 | STANDARD | -37.818 | -37.818 | 3.01 | 7.625 (fixed) | |||
| 18 | STANDARD | -64.438 | -64.438 | 1.3 | ___BLANK | 11.83 (fixed) | ||
| 19 | STANDARD | 83.202 | 83.202 | 1.94 | 11.83 (fixed) | |||
| 20 | STANDARD | -709.402 | -709.402 | 2.77 | ___BLANK | 12.42 (fixed) | ||
| 21 | STANDARD | -42.415 | -42.415 | 37.7 | 12.42 (fixed) | |||
| 22 | STANDARD | ∞ | ∞ | 0 | 21.6 (fixed) |
How Zemax was run
By make_zemax_reference.py, the same way for every design, on
2026-12-04 17:27.
What is asked for, and which tool each result tests, is in
zemax_analyses.md; every file is in
Zemax_reference_output.
| System | What it is | Tests |
|---|---|---|
| The file's own fields | The file untouched, at its own fields | Optiland, RayCrafter |
Reproduce
export UV_PROJECT_ENVIRONMENT=~/uv_venvs/evaluation_mac uv run python -m evaluation_tools.from_zemax.analyze_zmx designs/from_zemax/US005899585_Example01P uv run python -m evaluation_tools.build_summary # regenerates all HTML