I am a new Zemax user and I need to simulate the reflection onto a 2-material diffraction grating. See an example of the structure in attached file.
I have read the several topics on the knowledge base and I know that " the diffraction angle depends only on the period of the repetitive structure [...] and not on the shape of the structure within that particular period".
Then I imagine the best way to do my project is to design a 2D diffractive surface (Period over X axis different than period over Y axis).
Is there another way than making an user-defined DLL to do it ?
Can I code this surface on Zemax easily ?
Also, because the grating is 2-material, how to reproduce this fact with a surface or with a custom diffractive object ?
I have already tried to create the grating pattern by combining several user-defined objects but it ends to be messy and not convenient.
In case, I would be pleased if you would have some advices to give about how to treat this kind of gratings on Zemax.
Thank you by advance for your time

Best answer by Sandrine Auriol
View original