Batch Ray Trace
zemax_batch_ray_traceTrace batches of normalized sequential rays through a Zemax optical system to a chosen surface or image at a specified wavelength.
Instructions
Trace a batch of normalized sequential rays.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rays": "<rays>"
},
"name": "zemax_batch_ray_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rays | Yes | [Hx,Hy,Px,Py] rays | |
| rayType | No | Real or Paraxial | Real |
| toSurface | No | -1 means image | |
| wavelength | No | Wavelength number |