A new program for stray light analysis and optomechanical system modeling will be written. This will be the first program to automatically combine surface models from a mechanical computer- aided-design program with lens design data from a lens design program into a fully detailed optomechanical system model. The user will be able to quickly generate three-dimensional shaded images to visualize and edit the model. The analysis results can be displayed superimposed on the three-dimensional shaded graphics by overlaying them on the surfaces. This program will be written by making extensive use of third-party software libraries and software development tools. The analysis part of the program has already been written by the Principal Investigator. A new module for importing data and for three-dimensional shaded rendering of the model will be written under this contract. This program will allow optical systems to be analyzed for stray light far more efficiently, and will allow more design alternatives to be considered during the development of a system. The modular approach to the construction of the program in Phase I will allow the addition of other analysis and design programs in Phases II and III such as automatic baffle optimization, thermal analysis, of stress analysis.Potential commercial applications include automatic stray light analysis, automatic optimization of baffle designs, optical analysis of non-imaging systems such as illumination systems and those involving light pipes, and combined thermal, structural, and optical analysis of a system model.CAD; simulation; modeling; stray light; radiation transfer; visualizationPhase 2 conversion