Skip to main content

Macro for automatic conversion of a Standard OAP to Off-Axis Conic Freeform

  • January 15, 2026
  • 1 reply
  • 67 views

Forum|alt.badge.img+1

My colleague, Manan Kharwar, wrote a quick ZPL macro that automatically converts an off-axis parabola with a Standard surface type to the Off-Axis Conic Freeform surface type.  This works for circular apertures with X and Y decenters, and results in an Off-Axis Conic Freeform that is clocked radially outward.  

1 reply

Sean Turner
Fully Spectral
Forum|alt.badge.img+1
  • Fully Spectral
  • April 14, 2026

Hi ​@Erin.Elliott 

I just tried this macro out and it doesn’t seem to work as intended. 

Here is the system as loaded:

And here is the system after I ran the macro to convert the first mirror to off-axis conic freeform:

 

I haven’t gone through to troubleshoot yet, but wanted to let you know what I was seeing. 

Sean