Got a question?
Can't find the answer you need? Ask your peers!
- 2,021 Topics
- 5,581 Replies
Convert CAD into UDA to simulate diffraction
Hi, I would like to step in here because I am trying to see diffraction from a prism plate, which in my design is imported as a CAD file. Firstly I have displayed coherent irradiance on a rectangular detector, but from my understanding I have thought I should make the CAD a user defined aperture as well. If this is right, how do I convert a CAD into a UDA to simulate diffraction?Thank you very much for your help,best,Giulia. [MOD split off into separate post thread.]
Having issues exporting CAD
Hello,I’m attempting to create a lenslet with a biconic front surface to match a grating mode. We need the CAD for this surface for some other software we are using, but I am unable to export the surface without OpticStudio crashing. The surface has admittedly steep curvature, but I don’t think it’s anything normal CAD software wouldn’t be able to produce, so I’m confused why I’m unable to export this surface? For reference, it seems that OpticStudio has issues with surface 2, rays are not included in the export, and usually it just crashes (closes to desktop) without producing any type of error window. Lenslet profile (Y,Z)Lenslet profile (X,Z)Lens Data Let me know what other information you might need.Thank you
How to generate vortex light through a phase screen by using grid sag
I want to generate vortex beams by simulating a vortex phase plate in the optical path like this.The effect I want to achieve is as shown in the first image Different topological loads will produce different imaging effectsby using grid sag , I wrote a dat file to create a special surface sag which is shown in the figure below. But when I looked at the simulation results using a physical propagation POP, it was very different from what I expected. I want to know how to simulate the Vortex phase plate and produce vortex beams correctly
Establishing a simulated image in sequential mode with a beamsplitter
Greetings! Forgive me for I am fairly new to this software, but I seem to be having trouble understanding how to use the image simulator. Below is what I have setup. I am trying to test a beam-splitter setup with the image simulator, but do not know how to get a clear image. Do you have any ideas?Lens DataMulti-Configuration EditorUndesired (blurred) image
Lens cannot be traced, tolerances may be too loose vs mtf
Hi all, During tolerancing of some lenses (using the mtf as criteria) I get the “Lens cannot be traced, tolerances may be too loose!”However, opening one of this the monte carlo files it seems like the mtf is bad but larger than zero. What can be the reason for this? Thanks,Nadav
Hi Zemax team, I've been studying the tolerancing, and I read the KA-01370 written by Mark, which is very helpful. I have a question about this paper : in the merit function editor of the Doublet_Starting_Point_with_TOLR.zmx, there are no TRAC operands ,whereas there is 'the default merit fuction:RMS spot radius centroid GQ 4 rings 6 arms'. can anybody help me with that?
switch Mode with ZOS_API or ZPL
Hi,is there any ZOS-API or ZPL Command wich is able to switch the mode from non-sequential to sequential? I would like to switch back from non-sequential mode to sequential mode while an interactice extension connection with Matlab is running. Another idea would be open a new file in sequential mode. Is it possible to open a new file while the Matlab connection is runnig? So I dont have to open a new file and connect again. Main Target is to keep the process automated via Matlab the whole time. I dont want to use my mouse to change the mode or connect again to Matlab. In an early version it was possible to make a macro with a record function, that records my mouse-klicks. In the end I just want to activate buttons, but i dont find the matching commands in ZOS-API and ZPL. Thanks, Lukas
Balancing diffraction limit performance and magnification in the system
How can the design be further optimized to handle constant magnification (4.5x) and field spot size ( < 2um) for tilted and non-tilted object configurations in a single design? Attached is a MWE. The system is not optimized for diffraction limit because of the acute surface bends in the front end optics thus resulting in larger SPHA through the propogation path. - The optics are restricted to mechanical layout as shown below. - How to define spot radius merit for each field individually in MFE?
How to Evaluate Zernike Values with Multiple-Configs in Tolerancing
Hello, I’d like to know how to output a set of Zernike values when running Tolerancing when I have two separate configurations?Setup: There are two wavefronts being evaluated in each configuration. Tolerancing is setup to run a User Tolerance Script. The TSC loads a merit function with criterion for both configurations. There is a setting under Tolerancing→ Criterion that allows for the configuration to be set to “All”, “1/2” and “2/2”. The TSC computes the standard Zernike terms within and reports them to an output TXT file.Issue: Running in any CFG mode produces the nominal system output and only one evaluation of the MIN/MAX tolerance. If running in “All” mode, the Zernike values for CFG 1 are reported, same as running in “1/2” mode. Running in “2/2” modes, the Zernike values expected for CFG 2 are reported. Question: Is there a trigger for the TSC or a setting such that Zernike values for both configs are output during a single tolerancing run? Given the TSC is called at each itera
Effect of NA on power output
Dear Sir/MadamJust to analyse the effect of NA on direct light coupling and power coming out form a optical fiber, I am directly coupling light from a LED to optical fiber of core dia 734 um and cladding dia 750 um, by keeping the separation between LED and fiber almost zero to have more power copling at coupling end of fiber. For setting the NA of fiber I am using below data…NA Core R.I. Cladding R.I.0.5 1.45 1.3610.4 1.45 1.39370.3 1.45 1.41860.2 1,45 1.437 My understading is, when I will increase the NA of fiber, power coming out from the fiber should increase! Because in that case less rays will leak to the cladding. But In zemax simulation I getting exactly reverse (increase in NA is leading to decrease in output power). Where I am doing wrong? I am attaching .ZAR file. Appreciate a comment! Thanks
Creating entrance port through rectangular volume in Non sequential
Working in non-sequential mode, I am trying to create an entrance port through a reflective rectangular volume using a cylinder volume. I have done this previously with a sphere and cylindrical volume but in this situation, the beam bounces off the rectangular volume no matter how the cylinder is postioned. This is a simplified version below of just the beam, rectangular volume and cylinder volume. Is there a way to make this work or is this not possible?
How does OpticStudio handle decentered Apertures when Tolerancing?
I would like to use the Tolerancing feature on a system with a mirror that has a decentered aperture, to simulate an off-axis parabolic mirror. When tolerancing I would like to tilt that mirror using TETX or TSTX. Will these operands tilt the mirror around the off-axis mirror vertex or around the local axis? Thank you for your time!
Feature Request: don't save ZOF/SAB extension in ZMX models for CAD files
ZOF and SAB files are used to speed up model loading when using large CAD (e.g. STEP) files. According to the user manual, the original STEP files should be shared with the model, and ZOS will automatically pick up the ZOF/SAB file, if present, to speed up loading. Makes sense. However, in the ZMX file, the ZOF / SAB file is referenced. For ZOF files, it doesn't hurt: if ZOF file is missing, ZOS will still use the STEP file. However, if the newer SAB file is used, and my colleague is not using one of the recent ZOS releases (common in corporate environment), their ZOS doesn't know what to do with the SAB extension and doesn't understand that it should read the STEP file instead. Since saving the filename in ZMX with this extension shouldn't, by design, have any impact on the loading speed, the proposal is to use the original file extension (STP in this case) always. It is a future-proof solution. Am I correct in this thinking, and can we have such feature please? P
projection of an off axis object onto a hemispherical surface in squential ray tracing
Hi all, We have an object with 13.6mm height , a convex spherical mirror with 60mm diameter and 45mm radius of curvature and a 2 feet diameter hemispherical surface (Radius of curvature 1 feet). Here I'm attaching the optical lay out of the system. The object has to be projected onto a 2 feet hemispherical surface using a convex spherical mirror. The mirror has to be placed at a height of 270mm from the optical axis of hemispherical surface.  How to simulate using sequential ray tracing in zemax?  Thanks & Regards, Kabeer
OSA Zernikes 20 years old, but still not in Zemax, yet....
OSA Zernikes have been used for ophthalmic activities now for many years, with values in microns, and the terms in a certain order. I emailed the help desk yet again about whether there was some easy way to even just get Zernike values in microns, in addition to wavelengths, even without the order. Not even that, but this could be added as another tab, perhaps, in the "Zernike Standard Coefficients" window. In fact, there may be several Zemax outputs where re-ordering and recalculations could be provided easily as additional sheets without changing the original output. Looking up the origins of the OSA Zernikes it looks as though it just happens to be exactly 20 years ago. Vision science and its applications. Feb 11-14, 2000 in Santa Fe. Thibos, Applegate, Schwiegerling, Webb, and others. Well done. Also in ANSI Z80.28 and other places.
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
ZOS-API / Force OpticStudio to re-read external files (SourceRay, CAD, ...)
When a SourceRay file is updated, the OpticStudio model will not automatically re-read this file and update. How do I force the NCE or the NCERow to re-read the file (without saving and re-opening the model, which takes a long time) -B
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.