Dear Zemax community,
I currently have a ZPL macro that has two inputs taken from the MCE and computes the radius of curvature of a surface, based on these two values. What is useful is that I can set my two inputs as variables and run some optimization so i’m quiet happy about it.
Now I would like to hide the equation so that my zemax file performs the same but no one can access the details of the computation within my ZPL macro. I understand there is no way to encapsulate a ZPL macro or create a black box around it. What other options do I have that would work in the same fashion as this ZPL macro?
Thanks