Skip to main content

Why compensators boundaries are ignored when using tolerance scripts ?


I understand that the min and max values are ignored if user script is selected when doing tolerancing but I dont understand why Zemax could not take tham into account.

Is it something that is going to be solved in future or is there any good reason for this ?

I am wondering if I should go from python to code the tolerance runs because of this...

Thank you a lot for your answer.

 

Regards

 

Audrey

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

3 replies

Forum|alt.badge.img+2

Hi Audrey

The reason is that a user-script uses a merit function as a criterion. So the software doesn't modify your existing merit function.

When you use a 'built-in' criterion, the software creates a merit function and add some boundary operands at the top that are the compensator boundaries. You can have a look at this if you save one Monte Carlo file.

So when the criterion is a merit function, all boundaries are user-defined.

Sandrine


Hi Sandrine,

Looking at the Monte Carlo files I understand it adds the PMLT etc openrands so I can simply add them in my merit function file.

Thank you a lot for your help !

 

Audrey


Forum|alt.badge.img+2

No problem. Thank you.


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