Skip to main content
Question

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

  • February 29, 2024
  • 0 replies
  • 98 views

yuan.chen
Zemax Staff
Forum|alt.badge.img+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)
    ?name=image.png