Zrd Read
zemax_zrd_readRead bounded nested ray and segment samples from a Zemax ZRD file to inspect non-sequential ray data, with optional NSC filters and limits on returned rays and segments.
Instructions
Read a bounded nested ray and segment sample from a ZRD.
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": {
"filePath": "<filePath>"
},
"name": "zemax_zrd_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Optional OpticStudio NSC filter expression | |
| maxRays | No | Maximum returned rays | |
| filePath | Yes | Existing absolute .ZRD file path | |
| maxSegments | No | Maximum total returned segments |