mjhoptics / ray-optics

geometric ray tracing for optical systems
BSD 3-Clause "New" or "Revised" License
263 stars 54 forks source link

Handle import of Zemax constant-index model glass #126

Closed mpetroff closed 1 year ago

mpetroff commented 1 year ago

Zemax treats Vd=0 as constant index (although I don't think this is explicitly documented anywhere). This PR adds support for this special case for ZMX import.