Use this space to learn more about your software!
Feature request: Fletch rays colors for forward and return path + Dynamic size on Fletch arrows relative to zoom ratio
Hello all!(These asks might be a feature request)Is there a way to define colors based on forward and return optical paths in a double-pass system? Also, how do I make the fletch arrows change shape dynamically with Zoom in a 3D / Shaded layout?Thanks
Automate client computer configuration for network installations
Hello,i need this: Automate client computer configuration for softkey and Red USB key network installations (Zemax legacy) – Knowledgebasefor the new Ansys Zemax OpticStudio 2023 R1.02. It isn’t saved in “C:\Program Files (x86)\Common Files\Aladdin Shared\HASP\hasplm.ini” anymore in the new version. Thanks
Modeling a shear plate
I have a fiber output which is collimated by a simple PCX lens. I check the beam collimation with a shear plate.I’d like to model this using POP but I’m not sure it’s possible? Seems like I would need non-sequential mode to account for the splitting. Or is it possible another way, maybe using the Huygens integral in NSQ?
Control two image surfaces in an off-axis system
Dear all,I’m trying to create a multi-configuration system with two set of fields. Each set of fields will focus onto an image surface, and therefore I’m having two image surfaces after finished the initial configuration. However, the two image surface is not ideal. I would like to control and combine them into one image surface. Is there any idea for doing that?Attached picture shows what exactly I’m trying to achieve. IMG1 and IMG2 are two image surfaces corresponds to different set of fields, and I wish to combine these two surfaces into one perfectly aligned image surface. Thanks for your time!Best wishesDaoming
Hi all,Is there a simple way to define a 2D parallelogram source?edit:succeed usuing DAT file, and then import as source file:file1 = open("paraleloid.DAT","w")Nx = 20A = 4B = 12H = 9theta = 30a = A/Nxh = H/(6*Nx)dx = h / np.tan(np.pi*theta/180)Ny = H/hNy = round(Ny)N = Ny*NxL0 = str(N) +" "+str(4)+"\n"file1.writelines(L0)for j in range(Ny): for i in range(Nx): L1 = str(round(i*a+j*dx,2))+" "+str(round(h*j,2))+" "+str(0) +" "+str(0) +" "+str(0) +" "+str(1)+" "+str(1)+"\n" file1.writelines(L1)file1.close() #to change file access modesThanks,Nadav
How to reset/adjust the window layout
OpticStudio uses a layout manager to determines how to position and resize the windows. This manager can sometimes go into a state where the window of an editor/analysis take a default undesirable shape. This thread idea has been suggested and co-written by Dusan Zadravec.
POP Arbitrary Input Beam
Dear Sir or Madam, I have a distorted wavefront from a physical beam I am using in the lab. I would like to use this measured beam profile (see below) and simulate what kind of aberrations this leads to in my downstream optics. Is this kind of simulation possible with Zemax Physical Optics Propagation tool? Thank you, George
Optimization by setting criterion as Contrast
Hello, i am using a standard version of Zemax OpticStudio 20.2. I am not able to access certain features like '' Chip zone '' and optimization by choosing '' contrast '' as the optimization critireon. Is it because i am using standard version. Can anybody confirm this.Thanks in advance.
[Webinar] Equation Driven Surfaces for Optical Parts Creation in OpticsBuilder [Q&A]
This thread is dedicated to the upcoming webinar: Equation Driven Surfaces for Optical Parts Creation in OpticsBuilder. Any questions received during the webinar will be responded to as a reply on this thread. Feel free to post your own questions! The speaker will be notified and will respond as long as the thread is still open.Be sure to subscribe to this thread if you want to see additional discussion regarding this webinar topic. The thread will be open to new replies for a limited time following the event. [The event has concluded] Webinar detailsDate: Thursday, November 24thTime: 6:00 - 6:45 AM PDT | 11:00 - 11:45 AM PDTPresenter: Mojtaba Falahati, Senior Application EngineerAbstract:The ability to save the parts into PDM systems now includes the option to recall the equations used to generate the surfaces. Legacy import of geometry into OpticsBuilder uses splines/NURBS sampling based on the equations provided by OpticStudio which offers speed and accuracy high enough for most app
Course: "Design Imaging Systems in Visual Range using ZEMAX OpticStudio".
Course: "Design Imaging Systems in Visual Range using ZEMAX-OpticStudio". The course can be learned in the period of the coronavirus outbreak. Dear All, I provide the course "Design Imaging Systems in Visual Range using ZEMAX-OpticStudio". The course is based on the reading of specific chapters from different references and practical lessons completed under my instructions. You are welcome to visit my website to see the syllabus of the course. You will find there also the agreement that explains how the course is provided. The course can be learned at any convenient time for you. Sincerely, Mark Gokhler, Ph.D. My website: http://www.mark-electro-optics.com.
License key not working after reinstalling operating system
Hi everyone,Recently I have reinstalled my operative system (Windows 11) and since then i couldn’t open OpticStudio because when it requests me the license key, it says that has been already used.I used that key months ago, before reinstalling the operative system and now i don’t know how what to do (the license is still valid).I have an Academic License, i study in University of Bologna (UniBo).Does anyone know how to solve this issue?
sagittal and tangential MTF values are far different
Hi everyone,Do you have an idea on why the sagittal and tangential MTF values are far by this much as shown below?Some details about the System: Off-axis mirror set, curved mirrors involved.Red arrow: sagittalYellow arrow: tangentialLooking forward
Source object relative to CAD object
Hi I have loaded a CAD file into OpticStudio and exploded it to get the individual objects. I then created a source tube, which I wanted to place at the same position as one of the exploded components. The attached files show the Non-Sequential Editor with the components and my source tube, which I want to be in the same place as object 11. I had to give it specific X, Y and Z co-ordinates so that it would be in the same place as object 11, but object 11's co-ordinates are just -1000, -1000 relative to the original CAD assembly (object 1). When I gave the source tube these co-ordinates (also relative to object 1) it appeared in a different position. As you can see, I had to apply different values to X, Y and Z to get it in the same place. Can anyone explain why this is? Thanks in advance.
Field type of spatial variant PSF
Hello. I am trying to extract spatial variant PSF(svPSF) from my lens system. I have a questioin about svPSF and feild type of the opticstudio. The svPSF are caused by the positsion of the light source which is not on the optic axis. The posistion of the light sourced is necessary to me. I want to know the relation between position of the light source and the values of the field. I set “real image height” as the field type, but another field type can be good if the posistion of the light source can be easily estimated with it. Thank you.
ZOS-API equivalents for ZPL numeric function SURC(A$) and MAXF()
The following code can be used as (MATLAB) ZOS-API equivalents for ZPL numeric function SURC and MAXF:   surf=0; while(surf<TheSystem.LDE.NumberOfSurfaces) if(TheSystem.LDE.GetSurfaceAt(surf).Comment=="TEST") surc=surf; break end surf=surf+1; end max_field = -1E9; for i = 1:TheSystem.SystemData.Fields.NumberOfFields X_field= TheSystem.SystemData.Fields.GetField(i).X; Y_field= TheSystem.SystemData.Fields.GetField(i).Y; radial_field= sqrt(X_field^2+Y_field^2); if (radial_field> max_field) max_field = radial_field; max_field_num=i; end end fprintf('%d %f\n',max_field_num,max_field);
Including a custom (asymmetric) angle dependent interface
For our application, we are simulating a camera that has pixels with an asymmetric angular response. We are wondering the best way to include it and calculate the PSF of the system.This could be done with a flat, zero-thickness layer near the image plane The angular response means it changes the amplitude of the ray depending on the position and the incidence angle (so it depends on Hx, Hy, Px and Py ) The angular response is custom and not radially symmetric.We tried to include it has a custom coating, but since the angular response is not symmetric with respect to the optical axis, it does not work great. Is there a way to include it using OpticsStudio Standard?Would it be possible to implement it with DLLs? Or is there another “programming” option? Many thanks
Feature Request: Custom Color Maps
Zemax allows for three colormaps, Magma, Viridis, and Spectrum. I would like to be able to import a custom color map into Zemax. There are many good reasons for different color maps and some very good reasons to avoid certain color maps and different color maps are better suited to 3D surfaces instead of 2D surfaces for example. I will relinquish that discussion to the current literature, in particular, the discussion from Kenneth Moreland and examples from ColorBrewer.An alternative to custom color maps would be more color maps along the lines presented in ColorBrewer, Sequential; Diverging; Qualitative; with groups or filters to select for colorblind safe, print friendly, and photocopy safe. Perhaps an import feature could be created for five custom color maps that accepts the color codes from ColorBrewer for between 3 and 12 color classes.Additionally, I would prefer being able to select the color map in the analysis window instead of as a global setting.
How to model slowly diverging laser beam propagation in SQ mode?
Hi I want to model a Gaussian beam source in SQ mode. The laser specs are, - wavelength: 532 nm - 2theta: 0.7 mrad (FW)(1/e^2) - 2w0: 1 mm (FW)(1/e^2) - w0 position: laser head output position - M2 < 1.1 In this situation, the beam waist cannot be a point source. Then, what should I set(aperture type, object position, etc.. ) for the modeling in the SQ mode? Thanks in advance
I'd like to suggest a small feature request.  When looking at a materials catalog (in sequential mode) I'd like to be anywhere on the line of that surface in the LDE and not have to be clicking on the actual material column. While the material catalog is open I'd like to be able to click on another line or use the keyboard arrows to move to other surfaces to see their properties.  Right now we have to close the materials catalog, change surface and open the catalog again.
TM-25 for illumination
Hi - Anyone know if there are any tools around that would enable looking at TM-25 source files in Zemax? (Searching the help or Knowledge base in Zemax turns up nothing, so I'm guessing this is not a feature yet). Here is what TM25 files are about: https://github.com/JuliusMuschaweck/TM25RaySetTools Best regards, John
about diffraction effect
Hi, all. I tried to simulate the effect of a beam propagating through a plexiglass with a hole. I tried two configurations. The first one is the beam goes through the plexiglass with a hole directly, and I observe the intensity distribution at a certain distance after the plexiglass. The second is the beam goes through the plexiglass with the hole first, then it goes forward and is reflected by a retroreflector, I observe the effect of the reflected intensity distribution at the place where the source is located. The origional files are attached. For the first case, I can't see the effect of the hole at all, wherever the detector and the plexiglass are placed and however much the hole is , while for the second case the effect of the hole is that obvious. I just can't figure out why it is like that. Someone could give me some tipps? Thank you in advance! All the best,
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.