Skip to main content
Solved

Modeling a Diffractive lens in a sequential mode with a DLL


samia

Hello,

I would like to know how can I create a diffractive lens in a sequential mode using a dll ? 

 

Thank you.

 

Best answer by Sandrine Auriol

Some good references are: https://support.zemax.com/hc/en-us/articles/1500005578162-Custom-DLLs-in-OpticStudio-An-overview-of-user-defined-surfaces-objects-and-other-DLL-types

And check this sample file: "{Zemax}\DLL\Surfaces\us_grate.c"

We also had an “Ask an engineer” event about DLLs lately. The recording is available in the post: 

 

View original
Did this topic help you find an answer to your question?

2 replies

David.Nguyen
Luminary
Forum|alt.badge.img+2

Hi Samia,

 

This is quite a general question. I’d recommend reading about the DLL knowledgebase articles here to get familiar with this feature. Then, you can browse the sample files in you {Documents}\Zemax\DLL\Surfaces. If you have an equation which describes how the rays bend upon interacting with your custom surface, it should be possible.

Take care,

 

David


Forum|alt.badge.img+2

Some good references are: https://support.zemax.com/hc/en-us/articles/1500005578162-Custom-DLLs-in-OpticStudio-An-overview-of-user-defined-surfaces-objects-and-other-DLL-types

And check this sample file: "{Zemax}\DLL\Surfaces\us_grate.c"

We also had an “Ask an engineer” event about DLLs lately. The recording is available in the post: 

 


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