Skip to main content

ZPL Macro: RayList Gaussian Beam Visualizer


Michael.Humphreys
Zemax Staff
Forum|alt.badge.img+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
Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings