Causes of message "Lens cannot be traced, tolerances may be too loose"

  • 29 February 2024
  • 0 replies

Userlevel 5
Badge +3

Here I can think of two possibilities:

  1. The tolerance is too loose, and we can consider setting tighter ones.
  2.  The option "Optimize All (DLS)" is selected, OpticStudio will execute one cycle of the Orthogonal Decent algorithm then execute the Damped Least Squares algorithm. And this one cycle of optimization could lead to the ray tracing failure. To avoid the first OD optimization, it could be done by loading the merit function in user script and optimize. 
    The commands are LOADMERIT and OPTIMIZE n. (mentioned in The Tolerance Tab » Tolerancing Overview » Using Tolerance Scripts » The Tolerance Script Commands)

0 replies

Be the first to reply!