I am gaining a lot of functionality from using direct NSC raytraces via the ZOSAPI from python. However, this method appears to be limited to only the 12 available system wavelengths.
The limiting interface seems to be ZOSAPI.Tools.RayTrace.IRayTraceNSCData, which takes a wavelength index (referring to a system wavelength) as an input. I can in principle define 12 system wavelengths, do a trace, clear the wavelengths, assing 12 new ones, do a trace, aso -- and append the results to a complete result for higher spectral sampling. However, this appears mightly clumsy.
Knowing that NSC source traces can cover non-system wavelengths (if the source is setup respectively): is there a way to do the equivalent in direct raytraces (i.e. detached from NSC source objects)? Or if not, could this capability be added? It would give a lot more freedom to custom spectral raytraces via the ZOSAPI.
--S
Best answer by Allie
View original