We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.
Hello everyone! I am trying to perform a study of tolerances in an optical system in which my criterion is the RMS Spot Size. If possible, I would like the GEO radius for one of the fields not to exceed a certain value (with reference: vertex). In any case, it is not possible for me to execute the tolerancing because of a problem that I show you here: “Nominal Criterion cannot be computed”. Do you have any suggestion? Thank you!
Good day everyone, since ZPL is based on BASIC, I thought some of it generic functions could be used for converting variable types such as VAL(), INT() etc. Only $STR works, the other conversions are not recognized by ZPL. In particular, I want to define a single variable in my script (a particular detector number) and use it for both console output (with PRINT), non-sequential raytrace (with NSTR) and changing Detector Viewer settings (with MODIFYSETTINGS). I could define either a numerical variable and change it to string, but doing so outputs a floating point number (such as 5.000 for instance). Unfortunately, NSTR is having trouble with "h5.000” filter string. Then I thought I can define a string variable "5” and change it to numerical but no commands that I know seem to work. Is there a solution to my issue that would allow me to stay within ZPL script, not switching to ZOS-API?
Hi, I would like to use the ZRDPLAYBACK function, but it doesn't seem to work, I think it doesn't take filters string into account. I have similar problem iy I use a function like NSTR 1, 1, 0, 0, 1, 1, 1, 1, A$ ,”W1”,2 Marc.
I have a sequential mode design that contains a black box component. I converted the sequential mode design to non-sequential mode, but the black box is not converted. The non-sequential component editor box does not have the black box. What can I do to have the black box insert into the non-sequential component editor box?
Dear Zemax community, I am building upon your 'How to design a Gaussian to Top Hat beam shaper' tutorial. Instaed of TOP HAT, my goal is to create a Uuniform Radial Distribution at distance of 1M from the beam shaper. i.e my goal is to create a uniform distribution on a sagment from a rolled screen. But the ZPL calculates the desired distribuion up on a flat wall, so what should be the distribution up on a “Flat screen” , so it generates a unifrom radial on a rolled sceen ? Any suggestions are welcome and appreciated. Thank you very much, Tali
when i use ZPL output to a text file , The output always stops halfway, and Zemax prompts "cannot open text file". Does anyone know why? For example, I plan to output 40,000 lines of data, but it stops at 10,000.
Hello everyone, I was wondering if there was an existing operand in the Merit function editor that would give the minimal value of other operands in the merit function.To give an example, I am currently doing a Merit function which computes the encircled energies at different Field of views and at different wavelengths. I would like to optimize the minimal value of all these operands. I don’t really care what the other vaues are, I am just targetting on increasing the minimal value as much as possible. I checked in the operand list in the built-in Help from Zemax but didn’t find anything that seemed to work for my application. Thank you very much !
My codes (that were working with the 2024 version) do not work anymore with the 2025 release.This is the error I get: Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'ZemaxEngine.dll' or one of its dependencies. A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A).
Ansys Zemax OpticStudio 2025 R1.00に先日アップデートしたところ、スポットダイアグラムが保存できない現象が出ております。エラーメッセージの画像を添付いたします。改善方法をご教示いただけないでしょうか?以下がわかったことです。 この現象はファイル依存性はなく、ZOSを立ち上げた際の初期ファイル(LENS.zmx)でも起こっています。 この現象はPC再起動をしても、ソフトを再起動しても改善できませんでした。 この現象はスポットダイアグラムの画像保存時には起こりますが、3Dレイアウトの画像保存時には起こっていません。 以上、どうぞよろしくお願いいたします。
Hi there friends from the OpticStudio community, Today I have a question related to a general optics design problem. I’m trying to generate a system similar to what is presented in the following publication: https://opg.optica.org/ol/fulltext.cfm?uri=ol-42-6-1043&id=360492 In essence, the design problem consists of generating a high NA system which can be used to image molecules or atoms in a vacuum environment. The approach used in this case consists of using a Weierstrass type solid immersion lens in combination with two aspherical surfaces in order to generate a collimated beam for an on axis point object. Since the geometry of the Weierstrass geometry is fixed, the only degrees of freedom that I have are the parameters related to my two aspherical surfaces. In the following figure you can take a look to the system I have at the moment: In this case, I optimized this system in the afocal configuration with the merit function defined to have a well corrected planar wavefront. After t
In the IAS_ZernikeStandardCoefficients settings, there is a setting called : ReferenceOBDToVertex (not sure what OBD means) while in the GUI it is called: Reference OPD to vertex which makes more sense
Hello, Not quite sure this community is still active? I want to have a lens system which can form the image from infinity to a limited distance as show below. As you can see that the concave lens system will reduce the input field of view. How can I have a compact concave lens system which can form the image from infinity to a limited distance and keep the same field of view as the input. Can you have some suggestions or initial configuration for recommendation? Thank you ! BL
54 points
27 points
25 points
20 points
15 points
23105 points
14493 points
13087 points
11054 points
9856 points
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.