Jashcraf / poke

Poke (pronounced poh-keh) is a Polarization Ray Tracing and Gaussian Beamlet module for Python
BSD 3-Clause "New" or "Revised" License
32 stars 6 forks source link

ZOS Raytracer doesn't work with default install #66

Open Jashcraf opened 1 year ago

Jashcraf commented 1 year ago
image

I usually install poke in edit mode pip install -e .. It turns out that when you install it in site-packages it can't find the Raytrace.dll

Jashcraf commented 1 year ago
image

Here's the problem line, maybe we can switch the path to poke/Raytrace.dll?

Jashcraf commented 1 year ago
image

During regular install it doesn't copy over the .dll, John said that he copied it over and it still didn't work. Can we replicate that?

Jashcraf commented 1 year ago

Copied over Raytrace.dll and the zosapi files - it works! Do we need the zosapi files?

image
Jashcraf commented 1 year ago
image

Worked just fine, so we need a way to specify the file path for RayTrace.dll

Jashcraf commented 1 year ago

Still not working on John's install, we suspect it's a disabled permission from .NET but haven't found the source

Jashcraf commented 1 year ago

So all of the machines I've tried to install Poke on have both an old and new Zemax version, with different directories after the Ansys acquisition. This might be the cause of the problem for folks that only have Ansys zemax!