CODE V Enewsletter

April 2014

CODE V Quick Tip: Changing the View Lens readout coordinate system

When working with decentered systems, it can be useful to know the position of each surface with respect to a global reference. While you can check the global coordinates of each surface’s vertex by going to Display > List Lens Data > Global Coordinates (the GSC command), it is the View Lens option (VIE, or Display > View Lens menu) that helps to visualize the arrangement of the system and quickly identify any positioning mistakes.

In CODE V 10.6, the View Lens option displays a coordinate readout where your mouse cursor is hovering. By default, the coordinates of the readout are with respect to the global reference surface, which is surface 1 unless otherwise defined. This is the same coordinate system that’s used for listing global ray trace output (see below), and it is possible to change it to a different surface by checking the “Use Global Coordinates for Output” in the System Data > System Settings window, and changing the reference surface (GLO Sk command).  You’ll need to re-execute View Lens to recognize the changed coordinate system.

Global Coordinates
RSI F2 R2 Coordinates

When the “Global Coordinates for Output” feature is selected, then real ray trace data also lists the coordinates of ray intersections in global coordinates. When we check a ray trace with these settings, we can see that the R2 ray from field 2 and the coordinate readout from View Lens are roughly the same at 27.65mm in Y, and -141.95 in Z. (RES CV_LENS:THREEMIR; GLO S2; RSI R2 F2; VIE;GO)  All types of real ray trace (RSI and SIN) recognize the global setting.

rsi f2 r2
     F/2.5, 1x5 dg, 3 mirror anastigmat
     Position  1, Wavelength =   500.0 NM
 Global coordinates with respect to surface   2
            X           Y           Z         TANX        TANY       LENGTH      ANG INC     ANG REF OBJ      0.00000  -0.667E+12  -0.998E+13     0.00000     0.06684 STO      0.00000   163.59249  -150.60300     0.00000     0.06684     0.00000     0.00000     0.00000   2      0.00000   170.38062   -49.03771     0.00000     1.53615   101.79188    26.55651    26.55651   3      0.00000    27.65740  -141.94755     0.00000    -0.23670   170.30019    35.12680    35.12680   4      0.00000    -9.73913    16.04287     0.00000     0.02817   162.35600     7.46513     7.46513 IMG      0.00000   -13.21727  -107.44411     0.00000     0.02817   123.53595    14.87910                        OPD =   -0.024 Waves

The View Lens coordinate readout is not as precise as the ray trace listing, but the readout can still give you helpful information about the approximate coordinates of these intersections in your design.

Various types of coordinate readouts for surfaces and rays are also available in the 3D Viewing (V3D, or Display > 3D Viewing menu) option. These readouts must be enabled by going to the Tools > Preferences > Visualization window and then choosing the desired information in the Selection Information section. Once enabled, holding the left mouse button and hovering it over a surface or ray in the 3D Viewing window will display the chosen information:

selection information

CODE V Support for Windows XP To Be Discontinued in 2014

In April 2014, Microsoft stopped supporting Windows XP. Therefore, CODE V 10.6 is the last version to support Windows XP. CODE V 10.6 service releases will also support Windows XP. Beginning in 2014, CODE V releases beyond 10.6 will no longer support Windows XP. For more information about CODE V hardware and system requirements, see our CODE V Hardware and System Requirements page.  If you have any questions, please contact