ZPL Macro: RayList Gaussian Beam Visualizer

  • 23 July 2021
  • 0 replies
  • 144 views

Badge +1

 

This ZPL macro generates a file under "\Zemax\Miscellaneous\RAYLIST.TXT" to represent the envelope of a Gaussian beam. There are 3 user inputs: the Waist Size w0, Surf 1 to Waist and the M2 Factor. The macro generates a list of 16 rays based on Paul Colbourne's skew rays: Using skew rays to model Gaussian beams. These rays can be displayed in the 3D layout or Shaded Model by selecting under the settings Pattern...List.

Language: ZPL

 

  

Click here to download

Date Version OpticStudio Version Comment
2021/07/23 2.0 - Added the definable variables as input
2021/04/01 1.0 - Creation

0 replies

Be the first to reply!

Reply