Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZOS Raytracer doesn't work with default install #66

Open
Jashcraf opened this issue May 18, 2023 · 6 comments
Open

ZOS Raytracer doesn't work with default install #66

Jashcraf opened this issue May 18, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@Jashcraf
Copy link
Owner

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
Copy link
Owner Author

image

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

@Jashcraf
Copy link
Owner Author

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
Copy link
Owner Author

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

@Jashcraf Jashcraf added the bug Something isn't working label May 18, 2023
@Jashcraf
Copy link
Owner Author

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

@Jashcraf
Copy link
Owner Author

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

@Jashcraf
Copy link
Owner Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant