> ## Documentation Index
> Fetch the complete documentation index at: https://eddy-ac74d702.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Sequential optical systems (ray trace)

> Optics · native · track OP1

`native-optics` · Optics · native · track OP1 · in the solver registry

exact skew ray trace on 12 surface kinds, paraxial data + solves + Seidel sums, spots / fans / OPD / field curves / relative illumination, FFT / Huygens PSF + MTF + Zernike fits, the merit function + DLS / OD / hammer optimisers, tolerancing (sensitivity / inverse / keyed Monte Carlo with compensators); the lens document on the shared study core behind /optics; lens files in and out.

## Front door

The optical system goes straight to its solve route (OP1); the lens document's front door (/v1/optics.lower) lands with OP15.

Solve domains: `optics`

## Operations

* [`POST /v1/solve.optics`](https://eddy-ac74d702.mintlify.site/api-reference/solve/post-v1-solve-optics) — Sequential optical system — the exact skew ray trace, first-order data, Seidel sums and the slice-1 analyses (OP1)
* [`POST /v1/optics.import`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-import) — Optics files → their objects: the lens file (.zmx) and, by `format`, every file the solver reads (OP16)
* [`POST /v1/optics.export`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-export) — The optical system → a lens file (.zmx ASCII text)
* [`GET /v1/optics.vocabulary`](https://eddy-ac74d702.mintlify.site/api-reference/optics/get-v1-optics-vocabulary) — The optics vocabulary: the 83 surface types, 39 solves, 28 wavelength presets, 11 aperture kinds, 13 dispersion formulas, and what slice 1 supports
* [`GET /v1/optics.catalogs`](https://eddy-ac74d702.mintlify.site/api-reference/optics/get-v1-optics-catalogs) — The local AGF glass catalogs (read and hashed in place), or one glass by name
* [`POST /v1/optics.optimize`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-optimize) — Optimise an optical system: damped least squares, orthogonal descent or the Halton-keyed hammer on the merit function (OP3)
* [`POST /v1/optics.merit`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-merit) — Evaluate the merit function of an optical system without optimising (the merit function editor)
* [`POST /v1/optics.tolerance`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-tolerance) — Tolerance an optical system: sensitivity, inverse sensitivity and the keyed Monte Carlo on the tolerance rows with compensators (OP4)
* [`GET /v1/optics.coatings`](https://eddy-ac74d702.mintlify.site/api-reference/optics/get-v1-optics-coatings) — The local coating file (read and hashed in place, never copied): its listing, or one coating by name (OP8)
* [`POST /v1/optics.coating`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-coating) — A coating's curves: R / T / A, amplitude phases, diattenuation and retardance for s and p at every (wavelength, angle) (OP8)
* [`GET /v1/optics.scatter`](https://eddy-ac74d702.mintlify.site/api-reference/optics/get-v1-optics-scatter) — The local scatter data (read and hashed in place, never copied): the ABg entries and the scatter profiles, or one ABg entry with its total integrated scatter by angle (OP9)
* [`POST /v1/optics.zbf`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-zbf) — The beam file (ZBF) of a physical-optics propagation at its end surface (OP7)
* [`POST /v1/optics.star`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-star) — The STAR-class opto-mechanical composition: an F-track result key's nodal displacements and temperatures deform and heat the named surfaces (OP11)
* [`GET /v1/optics.example`](https://eddy-ac74d702.mintlify.site/api-reference/optics/get-v1-optics-example) — Open Examples: the Cooke triplet as a lens document (OP15)
* [`POST /v1/optics.edit`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-edit) — Apply lens edit verbs (OP15)
* [`POST /v1/optics.validate`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-validate) — System Check: every node's state and the Messages rows (OP15)
* [`POST /v1/optics.lower`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-lower) — Lower a lens to its solve request (OP15)
* [`POST /v1/optics.episode`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-episode) — Fold a lens and its edits to a content-addressed episode (OP15)
* [`POST /v1/optics.session.start`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-session-start) — Start a recorded lens session (OP15)
* [`POST /v1/optics.session.append`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-session-append) — Record one applied edit on a lens session (OP15)
* [`POST /v1/optics.session.finish`](https://eddy-ac74d702.mintlify.site/api-reference/optics/post-v1-optics-session-finish) — Finish a lens session: the episode it recorded (OP15)

## Referees

* paraboloid / ellipsoid / aplanatic points exact
* the vendor's Cooke triplet sample
* rayoptics + optiland + prysm + poppy + tmm + LightPipes (env-gated)
* the best-form singlet and the defocus / decenter tolerances in closed form
* Fresnel, Brewster, the quarter-wave and Airy closed forms
* the Gaussian beam's ABCD, a circular aperture's Fresnel and Airy patterns, the Talbot length
* a rigid motion fits exactly, a cylindrical bend is defocus + astigmatism, a uniform ΔT is the environment's own index (the STAR composition)

## Tracing (T track)

Pipeline `solve_domain`. No decision-stream events of its own. No decision-stream events yet: the solve passes and the ray accounting are metrics, not T-track events (OP1 slice 2).

## Internal ledger

Documented for contributors in the repository ledger `docs/optics-track.md`, section "The ladder — twenty-two units (▲ engine, ► wiring, ● client)" (an engine renders it at `/docs/tracks/optics-track`).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.