CODE V Enewsletter

Element Edge Thickness with Mechanical Overages in CODE V: Analysis and Optimization

Did you know that you can analyze and constrain edge thicknesses in CODE V, including additional mechanical overage outside the lens’ optical clear aperture? Understanding edge dimensions with an overage can help you to design superior lenses that also meet fabrication constraints.

For analysis, the CODE V SpecBuilder window has many mechanical specifications. In the SpecBuilder, you can define overages (material outside of the clear aperture) to model mounting clearance for fabricated elements.

For the specifications that support edge overage, you’ll be able to specify it based on an Overage Scale Factor, along with an Overage Constant. Each specification that supports an overage has a figure in the upper-right corner that shows how the Overage Factor and Overage Constant are measured with respect to a surface’s maximum aperture.

In this case, we’ve set a specification to check each refracting element’s edge thickness at 2% larger than the clear apertures on the lens, with an additional 0.05mm overage constant. 

Optimization Constraints:

It is also possible to define similar overage controls on edge thickness (ET), aspect ratio (ATC/ATE), image clearance (IMC), and semi-diameter (SD) constraints for optimization. In the Insert/Edit Specific Constraint window, you can enable the overage controls by checking “Apply constraint as mechanical type” and then defining an Overage Scale Factor and/or Overage Constant. 

To define these constraints with mechanical factors, use the MEC command. For instance, to define a Semi-Diameter constraint on S1 of 50mm that accounts for these overage factors, the constraint command looks like: 

SD S1 MEC 1.02 0.05 = 50

Some constraints have an optional IDS keyword that can be used to define a dimension to the next physical surface and skip any indicator surfaces in between.  

New CODE V Macros Now Available

The following new CODE V macros are now available on our Customer Support Portal:

  • mtfvszoom.seq - A recently added macro that will plot MTF vs. zoom position for each field at a specified spatial frequency.
  • SPOvsZoom.seq - This macro computes the spot sizes for multiple zooms and overlays them on a single plot.
  • CODE V Lens Log: log.seq - A customer-developed macro that tracks lens design details. This macro saves a current lens, archives an AUT file associated with the current lens file (optional, see notes inside sequence), and includes time, date stamp, and the CODE V file version for easy backtracking through a design tree. Error function value is recorded, along with user notes.

2019 Student Design Competition Winners

Students from Columbia University, Rose-Hulman Institute of Technology, and the University of Rochester received awards for their entries in the 2019 Robert S. Hilbert Memorial Optical Design Competition. Learn more about the winning projects.

CODE V Support for Windows 7 to be Discontinued

In January 2020, Microsoft will stop supporting Windows 7. CODE V 11.3 and any 11.3 service releases will be the last versions to officially support Windows 7. CODE V releases after version 11.3 will not be tested on a Windows 7 operating system, and any reported Windows 7 issues will not be addressed.

Calendar of Events

For the latest event calendar, please go to our Events Page.