- Home
- Glass and Refractive Index
- How To Submit Vendor Data To Be Distributed With ZEMAX
- Home
- Frequently Asked Questions
- How To Submit Vendor Data To Be Distributed With ZEMAX
How To Submit Vendor Data To Be Distributed With ZEMAX
- By Mark Nicholson
- Published 27 November 2007
- Glass and Refractive Index , Frequently Asked Questions
-
Rating:




Test Plate Data
Test plate data files are ASCII text files that end in the extension .tpd, and are located in the \ZEMAX\testplat directory.
The test plate file format is as follows:
! Header line 1
! Header line 2
! etc... up to 15 lines of header info is supported
partname radius diameter code
partname radius diameter code
partname radius diameter code
partname radius diameter code
etc...
where "partname" is an ID number or name for the test plate, "radius" is the radius of curvature in millimeters, "diameter" is the actual plate diameter in millimeters, and "code" is an integer value. The code should be -1 for concave only, 0 for both concave and convex, and 1 for convex only. All four values must be on one line, separated by spaces or tabs. No spaces or tabs are allowed in the partname parameter. Each test plate (or pair) should be on one line, and the lines separated by carriage returns. Each line should have a unique partname. The numeric values can be in free format, but must be in millimeters. The maximum number of test plates allowed per file is 30,000. The header lines can be used for any purpose, and typically indicate the vendor's name, address, phone, e-mail, and other contact data. The "!" is replaced by a space when ZEMAX lists the data out on test plate lists and fitting reports. See any of the .tpd files included with ZEMAX for examples.