这是我的一小步,是我未来的一大步
学习1:利用宏创造一双胶合透镜
REM ex30401
REM This program shows how to create a doublet from scratch
REM set system parameters
SYSP 30, 0 #set lens unit as mm
SYSP 10, 0 #set system aperture as entrance pupil diameter
SYSP 11, 50 #set system aperture value as 50mm
SYSP 201, 3 #set total wavelength number as 3
SYSP 202, 1, 0.48613270 #set the 1st wavelength as
SYSP 202, 2, 0.58756180 #set the 2nd wavelength as
SYSP 202, 3, 0.65627250 #set the 3rd wavelength as
SYSP 203, 1, 1 #set the 1st wavelength weight as 1
SYSP 203, 2, 1 #set the 2nd wavelength weight as 1
SYSP 203, 3, 1 #set the 3rd wavelength weight as 1
SYSP 200, 2 #set the 2nd wavelength as the primary wavelength
SYSP 100, 0 #set the field type as angle
SYSP 101, 3 #set the total field number as 3
SYSP 102, 1, 0 #set field 1 as x=0 degree
SYSP 103, 1, 0 #set field 1 as y=0 deg