Surface slope error is considered by lens manufacturer as an essential specification for asphere production.
Unfortunately Zemax doesn't still allow directy tolerancing on slope error and it is suggested that user should write a macro to do it.
So, here is my question: Does somebody have such a macro that he/she would be so kind to share?
Best answer by Sandrine AuriolView original
By 'it is suggested to write a macro', I think this is a bit outdated. We have an operand called DSLP that reports different values for the slopes. So one easy way could be to have this operand in the merit function and then use a user script to report that value: How to get any optimization operand value in the tolerance report
Let us know if you need further help on this.
Thank you for this info.