The combination of an optical ray-tracing program with a solid modeling C.A.D. (computer-aided-design) system creates a very flexible tool for optical system analysis and evaluation. The program uses the CAD data-structure and user-friendly menus for creation, manipulation and visualization of the optical system. Furthermore, it is capable of dealing with problems which are impossible or difficult to handle by existing optical design programs, such as calculations of three-dimensional sensitivities, multiple reflections, multiple-surface apertures, specular stray radiation, image rotation and complex-prism design. It can also be used as an efficient tool for error-budget and error-analysis, and can be fully interfaced with a finite-elements analysis program, thus enabling the evaluation of the effects of mechanical or thermal loads on the optical performance.