Zemax Coatings
Zemax Coatings reads and writes OpticStudio COATING.DAT files: a text database of MATE (material) and COAT (layer stack) records, beside the IDEAL, IDEAL2, TABLE, TAPR and ENCRYPTED coating models. It imports a stack and its materials into a design or the Coating Library, and exports the active design as a COAT stack with its MATE records. Coatings, Materials and Export are tabs in one row with the reference wavelength; the result of the last action shows at its right end.

Computed quantities
Section titled “Computed quantities”Coatings lists every coating record with its type and layer count, and the selected stack’s layers with their materials and physical thicknesses. Materials lists every MATE record. Export previews the COAT and MATE text before it is saved.
Controls and settings
Section titled “Controls and settings”Load COATING.DAT, in the panel of the Coatings or Materials tab, reads a file; its contents and your picks stay while you switch windows. Reference λ₀ (nm) converts relative thicknesses in waves to nm, on import and export.
Coatings: only COAT stacks import; the others are listed with a lock, since IDEAL, IDEAL2 and TABLE describe a surface by its R and T rather than by layers, and ENCRYPTED cannot be decoded.
- Import → front coating puts the stack on the active design’s front, and its
MATEmaterials into aZemax <file>catalog. It is off on a design coated on the back alone with Ignore other side ticked. - Save to Coating Library… saves the stack into My coatings through the Coating Library’s dialog. A
COATrecord names no media, so the coating takes the active design’s, or air and BK7 with no design open. Its thicknesses are converted at , which is stored with it, and its materials travel inside it, so nothing is added to your catalogs.
Materials: tick records and Import selected, or Import all, to add them to a catalog without touching the design.
Export, from the front of the active design:
- Layer thickness: Absolute (µm) or Relative (waves) of . Absolute needs no and loses nothing.
- Include materials: Used by design or All catalog materials.
- Coating name: the
COATrecord’s name. - Material sampling grid: the range and step at which each material’s , is tabulated into its
MATErecord.
Format conventions
Section titled “Format conventions”| Quantity | Zemax | TFStudio |
|---|---|---|
| Wavelength | µm | nm |
| Extinction | stores | , sign flipped both ways |
| Layer thickness | relative in waves, or absolute µm | physical in nm |
| Layer order | outermost to substrate | the same as the front coating is stored |
- No reversal is needed: Zemax’s order is how TFStudio stores a front coating; the Design Editor only displays it from the substrate. A design exported and read back keeps its thicknesses and signs.
- An imported material reads its
MATEtable by straight lines between rows and holds the end rows outside it, as Zemax does. A catalog an earlier version made from the file reads the tables as a smooth curve: importing again on the Materials tab lists those materials as changed and asks before replacing them, and a coating import keeps them. - A name defined in more than one
MATErecord, matched without regard to case, is marked on the Materials tab as 2 of 2 and so on, and named in a notice. Each record imports on its own, a later one with (2), (3) after its name; a coating layer naming it is built with the last record of that name. If the records differ, check which one the file meant.
Theory
Section titled “Theory”A relative thickness is an optical thickness in waves of the lens’s primary wavelength :
with the real index of the layer at . belongs to the lens, not the file, so a relative coating needs it supplied. The help’s worked example: , , µm gives µm.
References
Section titled “References”- Zemax OpticStudio Help → The Coating Tab → Coating File Definitions (
MATE,COAT,IDEAL,TABLE), the source of theCOATING.DATformat.