Ready to create a custom lens in OpticStudio? Find the help you need here!
- 60 Topics
- 149 Replies
I am writing a user defined surface DLL, and want to know if I can speed up the DLL by storing specific precomputed values in FIXED_DATA4 or FIXED_DATA5 datasurf values. In my DLL I have several variables (a1, a2, a3 etc) which are affected by the curvature, conic constant, and one of my surface parameters (which will not vary during optimisation). The sag of the surface is a function in x and y, with different powers of x and y multiplied by these variables. eg. a1*x + a2*x*y + ... I may be misunderstanding how the DLL works, but I currently expect that each time it is called it will compute my variables (a1,a2 etc) and then calculate the sag, meaning that it is inefficiently repeating the same calculations many times, where I only need to compute the sag from the variables which are fixed during any raytracing and optimisation. Can I add code on initialisation to store the curvature, conic constant, and param to the data surf values as well as the corresponding variables a1 etc, a
I have the latest version of OpticStudio and trying to run an example https://optics.ansys.com/hc/en-us/articles/18254409091987When I open the.zprj file from step 6 of the manual, I get the following error (Image attached). What is wrong with it? How I can fix it?
Hi,I’m looking for “us_gskew.dll” shown to be used in “Using skew rays to model Gaussian beam propagation in OpticStudio” webinar.I download the attached zip files which contained *.c file. I wonder where can I find the complied file. is there a reasone why I couldn’t used an allready complied filed? (and instead have to complie it myself)Thank you,Amir
hello,I want to compile DLLhttps://support.zemax.com/hc/en-us/articles/1500005577602-How-to-compile-a-User-Defined-DLLbut, I couldn’t download and install window SDK 7.1.https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=8279There is a message that"this feature is disabled because required .net 4 framework is not installed"as the result ".NET Development" cannot be selected. when i proceed without selecting it, "Installation Failed" will be appeared. Have you ever solved a problem like this?
Hi, is there any multiwavelength grating optimization example available in your database? When I search for grating files, I found this example https://support.zemax.com/hc/en-us/articles/1500005578722-Simulating-diffraction-efficiency-of-surface-relief-grating-using-the-RCWA-method I am looking for step graded grating example optimized for two-wavelength simultaneously. Currently, I have a Trial License from Zemax. Here is some reference where people have tried this in the past. https://www.osapublishing.org/josaa/abstract.cfm?uri=josaa-23-1-193 Thanks in advance.
Why did Malwarebytes flag and quarantine RIHWSTY31.DLL as malware? See attached screensnap. Is it a valid DLL or did malware somehow get attached to OpticStudio? Need to know whether to keep in quarantine or release it. Thanks, Mike
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.