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?


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.
 

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings