Free Trial Version
0
Wishlist
0 0
Cart

Contact Us
EN

Ansys Zemax OpticStudio: Automation with Python and ZOS-API

Control and optimize optical designs efficiently through API programming

Overview

eLearning Expert

Learn how to use the ZOS-API and Python to automate optical system setup, optimize designs, and accelerate analysis processes. This training is offered as a self-paced eLearning course.

Duration
0.5 days

Prerequisites
B1 level English, Programming knowledge in Python, Basic knowledge of Ansys Zemax

Software used
Ansys Zemax OpticStudio

Benefits
  • Implement automation of optical designs using Python and the ZOS-API
  • Develop custom scripts for design optimization and analysis
  • Accelerate workflows through API-driven processes in Zemax
  • Perform complex adjustments efficiently without manual GUI steps

Description

The ZOS-API (Zemax OpticStudio Application Programming Interface) opens up Ansys Zemax OpticStudio for automation with Python. In this training, you solve complex optical design tasks through scripting: you set up your development environment, work with Jupyter Notebook for Zemax, and control workflows directly from code. Practical examples show how to define design variables, set optimization targets, and run optimization routines automatically. You also automate ray tracing and analyses of non-sequential systems. In this course, you explore design automation using real-world tasks such as gradually extending a field of view or transferring optical power between lenses, tasks that are particularly well suited to automation because of their many repetitive steps. This significantly reduces development time and lets you adapt optical designs flexibly.

The training is designed for optical designers and developers with basic knowledge of optical design and Python who want to control optimization, analysis, and data export independently through scripting.

Test the first module for 30 days free of charge

Get a first impression and test the first eLearning module of this training course without any obligation. No costs, no notice period.

Detailed Agenda for This Training

Day 1

01 Introduction to ZOS-API and Python integration

  • Understand what an API is and how it connects Zemax with Python
  • Explore the interaction modes: extend the GUI, replace it, or connect external tools
  • Set up the Python development environment for working with the API
  • Classify the object hierarchy between the software and the system in the API
  • Access lens data, non-sequential components, and analyses through objects
  • Use documentation and sample code for further independent development
  • Demo: API overview in interactive mode
  • Exercise: Build a simple optical system using the API

02 Design optimization and automation with ZOS-API

  • Define variables for optical elements
  • Define target values using the optimization wizard
  • Add custom operands and adjust the optimization
  • Run local and global optimization routines
  • Automate design changes such as field-of-view extension and power transfer between lenses
  • Automate ray tracing and evaluations in non-sequential systems
  • Control Physical Optics Propagation analyses through the API
  • Export optimized designs as CAD files for further processing
  • Demo: Optimization and power transfer with the API
  • Exercise: Extend the image field of a Cooke triplet via script

Your Trainers

Ph.D. Steven Jones
Teamlead Optics & Photonics, CADFEM UK Ltd

Placement in the CADFEM Learning Pathway

slide placeholder for 18657

Book Training Now

Test the first module for 30 days free of charge

Get a first impression and test the first eLearning module of this training course without any obligation. No costs, no notice period.

Not the right offer or date?

Whether eLearning, classroom courses, live online training or customized workshops - together we identify the best option for you.

1 to 1 out of 1 matching results

Test the first module for 30 days free of charge

Get a first impression and test the first eLearning module of this training course without any obligation. No costs, no notice period.

Not the right offer or date?

Whether eLearning, classroom courses, live online training or customized workshops - together we identify the best option for you.

Do You Have Questions on the eLearning Course?

Can I test the eLearning offer without obligation?

To get a clear impression of our online learning format, we offer you a trial allowing you access to the starting module of an eLearning course of your choice. No costs, no cancellation period or anything similar. Moreover, with this free test access you can check all the technical requirements for a smooth learning process as well as ensuring version compatibility for any local workshop processing. You can easily request the free module from any eLearning course.

How much time should I allow for an eLearning course?

Each online course day comprises four eLearning modules. You should ideally allow 90 to 120 minutes of uninterrupted learning time for each module. This will allow you to acquire the knowledge provided by a module and to consolidate it through quiz questions and Ansys exercises. By dividing each module into micro learning units, you can also make good use of smaller time windows, such as on your commute.

For how long can I access the learning content?

Prerequisite for the use of the eLearning courses is the use of a personalized access to the CADFEM learning platform.

When purchasing an eLearning course, access to the learning platform is 365 days.

As a subscription user, access to the learning platform starts and ends with the start and end of the subscription.

With the purchase of a further learning product (learning subscription, training, eLearning), you will receive renewed access to all previously booked content for 365 days, starting from the start date of the new learning product.

Head of Engineering Services