How to Work with the Programmable Interface & Example

(Spherical Surface)

Abstract

Providing maximum versatility for your optical simulations is one of our most fundamental objectives.

In this document we show you how to program custom surfaces: that is, how to define a height function h(x, y) that describes a 3D surface with respect to the x, y coordinates which span the parametrization plane. These surfaces can then be used to configure the optical components in your system. Conical surfaces, being some of the most fundamental, are of course provided as a default template in VirtualLab; in this tutorial, however, we use a spherical surface as a simple programming example.

VirtualLab Fusion Configuration

  • VirtualLab Fusion VirtualLab Fusion

Are you interested in further reading?

Tutorial

Programming Radially & Azimuthally Polarized Sources

See how to create a radially and an azimuthally polarized source, experimenting in the process with the programming of light sources and the potential of the Combined Light Source feature.

Tutorial

Customizable Help for Programmable Elements

VirtualLab provides multiple tools to implement your custom sources, components, detectors etc. For documentation of such customized object the snippet help can be used.