Paraxial lens in FRED

Proud of what you did in FRED? Show it off here.

Paraxial lens in FRED

Postby Stevem » Thu Jul 24, 2008 1:38 pm

The attached file realizes a paraxial lens in FRED. This is meant to be portable to any FRED file. Note that the paraxial lens MUST have the full name "Geometry.Paraxial.Lens" and that the focal length is entered on the Auxiliary Tab of that Surface. Rays are traced by running the Embedded Script, NOT by hitting any of the Trace buttons.


http://www.photonengr.com/downloads/Examples/paraxiallens.zip
Stevem
 
Posts: 78
Joined: Wed Oct 11, 2006 4:51 pm

Re: Paraxial lens in FRED

Postby ryani » Wed Nov 25, 2009 3:33 pm

I am attaching a second version of the embedded script which uses the direction tangent calculation and allows rays of arbitrary height above the optical axis to be focused exactly to the focal point of the paraxial lens. Note, this file does not account for the phase of the rays as they are modified by the paraxial lens.
Attachments
tangent_lens.zip
Paraxial Lens using direction tangents
(784 Bytes) Downloaded 102 times
Best Regards,
Ryan Irvin
ryani
 
Posts: 19
Joined: Mon Oct 19, 2009 9:10 am


Return to Scripts and Upload Area

Who is online

Users browsing this forum: No registered users and 1 guest

cron