Skip to main content
Question

Is there an equivalent of the ZPL function RAYX/RAYY/RAYZ and RAYL/RAYM/RAYN and RANX/RANY/RANZ in Python ZOS-API?

  • April 8, 2023
  • 0 replies
  • 67 views

I am trying to perform a ray trace with 1000 rays and finding the direction cosines of the normal and incident ray at each surface of the system, as well as the X-,Y- and Z- coordinate on each surface. I have done this in ZPL but I am unsure how to translate this into Python ZOS-API.

I am new to ZOS-API so any help is greatly appreciated.