mjhoptics / ray-optics

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

Fix Zemax / Code V file import from current working directory #125

Closed mpetroff closed 1 year ago

mpetroff commented 1 year ago

This PR fixes Zemax / Code V file import from current working directory.

Previously, trying to import these files from the current working directory would result in an index out of range error.