Solved

Distance From a CAD Surface to Another Surface

  • 31 December 2022
  • 1 reply
  • 89 views

Userlevel 1

Hello,

          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!

icon

Best answer by Michaelkm8 2 January 2023, 02:16

View original

1 reply

Userlevel 1

OK I found the solution.  One can use the ray database viewer after running a raytrace and saving the rays.

Reply