Is there a way to measure or get the distance between a Zemax Surface (any surface: lens, slide, standard, etc...) and a CAD object surface?
I have a CAD model of a parabolic reflector in a mount (one solid CAD object) that I import and a lens and LED I create in Zemax. Very basic system and everything works fine, but I do not know how to get the distance from the front face of the lens (convex curved face) to the parabolic reflector surface (first ray intersection with the CAD object).
Is there a function to get the ray segment length from the lens to the reflector surface? I know I can color rays by segment, but I don’t know how to get that value.
Any help is greatly appreciated!
Best answer by Michaelkm8View original
OK I found the solution. One can use the ray database viewer after running a raytrace and saving the rays.