Quickstart

Once you have installed Optiland, you can start designing and analyzing optical systems. Here is a simple example which loads and visualizes a Cooke Triplet lens system.

Optiland “Hello, World”

from optiland.samples.objectives import CookeTriplet

lens = CookeTriplet()
lens.draw3D()
Cooke Triplet Lens System

This shows the resulting 3D visualization of the Cooke triplet lens system.

Running the GUI

Optiland includes a Graphical User Interface (GUI) for interactive design and analysis. Once the package is installed, you can launch the application from any terminal or console on your system by simply running the command:

optiland

This will start the main application window. For development or troubleshooting, you can also run the GUI module directly using Python’s -m flag:

python -m optiland_gui.run_gui

For a more detailed guide on using the GUI, including an overview of its components and basic operations, please see the Optiland GUI Quickstart.

Optiland for Beginners

This script is the first of the learning guide series. It introduces the basic concepts of Optiland and demonstrates how to create a simple lens system.