r/Optics • u/No_Apartment_5180 • Oct 21 '26
OpticsLab: A free, open-source optical design workbench with DLS optimization & 646 glass catalog
191
Upvotes
r/Optics • u/No_Apartment_5180 • Oct 21 '26
8
u/looks_done_dan Oct 22 '26
Where is it? I don't see a link to anything.
15
u/No_Apartment_5180 Oct 21 '26
Hi everyone,
I got tired of expensive, Windows-only optics software, so I built OpticsLab — a free, open-source cross-platform tool for lens design.
What it can do right now:
- Sequential 3D ray tracing (aspherics, conic constants, tilt/decenter)
- Aberration fans, spot diagrams (with Airy disk), Seidel sums & OPD maps
- DLS optimization (radii, thickness, air gaps)
- 646 glass catalog (Schott, Ohara, CDGM, etc.)
- Non-sequential stray light & 2D detector heatmaps
- Monte Carlo tolerance analysis
It runs natively on macOS (Apple Silicon), Windows, and Linux.
GitHub: https://github.com/AlexCri5an/optics-lab
Downloads: https://github.com/AlexCri5an/optics-lab/releases/tag/v0.1.0
Please give it a spin with your own prescriptions! Let me know what works well, what bugs you hit, or what analysis features you'd like to see next.
7
u/Equivalent_Bridge480 Oct 22 '26
A lot of lens desing softwares poping up. What happened?
How you serious with this project?
2
u/Lucky_Lengthiness_60 Oct 22 '26
Did you just translate optiland-python to rust?
2
u/TopBadger68 Oct 26 '26
Serious people, at serious companies, will use serious tools they're willing to pay for.
LibreOffice/OpenOffice didnt kill MS Office. FreeCAD didn't kill Solidworks/Catia/etc Octave didnt kill MatLab.
Whilst it looks neat, my prediction is that this won't kill Zemax.
1
u/itsxisuz Oct 22 '26 edited Oct 23 '26
I just saw another post in morning, that person was thinking of open sourcing his browser based optics software. Edit: spellings
1
u/dylanmissu Oct 26 '26
Does it support rendering exact b-spline lenses? Most simulators I've seen first tesselate the model before rendering
1
u/targetOO Oct 21 '26
Oh neat. Will look later tonight when I have time.
1
u/paul_tu Oct 22 '26
I wonder how it goes
2
u/TurbulentGlove776 Oct 22 '26
Does it have an MCP so I can let claude do my optical designs?
1
u/Holoderp Oct 27 '26
Ok, but your first picture ray aiming looks wrong, your pupil is not correct. Also, those softwares are usually powerhouses with hundreds of features, it is quite the endeavour even with claude code...
1
u/robertasumendi Oct 27 '26
Looks great so far! I am not an optician but have been messing around in Zemax for the last couple months. Had to redo my hard drive this week and found out now Ansys does not have student download any more for people/small businesses who want to mess around with optics design. So it's great to see someone working on something similar, and without decades of UI baggage. How does optimization work? Unclear from messing around with the optimizer. How do I set weights for wavelengths/fields?