Hi Leonid,
Could you use a ZPL Macro Solve for the job?
I'm thinking about something like:
air_focal_length = 5
surface_number = SOSO(0)-1
wave_number = 1
INDX_CODE = OCOD('INDX')
refractive_index = OPEV(INDX_CODE, surface_number, wave_number, 0, 0, 0, 0)
SOLVERETURN air_focal_length / refractive_index
Which you would apply on the Focal Length cell of your paraxial surface. I'm also attaching an example, which contains my macro, for you to try. The solve uses the refractive index at the surface right before itself: SOSO(0). The desired focal length in air is hard-coded in the macro, but you could pick up a cell value from a dummy surface to parametrize it.
Let me know if it makes sense.
Kind regards,
David
Hi David,
Thank you for the reply. I understand your example(and what I did so far), but we expect the focusing distnace of the ideal mirrored lens to be eaual to the focal length as there is no refraction(all the tracing is in n=1.5 medium).
Thanks,
Leonid
Hi Leonid,
Got you, sorry to hear it didn't help.
I can't comment for this design choice of the paraxial lens surface though.
Perhaps, someone from Zemax might be able to give you a better justification.
Take care,
David