Navigation: Scripting Reference Manual > Data Structures > T_LENS

 

T_LENS

 

Contact Us: fredsupport@photonengr.com

 

Description

Data structure for a Singlet lens.

 

Definition

Type T_LENS

thickness As Double
wavelength As Double
semiApe As Double
param1 As Double
param2 As Double
paramType As String
glassName As String
glassCatalog As String
immerseName As String
immerseCatalog As String

End Type

 

Members

thickness

Holds the center thickness of the lens.

 

wavelength

Holds the design wavelength of the lens.

 

semiApe

Holds the semi-aperture of the lens.

 

param1

Holds the first parameter of the lens (either the front radius, the front curvature, or the focal length).  The meaning depends on the value of 'ParamType'.

 

param2

Holds the second parameter of the lens (either the back radius, the back curvature, or the Bending Parameter).  The meaning depends on the value of 'ParamType'.

 

paramType

Defines the type of parameter you specify. Can be "Radii", "Curve", or "FocalBend". Other values cause errors.

 

glassName

Holds the name of the material used for the lens.

 

glassCatalog

Holds the name of the catalog with the lens material.

 

immerseName

Holds the name of the material used for the immersion.

 

immerseCatalog

Holds the name of the catalog with the immersion material. Most often set to "Current".

 

Remarks

To access the Advanced Settings of the Lens Aperture Specification use the [Get/Set]ElemEdge[Bevels/None/Rectangle/Tube] commands.

 

Used as Parameter in

AddLens

GetLens

InitLens

SetLens

Examples

Elements

 

 

 

 

 

 

Copyright © Photon Engineering, LLC