Skip to main content
Solved

UDA mechanical semi diameter


Forum|alt.badge.img

Hi,

 

Is there a way to use UDA while also keeping the required mechanical diameter?

 

I have a lens like this:

And I want to increase the mechanical diameter (red) and then cut the lens like that(second image below):

  

 

 

right now by using the UDA I got this:

Hope it is clear enough.

 

Thanks,

Nadav

Best answer by Angel Morales

Hi Nadav,

Thanks for posting on the forums!

When you use a UDA to define an aperture, you lose the ability to define details like a mechanical semi-diameter or chip zone. So, the UDA will only be able to define out to the geometry you define, which is the mechanical semi-diameter, but it will treat it like a clear aperture.

What you could do is to define a dummy surface right before the lens, where the dummy surface has an aperture equal to the clear semi-diameter of the subsequent surface. This would “clip” out potential rays that would land in the non-clear semi diameter region, if that was your intention. This approach is really the only way, as UDA on a sequential surface will remove any mechanical semi-diameter definitions.

If you move to Non-Sequential Mode, though, you could also construct this geometry with something like a Boolean Native object. You could make the lens as normal, then overlap with an Extruded object that contains the UDA file or manually subtract the sides with something like a Rectangle Volume. You can read more about Boolean objects here: How to use the Boolean CAD, Boolean Native and Compound Lens objects, and the Combine Objects tool – Knowledgebase (zemax.com)

Let us know if you have any more questions -- thanks!

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

2 replies

Angel Morales
En-Lightened
Forum|alt.badge.img+1
  • En-Lightened
  • 203 replies
  • Answer
  • September 13, 2022

Hi Nadav,

Thanks for posting on the forums!

When you use a UDA to define an aperture, you lose the ability to define details like a mechanical semi-diameter or chip zone. So, the UDA will only be able to define out to the geometry you define, which is the mechanical semi-diameter, but it will treat it like a clear aperture.

What you could do is to define a dummy surface right before the lens, where the dummy surface has an aperture equal to the clear semi-diameter of the subsequent surface. This would “clip” out potential rays that would land in the non-clear semi diameter region, if that was your intention. This approach is really the only way, as UDA on a sequential surface will remove any mechanical semi-diameter definitions.

If you move to Non-Sequential Mode, though, you could also construct this geometry with something like a Boolean Native object. You could make the lens as normal, then overlap with an Extruded object that contains the UDA file or manually subtract the sides with something like a Rectangle Volume. You can read more about Boolean objects here: How to use the Boolean CAD, Boolean Native and Compound Lens objects, and the Combine Objects tool – Knowledgebase (zemax.com)

Let us know if you have any more questions -- thanks!


Forum|alt.badge.img
  • Author
  • Fully Spectral
  • 89 replies
  • September 14, 2022

Hi Angel,

 

Thanks for the answer.

 

Best regards,

Nadav


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