- Home
- Programming ZEMAX
- ZPL
- How to Measure the Sag of an NSC Object
- Home
- Non Sequential Ray Tracing
- Objects
- How to Measure the Sag of an NSC Object
How to Measure the Sag of an NSC Object
- By Sanjay Gangadhara
- Published 23 November 2007
- ZPL , Objects
-
Rating:




Summary
Summary
The NSRA operand may be used together with a Source Ray to calculate the surface sag of an object in non-sequential ZEMAX. This can be done by either:
• Using the Universal Plot 2D analysis feature
• Using a ZPL macro
In either case, the step size of the calculations can be explicitly specified, allowing for arbitrary resolution of the surface sag.
The NSRA operand may be used together with a Source Ray to calculate the surface sag of an object in non-sequential ZEMAX. This can be done by either:
• Using the Universal Plot 2D analysis feature
• Using a ZPL macro
In either case, the step size of the calculations can be explicitly specified, allowing for arbitrary resolution of the surface sag.
Attachments
3 Responses to "How to Measure the Sag of an NSC Object" 
|
said this on 21 Mar 2008 6:01:39 AM PDT
This seems unnecessarily complex. I had to do this recently for a cylindrical NS surface, and wrote a really simple macro to calculate the sag from radius and aperture.
R=NPAR(1,3,7)
h=NPAR(1,3,1)
x1=1+sqrt(1-h*h/R*R)
x2=h*h
sag=(h*h)/(R*(1+sqrt(1-((h*h)/(R*R)))))
|
|
said this on 21 Mar 2008 10:18:09 AM PDT
Hi Ron,
You are correct in saying that the technique described here would be unnecessarily complex for an object in which the sag equation is known. However, you could imagine having a complicated CAD or Boolean object in which it would be difficult (if not impossible) to provide an analytic expression for the sag. For such cases, the technique described here would be the only way to proceed.
|
|
said this on 20 May 2008 5:11:42 AM PDT
hi ron nice article much helpful to my work.
|
Author)