Use this space to learn more about your software!
Problems with Version 22.1
Yesterday I installed the newest version of Zemax, after the that I couldn’t run Zemax anymore since everytime I started it it froze during the “Copy Data to Zemax Folder”-step Zemax does when you start it the first time after an update.A collogue of mine had initially the same problem, but in his case restarting the PC solved it.In my case the problem persisted after the restart and I got Zemax only working again by reinstalling the previous Version.Does anyone else has this problem with Version 22.1 and is there a solution.
Mirror coating repair
Hi everyone, My question doesn’t relate to OpticStudio, but I’m hoping to find someone who can help me here so I hope you don’t mind.I have a 2-axis galvanometer scanner, and one of the mirrors seems badly oxidized. The reflection of the defective mirror is just above 0.6 (while the other one is around .94). We can still use this scanner but we are a bit on the edge with our light source power. The company who sold the scanner has discontinued this product and doesn’t want to repair a single unit. Ideally, we don’t want to buy another scanner. Do you know someone who would be willing to repair our mirror? It had a broadband visible coating.Thanks for your help and take care, David
how to measure divergence of the beam at a rectangle detector in non-sequential mode
Dear Zemax community, I am modeling a beam expander which expands the beam after the laser exit and deliver it to an illumination system. I am using NSC mode with detector rectangle. I would like to measure beam size and divergence at different distances from the laser exit. I want to use NSDD macro for measuring the beam width. By using -10 and -11 for pix# and 1 for data#, NSDD measures the second momentum or the beam width in x and y direction. But how about divergence? I am thinking whether I can use the same macro (NSDD) with -10 and -11 for pix# and 2 for data# but, this gives the solid angle or more precisely the distribution of the intensity with respect to the solid angle, so I am not sure if I can get any info about divergence with NSDD. Does anyone know whether there is a way to measure divergence in Zemax? and does using NSDD for the divergence make sense? Thanks in advance and best regards,Maryam
Chief ray tracing error TIR
Hi guys,does anyone know how to solve this error or know how to fix this?I do not know why my chief ray cannot go through Surface 5 with is immediately after the NSC Prism. Is TIR problematic for Zemax or is anything I have also to consider?Maybe the local axis of the NSC is problematic, but it is necessary for further simulation purposes.I would be very grateful if you could help me out :)
CENY behaves differently with 0 sampling in the ZOS-API
Hi everyone, I stumbled across an odd behaviour in the ZOS-API regarding CENY with GetOperandValue. I’m using Python 3.8.15, and Pythonnet 3.0.1.If you run the following code in an interactive extension with the Double Gauss 28 degree field sample file:import timet = time.time()print('Sampling 0: ' + str(TheSystem.MFE.GetOperandValue(ZOSAPI.Editors.MFE.MeritOperandType.CENY, 0, 1, 2, 0, 0, 0, 0, 0)))print('Time lapsed: ' + str(time.time()-t))t = time.time()print('Sampling 5: ' + str(TheSystem.MFE.GetOperandValue(ZOSAPI.Editors.MFE.MeritOperandType.CENY, 0, 1, 2, 5, 0, 0, 0, 0)))print('Time lapsed: ' + str(time.time()-t))The console output reads (code run multiple times):Sampling 0: 17.450689876377123Time lapsed: 0.001974821090698242Sampling 0: 17.450678324665706Time lapsed: 0.003976583480834961Sampling 0: 17.450689876377123Time lapsed: 0.0019915103912353516Sampling 5: 17.450678324665706Time lapsed: 0.0029811859130859375Sampling 0: 17.450689876377123Time lapsed: 0.001978635787963867Samp
Difference between Zernike standard coefficients and Zernike standard phase coefficients
As far as I understand, Zernike standard coefficients and Zernike standard phase coefficients are related by Forier transform.Is there a way to input the zernike standard coefficients directly to the system and not the phase? I can’t find a zernike standard coefficient surface type.
The rays are not displayed after converting a file from non sequential mode to CAD
Hello everyone,I currently have a problem with a file conversion from non sequential mode to CAD (STEP).The problem is, after doing the conversion, no rays are displayed (when using Solidworks). When I use Edrawing, everything works fine, but the thing is, the mecanical part of the whole system is done on Solidworks!Can you help me with this problem?You will find attached the captures showing the difference between Solidworks and Edrawing.Best regards,David.
RANG operand / RAYN(x) Function
Dear Community,I am looking for an Operand or ZPL function to get the angle between incident ray and local z-axis of the ray-surface intercept. Can I use RANG Operand / RAYN() ? or the “ray” mentioned in the defintion of these operand and funtion is the refracted ray. Thanks in advance.
Trapezoidal Mirror with Gradient 3 Properties
Hi everyone,I am relatively new to this software, so apologies for my newbie questions and please bear with me.I would like to model an sequential optical system to simulate the probe beam of a FTIR spectroscopy system:I have conducted the thermal analysis with another software already and I intended to model the probe beam path in the shown crystal with a gradient 3 surface type. I have also already prepared the variables for gradient 3 properties.This is what I have been able to model so far:Surface 2, Coordinate Break: is for tilting the probe beam with an 45° angleSurface 3, Coordinate Break: is for decentering the probe beam and is not relevant to this questionSurface 4, Gradient 3: is the beam path up until the internal reflection/mirror. This is where it gets tricky for me: as you can see in the first picture, the probe beam has to enter the crytsal perpendicularly. The first surface of the crystal and the reflective surface are set in an angle of 45°.In my optical system, the p
Bayer Sampling for Image Simulation
Is there a way to sample an image in a similar way as a Bayer sensor for the Image Simulation tool? Without making a custom Bayer slide surface for each image and imaging system?For example: sampling an input image BMP as RGGB assuming bands 3+2+2+1, then providing the option of a raw or de-mosaiced color simulated image.
Calculate the Ray Transfer (ABCD) Matrix for thick Lens using ZOS-API (Python and MATLAB Interactive Extension).
To compute the ABCD matrix, OpticStudio traces rays over a very small region centered upon the reference field position. Usually, this is the center of the field of view. OpticStudio allows selection of which field position to use for reference.By default, OpticStudio sets the corner of the field grid in object space to be at the maximum radial field distance. Because object height is linear with the tangent of the field angle, the full width of the field when angles are used to define the field is given byWhere θr is the maximum radial field angle at the corner of the field.The ray coordinates in image space for the very small field of view are used to determine the ABCD matrix components. The use of an ABCD matrix allows for coordinate rotations. If the image surface is rotated, such that a y object coordinate images to both an x and a y image coordinate, the ABCD matrix will automatically account for the rotation. The grid distortion plot shows the linear grid, and then marks the ac
Color rendering on detector surface
Hello everybody,I'm facing a color rendering problem on a rather complex electro-mechanical system, where I have several lights with different colors. Having to evaluate the light pollution of some details, I would need a rendering like the one generated by the color detector but with infinite focus or shaped according to the surface in question. I can't use the detector polar because it doesn't satisfy the geometric needs of the system. Do you have any idea about it?Thanks
Polarization analysis in NSC
How to simulate a linear polarized light beam which is formed by one left-handed circularly polarized light beam and one right-handed circularly polarized light beam in the NSC Mode? At present, I have tried to realize that phenomenon in NSC with Jones-matrix QWP and polarization analyzer，but the final ouput light beam seems not a linear polarized state. If this polarized phenomenon cannot be realized in NSC Mode? How to getting the detailed polarization analysis in NSC (while there is Polarization Pupil Map in Sequential mode)?
is there a fiber source dll with sobol sampling?
Hello, I am trying to consider in my simulation in non-sequential mode the homogenizing behavior by optical components of laser radiation. I use fiber1.dll as source for this and had to realize that in my case I have to set the number of analyzing beams very high depending on the detector resolution to exclude measurement errors. As a result, however, my simulations take a lot of time. I recently came across the article "Understanding Sobol sampling" here, which explains the "signal to noise ratio" in this regard, pretty much providing the reason why I am forced to put up with such long simulation durations. On the other hand, sobol sampling could help me, but unfortunately I couldn't find any source files similar to fiber1 that use sobol sampling and wanted to ask if there are any that are accessible?Best regards,Torsten
System F# Change Due to Parallel Plate in Collimated Beam
Dear Community,Does system F# change if we will place a parallel plate at an angle (Glass slab) into the collimated beam coming at different angles (System FOV)? I think It should not!!!! as both the surfaces of glass slab is flat (or having no power).I am attaching couple of screenshots for the same.In the below screenshots I am keeping the Glass Slab position same for all Fold mirror rotation angle (45 to 70 Degree), with the help of couple of Coordinate Breaks (CB). Fig1: Fold Mirror is at 45 Degree Tilt angle.Fig2: Fold Mirror is at 70 degree Tilt angle. The system F# is different for above two configurations. Is this the real scenario?Or, System F# should remain same irrespective of fold mirror tilt? Thanks.
License Expiry Issue
While I was trying to access my zemax account, it showed me an error message and now on logging into my account , it shows that my licence has expired. But my university course will end on july ‘23. If possible, KIndly look into it and let me know if there is something I can do to curb this problem. Given below is the attachment of the screenshot.
A Global column in the MFE
I have a suggestion to put a G column in the MFE. This would indicate what surface the operand referred to. Like REAY S4 W2 G6 Hx Hy Px Pythis would mean that you want the Y ray height on surface two, relative to surface 6. It would do away with the global operands like RAGY, RAGX and so forth. It would allow one to get global values for every operand in the MFE. Anyone have any thoughts on this? Am I missing something? Seems so obvious to me. But maybe there’s a reason Zemax can’t make this change.Paul Manhart
February 2023 Community NewsletterNewsletter
WelcomeWelcome to the February edition of the Zemax’s Community newsletter! This newsletter provides updates for you, the user, on technical content you might find interesting or helpful. This newsletter features content that has been posted or was popular during the last month! Check out what we have for you below:Welcome The Community in Review Featured Community Posts Ask An Engineer Code Exchange Latest Additions Chinese Forum: Popular Topics → To Update Japanese Forum: Popular Topics Knowledgebase Updates Ansys Optics Application Gallery Zemax-er Spotlight: Francesco AldegheriIs this newsletter missing something you think others should know about? Or is there something you learned here that you didn’t know before? Let us know in the comments below! The Community in ReviewFeatured Community PostsEach month we are excited to see the community coming together to solve problems and discuss how to use the software. This month is no different! Check out some of the most helpful po
Unable to activate composite surface
Hey everyone, I am now using my Zemax OpticalStudio 23.1 Professional and I am trying to produce a composite surface for anlaysis, but the selection to activate composite surface is gray. My understanding is this function is supported from version 22.3 according to the following link. Is there anything wrong with my settings? Thank you!https://support.zemax.com/hc/en-us/articles/10648753483539-Introduction-to-Composite-Surface
Feature Request: Dark Mode
It would be nice if Zemax OpticStudio had a dark mode such that the editors and graphics where displayed against a black or darker background.Some solutions for this are to use the Windows screen inversion tool,Windows Screen Inversion ToolMy preferred tool is the screen inverter from,NegativeScreenThe latter allows custom mappings of screen inversion for maintaining the colors but inverting the black white values.
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.