Use this space to learn more about your software!
Coordinate breaks cannot be controlled my multi-config operands
I am using the built-in sample "Laikin 100 Degree WFOV" sequential design to pathfind Zemax capabilities. I am trying to simultaneously model the effects of mechanical sag and thermal expansion and contraction on the optical system as a whole. I have already successfully accomplished the latter using a Multi-Config setup I obtained by pressing the "Make Thermal" button and editing the result to suit my scenarios. If I then tilt all surfaces besides Object and Image by the same amount (say, 0.1 degrees about X), according to the grid distortion output, the boresight ray still impinges on (0, 0) on the image plane, which makes no sense to me. That boresight ray ought to be hitting the image plane at an offset of around EFL * tan(0.1 degrees) from (0, 0). Something I have read in the Knowledgebase suggested that I should try this stunt in global coordinates to get the expected result. However, when I try to convert from Local to Global Coordinates, I get this error:
ZPL: Error in ModifySettings
I am creating a macro to change parameters in the analysis tools but when I run the code I get the following error: ERROR in MODIFYSETTINGS: Incorrect version number in settings file.   Prior to running the macro I saved the .cfg in the lens file directory.  I have deleted all the .CFG files in the global and local (lens) directories but am still getting this error.  How do I clear the Modifiy settings and update to the correct version number? On my computer I have Optic Studio 19.8 and 17.5 installed.  Would it be useful to uninstall 17.5?
Slow optimization after update to 20.1
Hi, I have noticed that my simulations take longer after the update to version 20.1 of optics studio. Can any body confirm this? My simulations take about a factor of 2 to 3 times longer. The optimization function is much slower then before. I run plenty of python scripts via the interactive extension and simulation that to 3 to 4 hours to complete now take 8 to 10  hours. This is severely slowing down my work. What could be the issue? Regards, Rinze
for ZERN insufficient RAM problem
Dear All, When I want to use the ZERN command in Merit function, I constantly get the "insufficient ram" error. It is stated in the ZEMAX help file that "you can get this error" but no solution is given. I need this function to do the optimization. How can I get rid of the error? I cleaned the TEMP folder, reset the computer, but this error constantly comes up. Thanks in advance.
Optimization alternative to RELI for relative illumination.
I notice that adding RELI to my merit functions significantly slows down the optimization speed. Is there an alternative for relative illumination optimization that is more computationally efficient? My application is general imaging lens design/optimization.  Other than optimization speed, RELI seems to work fine, this is just a minor gripe that I realize might have a clever solution.  Thanks!
RMS spot size relative to vertex
Hi, My system is afocal, currently with a single center field. Due to angle change of one of the elements in the optical path, the spot is shifted from (0,0) in the spot diagram. I'm trying to create a graph of this shift as a function of the element angle, but can't seem to find a suitable merit operand. Is there an operand similar to RSCE/RSCH with respect to the vertex? Thanks in advance, ILAN
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.
NSC - CAD files loading into memory very slowly
In NSC mode, when I use an imported CAD (*.stp for example) file and execute a ray trace command within a macro, it takes a very long time (during which the RAM usage slowly increases) before the ray tracing actually begins.  I can track this behavior by observing the CPU and Memory Usage in Windows Task Manager.  The memory "ramp up" may occur over a period of 10 minutes or more, and then at some point the ray trace occurs noted by the CPU jumping up to 100% for a short while.  I have noticed that on a different computer (same Window, same ver of OS, same files involved), this RAM ramp up is significantly shorter but not insignificant.   The step file sizes involved are say 20 MB.  The correspond ZOF file might be 80 MB. Any quick suggestions as to what is going on here or hints that might help alleviate? Thank you.
Non-Sequential Optimization: Set Boundary Values
Hello, this might be a stupid question, but I did not find a solution myself. I am designing an optical system for my bachelor's thesis and want to optimize it. Is there any possibilty to easily set boundary values in non-sequential mode like there is in sequential mode? Or to set a start/stop value like when doing a Universal Plot? At the moment, almost all of my optimization attemts lead to impossible settings, like one lens inside the other or the detector placed right after the source. I feel like there must be something I just have overseen. Thanks in Advance!
Modeling a droplet between two silicon structures- issues with reflectance in Si
Hi! I am trying to model fluid that is sandwiched by two different silicon structures to gauge optical throughput. Since material data for Silicon in visible wavelength regime is not provided in the default Optic Studio, I am modeling it using a refractive index fit. During the same, I am not sure how to put in the transmission data for an accurate model. As I understand, when light is incident on silicon, there is non-zero reflectivity and the rest of the light is absorbed within Silicon (600 micron substrate). I don't know how to accurately model the transmission or the silicon material to show me what reflectivity would I expect. Ideally, I expect about 5% reflectivity, as I am deducing from my experiments, but I need a prediction using Zemax. Any suggestions will be helpful! Thank you! ~Aditi
More generic glass substitution template
I like using the glass substitution template but I wish there was a way to make it more generic. For example, I do lens designs that require glasses to transmit over certain bands or that have a minimum transmission. It would be great if the glass substitution template had a way to specify transmission at a particular wavelength or wavelengths to limit which glasses will be used during optimization.
Suggestion: Make F1 bring up context dependent Help
Even after many years, I still refer to Help entries for details on Surface, Object, and Operand arguments. It would make life a lot easier if I could just select a Surface Type, Object Type, or Operand Type in the first column of the Lens Data, Non-sequential Component, or Merit Function editor and have a Help window open to the selected type. It would also be nice to have the option of making the help window always-on-top so it can be referred to while working in the editor. I think this would be especially helpful to new users. Kind regards, David
How to rotate multiple objects in non-sequential mode
Dear all, Is there a simple way to rotate multiple (or combined) objects by any desired angle around common centre of rotation? I.e. if one object is inside of another one, and both of them need to be rotated around the same centre of rotation... Grateful for any tip. Best, DS
String modification (zpl)
$FILENAME() returns the file name that includes ".zmx".  I would like to replace "zmx" with "cfg".  Can you suggest a way to accomplish this? (If I knew the string length, I could use a $LEFTSTRING command, but I cannot find a string length command.) Thanks.
Measuring coherent irradiance behind a lam/2 waveplate in non seq. mode
Hello, I tried to make a simple simulation of a lam/2 quarz waveplate which is irradiated by collimated, linear polarized light in non seq. mode. Orientation of optical crystal axis is (1 / 1 / 0). Linear polarization of incident light is Jx=1, Jy=0, coherence length=0. I would assume that the light behind the waveplate is Jx=0, Jy=1 perpendicular polarized, if the waveplate thickness d fits to the wavelength (-> pi = k * (n_extraord. - n_ord.) * d). Then I took a rectangular detector with detector polarization setting = 2 and wanted to measure the coherent irradiance of the y-polarized light behind the waveplate. Everything works well if I use the "waveplate mode" in the index menu of the object settings of the quarz volume. Is there a way to get the same result without using the "waveplate" mode? Thanks and best regards Dirk
Huygens PSF/MTF - Coherent across configs
Can you describe exactly how CWGT and WLWT are utilized when executing a coherent Huygens MTF/PSF addition across multiple Configurations (by selecting "All") for a particular wavelength?  What exactly is scaled during the calculations for (1) PSF and (2) MTF ?  Thanks,
Edit Axis in Universal 2D Plot
How can I get more than 2 decimals to show on the Z axis? How can I show more incremental values on the X and Y axes? I've tried right clicking and going into Edit Axis Options, but that's not it. I've looked at everything in Project Preferences, nothing there seems to do it. The image in the help documentation shows 4 decimals on the Z axis, so it must be possible.
Reduce computational effort for CAD import
Dear community, I have a question about CAD-imports in Zemax. Sometimes I need to import larger CAD-Files (approx. 70 MB; IGS format) and Zemax takes quite a while on my laptop to import this file. Also, after a successful CAD import, it takes much time to modify parameters of this import (e.g. changing from "rays ignore object: never" to "always" takes approx. 20 minutes). Is there a chance to improve this? How can I do that? It is obvious that manipulating the CAD file prior to importing into Zemax is a option (e.g. simplifying the shape by using boundary surfaces instead of the real shape), but for my case it is not applicable. Many thanks in advance! Best Patrik
Video playback speed
Is there any way to increase the playback speed for webinars/demos when viewed through MyZemax? Usually 1x speed is really not sufficient to grab the needed information. The ones that are posted on youtube are much nicer that way, but IMO it's a fractured jumble of videos in one forum or another, with broken links thrown in since change to MyZemax. As an educator trying to provide easy access to resources for students, this is far from ideal.
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.