Use this space to learn more about your software!
How to correctly set a diagonal or non-X, Y fields with maximum field value
Sometimes we want to set a diagonal field point with same radial amount same as those X or Y field points. However, if it's not correctly set up, we may find the optical performance for these diagonal points are slightly different compared to those X or Y field points. Here let's look at an example how to correctly set up a diagonal field point. First, we open the built-in file \Documents\Zemax\Samples\Sequential\Objectives\Wide angle lens 100 degree field.zmx This system has a maximum field angle = 50 degrees. Let's say we want to set a diagonal field (angle_x, angle_y), where the angle_x = angle_y and we need to find the value of angle_x/y. Based on Help file, we know the Field Angle is corresponded to direction cosines LMN in following equations. If we want to build a diagonal field with same radial field amount as the field point (50, 0) or (50, 0), we need to make sure they have same value of L^2 + M^2. Therefore, we know the L and M for the diagonal value can calculate
How can I call a ZPL macro from ZOS API?
Calling a ZPL macro from ZOS-API is not supported. However a workaround exists. To run a macro, you can save the macro as a ZPLM user-defined macro, for example ZPL01.ZPL. If that operand is added in the merit function, when the merit function is updated, the macro will be run.
Showing file type
I notice when I right click the OS icon on the task bar the list of recent files shows zar files with different icons.  This is really useful.  I would also like to have a way to distinguish NS files from sequential or mixed mode.  Nowadays I tend to have "NS" in the title to help with this but it would be nice to have 3 icon types: sequential/mixed mode, NS, and zar. The same would also apply to Windows explorer, like the way we have old Z13 session files and zmx files with different icons
Mouse cursor gets in the way
One of my biggest annoyances with OpticStudio is when I'm typing in a drop down menu and my mouse cursor is too close and suddenly it selects an option from the menu. For example, clicking on the type column in the merit function editor, I start to type an operand, but because my mouse cursor was too close to the drop down box, it now hovers over some item in the list and any keyboard input has stopped. Please remove the functionality of preventing further keyboard input when the mouse cursor hovers over something in a drop down menu.
Coating EO_MGF2(550nm) on surface 1 not defined in coating file
Hello Everyone,  While trying to use a doublet from stock lenses from any manufacturer specially from EdmundOptics, I am receiving the error message "Coating EO_MGF2(550nm) on surface 1 not defined in coating file". Can someone help me out with this issue, I tried all the possible solutions from internet but couldn't manage to solve this issue.  Your help is highly appreciated.  Best regards
How do I make a cylindrical detector?
Although there is no a “Cylindrical Detector” object in Non-Sequential, there are several workarounds to make it, since most objects may act like a detector (To make any objects a detector, choose "Object Is A Detector" from the Type tab of the Object Properties dialog box). Once the object is set to be a detector, the intensity detected will be displayed on the Shaded Model display, and on the text listing tab of the Detector Viewer window. There is a Cylinder Pipe object in OpticStudio but it cannot be used as a detector because the curves of the object are modelled exactly within OS—the curves are not approximated by facets. Only objects which are faceted can be used as detectors. But there are some alternative object types that all have a faceted representation and so would work as a detector: You could create a cylinder pipe object and then export it as a STL file and use this new object as your detector. (See Export CAD files: The File Tab > Export Group > CAD
Changing Reflectivity Factor in Non-Sequential Object's Properties When Using MIRROR
Hi, I have a question for a CAD reflector object being used with MIRROR material property. How do I change the reflection efficiency of the mirror so that each ray bounce takes into account this efficiency and I get a more realistic result? I am aware of the Coating selection in the object but that applies some kind of spectrum which seems like a hassle to dig into as there are many files, I'd ideally like to just enter 0.9 for 90% efficiency or change it based on my measurements, dealing with monochrome light. The reflector will be made out of aluminum and will be polished and then either clear coat anodized or nickeless chrome plated to boost reflection. Thank you
Tolerance a distance between two optical components
Hello, I have two optical elements which the distance between both need to be really precise. How can I do a tolerance analysis over that distance? Should I make consider one object the reference and do the tolerance analysis for that particular object? Thank you, Narciso
Unexpected Performance Degradation Using Variable Aspherics in Optimization
Hello! We have a question about how we frequently get unexpected results in RMS spot radius when we optimize using variable aspherics. The question is best posed using an example: We can optimize a two-doublet system with (light through a doublet, to a 45-deg. fold mirror, through another doublet, to the image) for one wavelength and achieve an RMS spot radius on the order of 11 microns. This is done using the optimization wizard set to image quality: SPOT and a merit function which outlines all of our important constraints, and this is only for STANDARD surfaces. We expected that, when choosing Find Best Asphere or setting aspheres to variable (V), we could optimize and improve performance; this assumption was incorrect, since repeatedly (it could be every single time, actually), our performance gets worse by multiples of 6, 10, or larger, in terms of RMS spot radius.  What is going on here? We were under the impression that by allowing OpticsStudio the option of adding an asph
Geometric Bitmap Image Analysis automatically updates
I am doing an image simulation using the Geometric Bitmap Analysis. I am saving the results to a .bmp file. I am doing several image simulations by changing a certain parameter in my multi-config file and then re-doing the simulation. The problem is the Geometric Bitmap window keeps updating as soon as I change a parameter. I don't want it to start going until I click OK, so I can make sure I have all the settings I want. Is there a way to stop the window from automatically updating? I have "Auto Apply" unchecked in the window settings. Under project preferences, under general, I have "Auto Apply" unchecked. Still though, when I change a parameter in my multi-config file, the geometric bitmap is off an running with the wrong settings, causing me to terminate the window each time.
How to model fiber optic bundle
I need to model a light guide made of 9000, 50um fibers arranged in a circle. What is the best way to model this? Is there a pattern feature? Or is my best bet to model the geometry in 3d cad and import it? Assigning the material properties for all the fibers seems like a nightmare. Any advice would be greatly appreciated.
ZOS-API - POP Analysis - Display Tab - MODIFYSETTINGS - parameters
I'm looking for a description how to access the parameters in the display tab of a POP Analysis in a ZOS Application. In particular, I want to save the output beam on all surfaces to a specific file. What are the parameters which need to be set in the cfg file via the MODIFYSETTINGS command to accomplish that? In the help pdf file only descriptions for the parameters in the other 3 tabs of the POP analysis window are given. Or is this not possible? Thanks, Dirk
How do I vary the particle density in volume physics?
I am running fluorescence simulations on a liquid test sample, with a custom detector object. I am currently modelling fluorescence using Volume Physics Tab-> Phosphors and Fluorescence Radio Button -> Standard model (No Mie Scattering). I need to vary the particle density over a range, and save the power at the detector as a function of the particle density. How could I vary the particle density as well as uncheck mie scattering using a macro? Also, is there a way to visualize the detector data for a custom object made to be a detector? Thanks, Aditi
Tolerancing - Inverse Sensitivy
Hello, When using Inverse Sensitivity to do a tolerance analysis of several parameters, Zemax runs each toleranced parameter at a time so it will the tolerances when: Criterion (parameter +/ tolerance) > Limit Is there any way of having to do the tolerance analysis taking into account all the parameters at the same time, i.e., Criterion (all the parameters +/ tolerance) > Limit ? Thank you, Narciso
Using the output of one model as a source for another
Is it possible to use the output of one OpticStudio (non0sequential) as a source for another?  I have a model with many Source Diodes and would like to use that as the source to another model(s).  That way if I make a change to the original Source Diode model it would be updated in any model that uses it as a source.  Thanks
Overlapping Detectors while collecting all the light
I have a problem where I have an LED and multiple flat detectors placed at the same distance, so the detectors all overlap but have different sizes, like 1cm^2, 5cm^2 etc. Because the detectors do not have ABSORB, they pass the light through so all the detectors should see the light, but if they are placed at the same location, ie same Z distance, then they only detect light as if they are blocking each other. The issue can be resolved by spacing them out apart by 0.001mm but I'm wondering if that's a bug.
How Can I Add a Detector Cylinder?
I am trying to simulate an LED that shines into a cylinder tube and I want to measure how much power is deposited into the cylinder tube walls by adding a detector cylinder but such a detector doesn't exist. I've been using Detector Viewer on Detector Surface to check what the power in watts is, but even though I select checkbox "Object Is A Detector" in Object properties, it doesn't show up in Detector Viewer. I guess it makes sense because how do you show a map of the detector cylinder, but is there another way to measure the power going through the cylinder detector walls?
Error in Target ___ Cannot Launch Ray
When I open my merit function, I will sometimes get an error that pops up over and over again that says "Error in Target ___ Cannot Launch Ray". The blank is a number which is a line in my merit function where apparently there is a ray failure of some kind. This requires me to close out a lot of windows, often leading to Opticstudio crashing. It's strange because it is a well behaved lens, and I have gone through weeks of optimization to close in on a final solution and am basically finished, when all of a sudden I get ray errors causing a crash. It happens when I use RMS wavefront as my criteria. When I switch to Contrast, I do not get the errors, however I do not want to use contrast because RMS wavefront ends up giving me a better solution.  Is there a way to ignore the errors so the pop ups don't happen? I could not find anything in the tabs that did this. Or is there a way to further diagnose the errors? When it crashes, I am obviously unable to see what went wrong
Fiber Coupling Modeling - Consider material of receiving fiber
In some case, user may want to simulate fiber coupling efficiency and consider the effect of the material inside the receiving fiber (usually by assign material at Image Surface). And, there are two capabilities can be used for Single Mode Fiber Coupling - FICL and POP. Which one should be used in this situation? Or both?
Tolerancing and Reference Objects in Non-Sequential Mode
If tolerance the position of an non-sequential object that is the reference object for a second object, is the position of both objects changed together in the tolerancing analysis? I'm asking because I need to tolerance the position of a module that consists of several objects, and I'm not sure how to do it in Non-Sequential Mode
Physical Optis Propagation vs Paraxial Gaussian Beam Data vs Skew Gaussian Beam Data
Can anyone help to explain what is the difference between these 3 calculation method? My laser has several tilted cylindrical lens and windows. I use these 3 methods to calculate the beam size of my laser. And these 3 method give me different result (difference quite big). one more thing I notice that paraxial Gaussian beam data always give wrong result on Y direction (10 time bigger then reasonable value). Can anyone tell me which on I should trust?
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.