Click here to learn what has been happening this month on your community.
Click here to access the release notes of the latest Zemax release.
Click here to see the presentation by the Optotune team.
Hi all,I have been using ZOS-API Pythonnet to perform a ray trace and save the ray trace data as text files. The following program snippet worked perfectly fine up until a few months ago. Now, when I run the same code, it does the ray trace and saves the text file without changing any of the settings.import ZOSAPI;TheSystem = TheApplication.PrimarySystem;teleFile=('T_file.zmx')TheSystem.LoadFile(teleFile,False);Systemdata=TheSystem.SystemDataTheAnalyses=TheSystem.Analyses;X, Y = np.round(np.mgrid[(-1):(1):100j, (-1):(1):100j],3)positions = np.vstack([X.ravel(), Y.ravel()])pos=np.transpose(positions)px=pos[:,0]py=pos[:,1]max_rays=len(px)newWin=TheAnalyses.New_Analysis(ZOSAPI.Analysis.AnalysisIDM.RayTrace);newWin_Settings=newWin.GetSettings();Field_1 = Systemdata.Fields.GetField(1)Field_1.X=0Field_1.Y=0path='\RT_trial'for i in range(max_rays): newWin_Settings.Px=px[i]; newWin_Settings.Py=py[i]; #newWin_Settings.Wavelength.SetWavelengthNumber(1); #newWin_Settings.Field.SetFiel
Hey Zemax Team,Thank you for adding the Pan-Dao export feature. This will be a very useful feature, but unfortunately it is not yet ready for prime time. My suggestion would be to move it to Feature Experiments, so suitably motivated users can beta (alpha?) test it. At the moment is appears as a full feature in the UI, and it has a long way to go before it is ready for that.Please take the following as constructive criticism :-) Also remember that I am much more willing to dig into a new feature than you should assume a typical user will be. I actually enjoy this kind of stuff, and do not have a bunch of real work to be getting on with.1. So first of all I loaded the double Gauss and excitedly hit the button, and got a message saying that I needed to provide 'inputs' for surface tolerances in the Tolerance Wizard. OK, maybe I should have known that...bad user. But if it needs the Tolerance Editor to work, the feature should be in the Tolerance menu alongside the Cost Estimator, in the
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
I notice these are “Reload Surface” and “Reload All Surfaces” tools on the top of the LDE window. Does anyone know how do we access this tool in Matlab API? I did not find such a function in ZOS-API. One similar function is “Reload Object” but it doesn’t work for “Reload Surface”.The reason why I need this function is I am simulating gradient index lenses whose property is read from an external file named “GRADIENT_9.DAT”. After I change the material property in this external “.DAT” file, I need to Reload All Surfaces to update the material.If anyone has suggestions on how to do this, I would appreciate it a lot.
Hi,I would like to know how to use the OCOD and OPEV operands with multi configuration files: In case the same operand is present more than once (for example for different configurations) how to read the right one?Also, I want to know if it is possible to use OCOD with mathematical operands, like MINN, or MAXX, and same question, what if there is more than one in the Merit Function?Otherwise, is there a simpler way to read one value from any line in the MF?Thanks, Cristina.
Hello,I am using Optics Studio to evaluate some FEA data of an optical component (without the STAR package). I have the deformed surfaces as grid sag surfaces and am loading them in as .dat files and setup a “gradient 4” surfaces with fitted polynomial coefficients. Is this the correct way to set up this problem? I am concerned that the grid sag surface has no thickness or material and want to be sure the model is applying the grid sag to the surfaces of my Gradient 4. I have read in the documents that dummy surfaces may be needed between these types of surfaces but when entered they make no difference. I have this set up as a multi configuration such that Flat surfaces can replace the grid sags and when toggled I do see that a change in the system performance so I know the grid sags are doing something.Would love some feedback on this setup, thanks for the help
Hello Zemax team,My question is regarding an error I met when I use a lens black box from lens vendor. As the screenshot below, I have tried to put the object to 1 meter away in front of the lens by adjusting the surface 1 thickness. However, an error as “cannit determine object coordinates” shows up once entered. How to fix this error or what’s the proper method to change the object distance at the black box? Thanks.
Hello,I wanted to get the wavefront map of a cerain zernike coefficient representing an aberration. Is there a way to change the unit ‘WAVES’ into ‘mm’ or ‘nm’?
Hi,I created some absorption and emission spectra using the ‘Create Spectrum File’ button in the libraries tab. They both plot fine, they are simple flat spectra. However, in the ‘Volume Physics’ section of the non-sequential component editor these spectra do not appear in the list of files in their respective drop downs. Initially only one of them did, then I restarted OpticStudio and it then didn’t appear anymore.Cheers,Josh
Hi again Zemax peeps,I’m a little confused about the announcement on the Geometric MTF calculation in NSC mode. Has anything changed in the feature? It’s been in the code for ages.I’m confused because Geometric MTF is still available in the Detector viewer, but it computes as 1 for all spatial frequencies. Is this a bug or a feature? Are NSDD data items -14 and -15 (x and y MTF at specified spatial frequency) affected? Do they return the actual MTF or just 1?
Hi Zemax Community,Can you help me with this? I have read the passagehttps://support.zemax.com/hc/ja/articles/1500005580162-%E5%85%A5%E9%96%80%E3%82%AC%E3%82%A4%E3%83%89-1-4-%E6%AD%A3%E8%A6%8F%E5%8C%96%E5%BA%A7%E6%A8%99%E7%B3%BB and want to confirm that my understanding is right. Things want to doTo trace the specified field & wavelength light ray location on the image surface. here are wave1 and wave2 at field1 (my model is a spectrometer) I use REAY in merit function and set the wave1 and wave2 coordinate as below but I am not sure whether it is right , could you please help me see it ? Thanks Yang
Hi ,I am tryting to install Zemax OpticStudio on my laptop.The engineer who used Zemax left the company 2 years ago and the black usb is still plugged to the Keyserver.I have edited the sntlconfig.xml.bak file with correct ip address of the keyserverWhen I clieck on the Icon on my desktop for Zemax OpticStudio I have a window to inputPlease enter License Number Please enter your Activation codeI have a long number:1XXX 2XXX 7XXX 4XXX 3XXX 5XXXXX 0XXXXXand also 5 -user network Serial Number 2XXXXI am not sure which one is the License Number and which one is the Activation CodeAny help will be much appreciatedThanksAbhi
Hello,I understand that the STAR module operates within sequential mode, but can anyone confirm that it will never work within mixed-mode as well? I have a Non-Sequential Component representing a segmented mirror, which is comprised of several Standard Surface Object Types with different user defined apertures (the mirror segments have different shapes). Is there a way to apply a FEA file to these “nested” Standard Surfaces? Thank you,Vince
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.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.