Release Notes
What changed in each version. After upgrading, recompute anything listed under "Numerical changes".
0.4.0 (2026-12-04)
Scene mode is here: place lens groups, baffles, sources and detectors in one 3D scene, run whole-system stray-light and illumination simulations, and look at illuminance, color and ray paths on the detectors. The AI console can run several sessions in parallel; changes become versions directly, and background tasks keep running after the window is closed.
Scene mode
- Scene mode is used in the desktop app, and the built-in AI can help you build and analyze scenes. On the Home page use "New scene…" / "Open scene…", or open one of the three bundled examples under "Example scenes": phone lens stray light, LCoS projection, automotive head-up display.
- Build the scene in 3D: add mirrors, baffles, plates, sources, detectors and lens groups (
.lens); delete and copy them; edit size, surface properties, source power and spectrum, detector size and pixels in the parameter card; align once to an optical axis, an image plane or point to point, with snapping to optical features while dragging. No need to edit scene files by hand. - The vertical bar on the far left switches between TUI, the scene and each lens group: click a lens group to enter its sequential design in place; changes are written back to that lens group in the scene.
- Model consistency check: checks that a lens group lands, clears and is obstructed the same way in sequential tracing and in the scene simulation; rays that fail can be viewed on their own in 3D.
- Simulation: run by passes, by time or until stopped; stop at any time and continue accumulating later. Each simulation gets a result number (
r1,r2, …). - "Detectors" tab: illuminance, true color and CIE chromaticity, angular distribution, intensity, luminance (cd/m²), and an overview of all detectors; box a region to see flux, mean, peak, uniformity and the share of stray light outside it; a ray-path energy table (ghosts, reflection and scattering off baffles or structural parts, and more), with the option to show only one path in 3D; where the energy goes.
- Preview rays and simulated rays are shown together in 3D, filtered by the detector or path they reach and colored by power or path.
- "Compare" page: compares two results and gives one of three conclusions — "Clear difference", "Within noise", "Run more rounds" — and reruns with the same settings when needed.
- Every scene change goes into the version tree and can be previewed, undone, redone and switched; results follow the version you switch to.
AI console
- Several sessions in parallel:
+on the tab bar opens a new session; right-click to pick a role (General / Explore / Optomech / Command line). Tabs run at the same time without mixing conversations; each tab's conversation, plan progress and explored directions are saved locally and restored when the design is reopened. - Changes go straight into new version nodes;
Ctrl+Zundoes a whole change. When several sessions change the same thing, a merge card lets you keep the current value or take the proposal block by block. - Background tasks: start with
/plan bg <task>; they keep running on this computer after the window is closed, with a system notification on completion, pause or failure. Reopening the design picks the task up again; results are written only after you confirm. - Task plan card: the AI breaks the work into steps and shows progress;
/planto view, add to or tidy up the plan. - Click a lens, optical surface or structural part in 3D and it is added to the input with suggested questions about it.
Drawings and delivery
- Engineering drawings can be edited directly: move dimensions, override text, change sheet size, orientation, scale and view position, add leader notes. Edits are stored in the
.lensfile and do not affect optics or housing geometry; after the design changes, "Check drawings" points out edits that no longer apply (lb drawing-edit,lb drawing-check). - The supplier package now includes a prescription table, a glass purchasing BOM (blank sizes are estimates) and a tolerance table (CSV and Excel, with items still at default values marked), and can optionally include a
.zmx. - The supplier package and 3D / STEP can be exported without a housing (with a notice); the design package can be exported even when delivery files are out of date.
Other
- The desktop top bar shows your current plan badge; the account menu and About dialog support signing out and manually refreshing your license, and the latest plan status is also synced automatically on startup.
- When an optimization ends, the reason it stopped is shown; real ray aiming for finite-conjugate systems is more reliable on wide-field and obstructed systems.
- Version tree nodes and links are drawn as dots and rounded tracks, so branches are easier to follow.
- Bring-your-own AI (MCP) now loads tools on demand by default: common tools stay loaded, the rest are found and called as needed.
- Fixed occasional crashes on some Windows systems, as well as occasional errors when exporting design reports, exporting Zemax files, or evaluating expressions.
Numerical changes
- Local optimization in the checkup and in
lb improveno longer stops early after a fixed number of rounds; results may differ from 0.3.8 and take a little longer.
Good to know
- When upgrading from 0.3.7 or earlier, run the new installer directly over the existing installation; your sign-in state, preferences, and
.lensdesign folders are kept. - Existing accumulated scene results from earlier versions can still be viewed, but cannot be continued; start a new simulation run if you need more passes.
- Scene mode starts at Personal Pro: running new simulations and editing scenes require Personal Pro; the free edition can open scenes and view existing results.
- Proposals (derived options, recommendations after you state a goal, timed proposals) start at Personal Basic with 10 per month in total; unlimited in Personal Pro.
- The full-feature trial on a new account's first sign-in is now 1 day (trials already started are unchanged).
- Auto-propose and grow send back statistics of the run when they finish; usage statistics now include an overview of the type of system being designed (usage statistics can be turned off in Preferences). The design file itself is never uploaded; see the Privacy Policy.
- Each version expires 30 days after it was built, with prompts starting 7 days before; update from inside the program as prompted (Help "?" › Check for updates…).
0.3.8 (2026-11-16)
Built from the latest code committed after 0.3.7.
Good to know
- Each version expires 30 days after it was built, with prompts starting 7 days before; update from inside the program as prompted (Help "?" › Check for updates…).
0.3.7 (2026-11-15)
When rebuilding from a patent or a screenshot, the recognition image can now be edited in place: drag lines, pin them, mark glass / air, add or delete surfaces. Thin-line drawings and drawings with a watermark are recognized too.
Rebuild from a patent / screenshot
- Edit the recognition image directly: select a line and drag its handles to move or bend it; "Pin" a line so it stays as it is through any later recognition; mark the gap between two lines as glass or air; add a surface with three clicks; delete a wrong line; set the stop and the image plane; erase clutter with the red pen, and box the area to use or to ignore. The "Lines and gaps" panel on the right lists them one by one.
- "Original" on the toolbar switches between the recognition image and the original image without lines, so you can compare while editing (selecting and dragging still work).
- Better recognition of thin-line layout drawings and of drawings with a watermark.
- A line you added can be marked as the image plane; a line wrongly taken as the image plane can be turned back into a lens surface.
- A line placed on or to the right of the image plane is not part of the lens; you are told so right away, and no invisible mark is left behind.
- When the server replies abnormally after an upload, the message says whether it is temporarily not responding, not found, or blocked by a firewall or proxy on the network, with the next step.
Other
- Sign-in code for the command line:
lb login --deviceprints a web address and an 8-letter code; enter the code in a browser on any device to sign in. - Automatic housing: when the bore of a retaining ring or a step inside the barrel cannot clear the beam, it becomes a stepped bore with a short lip against the lens; the beam-clipping hint points to the lens surface that is actually seated.
- Removing a material pack while another program holds the file tells you to close that program first; the pack stays installed.
Good to know
- Each version now expires 30 days after it was built (was 90), with prompts starting 7 days before; update from inside the program as prompted (Help "?" › Check for updates…).
0.3.6 (2026-11-12)
Rebuild a lens from a patent drawing or a screenshot; push field, aperture or image quality one step forward with one click; two new 3D styles, Realistic and High Contrast; a design can now describe its sensor.
Rebuild from a patent / screenshot
- "Rebuild from a patent / screenshot" in the Start area of the Home page, or drop an image onto the window: upload a lens cross-section or layout drawing (PNG / JPG). The shape of each element, the stop and the image plane are recognized, three candidate designs are rebuilt, and the outline of the result is drawn over your image for comparison.
- A candidate that essentially matches the drawing can be taken with "Get the files": you receive the
.lensand a rebuild report, saved as a new design. - Element count, which elements are cemented, focal length, F-number and field do not have to be entered first: whatever is missing is worked out from the drawing and marked "Guessed from the figure · editable" in the design conditions; click "Edit" or say one sentence to use your own value.
- You can add hints one sentence at a time (for example "3 elements, focal length 50mm, F/5", "elements 1 and 2 are cemented", "the stop is between elements 2 and 3"), give a patent number or paste the patent text; values read from it take effect once you confirm them.
- The same from the command line:
lb reverse-new figure.png, thenreverse-hint,reverse-card,reverse-mark,reverse-run,reverse-pick,reverse-list,reverse-take.
Grow
- Three nodes now sit next to the current version in the version tree: "Field ×1.1", "Aperture ×1.1" and "Quality ×1.1". Click one to push that requirement one step forward and re-optimize; if image quality cannot be held, adding one element is tried automatically and the best result is kept. The result is a new version and can be undone.
- While you look at a design, the next step is computed in the background, so a click returns at once; if it is not ready yet, it is computed on the spot.
- When a step cannot be completed, an earlier alternative that was tried but not chosen is taken and the path is walked again from there.
- For designs with the object at a finite distance, stepping keeps the magnification; with
var T0in the design it also keeps the object-to-image distance.
3D view
- Styles: Standard, Realistic and High Contrast. Switch on the View page or in the command palette.
- In section cuts the mechanical parts are told apart: hatch direction, hatch density and section colour differ by part, and the step inside the barrel is drawn as part of the barrel.
Modeling, optimization and specs
- Sensor statement
sensor pixel=12um res=1280x1024: without afieldline the field is taken from the sensor half-diagonal;spec mtfwithout a frequency uses the Nyquist frequency; new specspec sensor_cover(image height covers the sensor diagonal); MTF plots extend to the Nyquist frequency by default. - A design whose merit function has a magnification row
op PMAGis optimized automatically with the magnification held instead of the focal length; withvar T0the object distance may vary. - "Add meniscus" can now place the new element before the first surface and before the image plane (
after=0,after=last surface). lb improve: each step has its own time budget, MTF is evaluated at the frequency given in the specs, and--processessets the number of processes.- New spec
spec relative_illumination. - Proposals: "move the stop" is a new candidate; an error in one route no longer affects the others.
Import, export and mechanics
- Exporting a Zemax file (
lb export-zmx) is available in the free edition; files exported in the free edition or during the trial say so in their notes. - When importing a Zemax file fails, the reason is given (cannot read, cannot write, glass catalog cannot be read); if the target location cannot be written, the design is imported unsaved.
- Automatic housing: the mount's outer diameter is taken into account when choosing the loading direction; when a retaining ring or a barrel step blocks the beam, the element's outer diameter is enlarged and the housing regenerated.
Things to know first
- Rebuilding from a patent / screenshot needs a network connection and sign-in; the image is uploaded and processed on the server. Everyone can see the recognition card; running the rebuild requires Personal Pro or higher: 5 tasks per month, each task can be rerun 10 times; an uploaded image cannot be replaced.
- The rebuild follows the drawing: a result that essentially matches the drawing passes, and the performance figures are only optimization targets; please check guessed parameters yourself. If the patent is still in force, the report notes that the result is for research only.
- Grow needs sign-in; adding an element also needs a network connection.
0.3.5 (2026-11-09)
Proposals are one feature, and routes and diagnosis advice come from the server; new depth-of-field, telecentricity and projection-based distortion checks; a whole system can be reversed; wide fields and real ray aiming are more robust.
Proposals
- The "Proposals" group on the Optimize page: "Proposals…" takes one sentence and AI picks 2–3 routes, one option each; "Timed Proposal…" sets a time budget and tries more routes in the background; "Proposal Report" shows this run's ranking. The words "night shift" and "morning report" are gone from the interface.
- Proposal routes are planned on the server, and the symptoms and suggested moves of
lb diagnosealso come from the server: proposals, recommendations and diagnosis advice need a network connection and sign-in. - New structural move: split into a cemented achromatic doublet.
New analyses and specs
- Depth of field
lb depth-of-field: the image plane stays fixed while the object distance is swept; near point, far point and depth of field by RMS spot or MTF. - Telecentricity check:
spec telecentricity side=object | image. - Distortion checked by projection: three new reference image heights for fisheyes (equisolid, stereographic, orthographic), selectable on the field curvature / distortion page and in specs.
- Group count spec
spec groups: lens groups separated by air, a cemented group counts as one. - Mount clearance operand CLRA; failed-ray fraction operand VIGF and spec
filled_stop(stop filled). - Field angles can reach 90° and beyond; aperture and field can be variables (
var aperture,field@N).
Modeling, materials and drawings
- Reverse a whole system:
lb reverseswaps surface order and radius signs and re-orders glass and thickness by the medium after each surface. - Spider obscuration:
aperture=spider(n, width[, start angle], obscuration=r); read when importing.zmx. - Built-in materials: water, glycerol, Cargille immersion oils (Type A / B / FF / HF / LDF / 37), ISO 8036 nominal oil.
- When a glass name has no exact match, it is looked up again within the same vendor ignoring hyphens and spaces, with a hint on the standard spelling.
- The image surface radius can be a
pickup;set_vignettingcomputes vignetting factors from each surface's aperture and writes them into the field rows. - Bevels count toward edge thickness and mass; drawings carry the coefficients of Zernike surfaces.
- Built-in example: ArF lithography objective (US 7,154,676 B2, example 1).
Interface and AI
- Zoom lenses: a cam curve page, and a zoom slider in 3D.
- On first launch a sample design opens and the AI input box is prefilled with a task; press Enter to try it.
- The optimization verdict says whether the run was meaningful and whether image quality got worse; if rays miss the image or a center thickness turns negative, it re-optimizes from the start and says so.
- AI can write
.lensstatements directly to change the design. - Computation is no longer slowed down by Windows power throttling.
Numerical changes
- Real ray aiming: for designs with very large pupil aberration, very wide fields (including 90° and beyond) or a paraxial entrance pupil very far away, the chief ray and aiming solutions are more robust, so image quality numbers for these designs change.
- Real image height fields: the scaling of DIST (surface 0), PIMH, Seidel and others matches Zemax; DISG and DIMX take the chief ray by field angle.
- Multi-wavelength designs with ray aiming on: paraxial quantities at non-primary wavelengths (LACL, PARX / PARY / PARA / PARB, AMAG, OSCD) change.
- Designs where rays hit the back of a sphere (ghosts, very wide fields, pinhole-like systems): landing points and image quality numbers for those rays change.
- Steep aspheres with rays near the edge: a few rays previously reported as missing are now traced, so image quality numbers change.
Good to know
- Proposals, recommendations and diagnosis advice need a network connection and sign-in; timed proposals, recommendations and diagnosis advice are Personal Pro and up.
- Timed proposal runs from 0.3.4 and earlier cannot be resumed; start a new one. Earlier results can still be viewed and switched to.
0.3.4 (2026-11-06)
Every version keeps the outputs it made, and switching versions shows that version's; versions can be cleaned up and restored; multi-configuration parameters can follow another configuration.
Outputs and delivery
- Reports, drawings, 3D, supplier packages and analysis figures made by each version are all kept; after switching versions, the output folders show that version's.
- Anything this version has not made is taken from the nearest version above that made it, and the Deliver page says "Out of date by N versions".
- Files in the output folders are read-only; to take or change one, right-click it on the Deliver page, "Export to…".
- Right-click a version, "Clean up this version": its outputs go to the recycle bin and can be restored; the recycle bin can be emptied.
- Outputs have an address
<design>@<version>/<output folder>/<output>, shown on hover and understood by commands and the AI. - Outputs made earlier are taken in the first time a design is opened; the original folders are left as they are. Files that were changed or are missing are still marked; generate them again.
Multi-configuration
- A cell in the configuration table can be
pickup(ref[, config=k][, scale=][, offset=]): it follows the same parameter of another configuration, for R, T, K, aspheric coefficients and glass (not in designs withmc thermal), and follows the source cell during optimization. See the.lenslanguage, "Multi-configuration".
Good to know
- Files in the output folders cannot be edited in place; an edit is marked "File changed". Export first to change one.
- When a folder holds several
.lensfiles, each design sees only the outputs it made.
0.3.2 (2026-11-06)
PDFs open in place on the Deliver page; analysis figures are kept per version; switching versions takes effect directly; drawings for cylindrical and toroidal lenses.
Deliver
- PDFs open in place, page by page: zoom in / out, percentage, Fit Width / Fit Page / Actual Size, Ctrl+wheel to zoom, drag to pan when zoomed in.
- Drawings come as one PDF (all sheets inside) plus one DXF per sheet.
- The contents list on the left folds by group and subfolder and remembers what is folded; files in a report's data, figures and tables folders are listed.
- Right-click a file in the list: "Export to…" (copy) or "Move to…".
- When generating fails, the reason is shown in the form; when it finishes, "Open folder" is offered.
- Design reports preview page by page on the Reports page.
Analysis figures
- Right-click a figure, "Output this figure" (or Ctrl+E): it is saved with this version's outputs and shown on the Deliver page, where it can be exported.
- Each version keeps its own analysis figures; after the design changes, the list starts empty.
Versions
- Right-click "Switch to This Version" or double-click: switches directly, stays on the current page, can be undone.
- Ctrl / Shift click several versions: click one again to deselect it; a plain click, a click on empty space or Esc clears them all; right-click "Clear selection".
- Consecutive versions on one branch: right-click "Squash the N selected versions…".
- Deleted versions are listed under "Deleted" in the history; right-click "Restore This Version".
- Versions are always written as codes sN;
#nin commands means entry n of the change log.
Drawings
- Cylindrical and toroidal singlets: YZ and XZ sections side by side, marked R_CYL / Ry, Rx.
- The drawing check uses the units and designer from Preferences.
Multi-configuration
- Before / after metrics are computed for the configuration that was changed, and say which one.
- Zemax
.zmxexport includes every configuration. - Overlapping lenses on either side of the stop are reported as collisions.
AI
- The AI page lists the conversations saved on this computer; click one to continue it.
- "Optimize it" sets up bounds and the focal length target in one step.
- "Usage" in the web Personal Center lists this account's last 30 AI replies.
Other
- The bottom panel remembers the height you dragged it to.
- Deriving proposals is faster.
Good to know
- To output one analysis figure, right-click it; to write to a chosen path use
lb plot … out=<file>. #nmeans entry n of the change log in every command; refer to a version by its code sN or its name.- Node names cannot start with
#.
Numerical changes
- Spec sheet rows with
config=all: a configuration that cannot be computed counts as "can't judge" in the worst band, so verdicts may change.
0.3.1 (2026-11-04)
Five pages on the top bar; versions form a tree; reports and delivery are separate, and output from every version is kept.
Interface
- Five top-bar pages: Spec, Workbench, Compare, Reports, Deliver (Ctrl+1 to 5).
- The ribbon is gone: all buttons are on the "Tools" tab on the left; the right tabs moved to the left.
- Each page shows only what the current step needs; less common settings are under "More settings".
- Right-click any analysis window: settings, configuration, fit, grid, data page, copy, export.
- The layout page draws the housing section; the Files tab previews
.lens, Markdown, tables and images. - "Personal Center…" is in the Help menu, the About page and the account icon at the bottom left.
- Saved designs are written back to
.lensautomatically; Save on a new design goes straight to LensBench under Documents.
Version tree
- Right-click any version, "Switch to This Version": see the diff, then apply; can be undone. Editing an older version starts a new branch.
- Tag any version; tagging it "终稿" (final) freezes it.
- The "Version Tree" page draws the whole tree, with several layouts, line styles and colorings, and exports as an image.
- Changes can be combined into one step and split again; deleted versions can be restored.
lb checkout,lb tag,lb cherry-pick.
Proposals
- "List" on the Compare page: scatter + table, filtered by metrics, specs, tags and source, saved as views.
- Let the AI set filters: "only total length within 61 and all gates passed".
- Proposals have names and codes (o optimization, n Night Shift, m manual edit, d derived, s saved); people and the AI can tag them.
- A notice appears when new proposals join the comparison pool; click "Compare".
Specs and optimization
- Specs and operands on one page, with one "+ Add Item".
- Each spec chooses where it goes: merit function, verdict, figure, report, compare column.
- Operand ranges:
op EFFL 50 +-1mm. - Multiple configurations: configuration table, per-configuration metrics, plotting and optimization by configuration.
- One-click desensitization
lb desensitize(Personal Pro and up).
Drawings
- ISO 10110 by default, switchable to GB/T 13323 or mixed item by item; refractive index at the d line, e line or a chosen wavelength.
- Three built-in frames, or your own; every optical mark can be filled in the tool panel.
- Cemented groups as assembly plus part drawings; optical system drawings; lenses that cannot be made are still drawn with the problem marked.
Reports and delivery
- Reports page: choose a template, tick the outline, add notes, preview page by page.
- Deliver page: everything made for this version, export (drawings, supplier package, 3D / STEP, design package), sign-off, freeze.
- Every run goes into a new dated folder and nothing is overwritten; switch to a version to see what was made for it.
- Spec sheet
lb spec-sheet.
Other
- "Report a Problem" posts straight to the forum, private or public.
- Usage statistics can be turned off; device code, sign-in state and entry point cannot. See the privacy policy.
Good to know first
- "Main line" is gone from the interface; the version in use is "Current".
- Drawings default to ISO; for GB write
drawing std=gb. - Missing or modified delivery files block sign-off and design package export; regenerate them first.
- With several
.lensfiles in one folder, "Move out" the design before delivery. - The free tier is for study and teaching only. See the terms.
Numerical changes
- Route score and ranking now include image quality and yield; existing ranks may change.
- Multiple-configuration optimization with PSD or BFGS runs the selected method; results may differ.
- Infrared glasses on drawings show the index at the design's primary wavelength.
0.3.0 (2026-10-31)
State what you want, the AI offers several proposals side by side, and you review and adopt; plus housing, drawings, ghosts and athermalization.
New
- Propose and Night Shift: the AI makes several proposals, saved as nodes in the comparison pool.
- Proposal comparison page: same-scale sections, MTF, metrics and regressions side by side; design-space scatter.
- Adopt only after the review checklist; spec rows are inferred, pending or confirmed, and only confirmed rows are gates.
- AI console in the left column; history is a tree; eyes in 3D overlay any version.
- Housing:
lb structure --auto, holes, threads, chamfers, assembly check. - Drawings (PDF / DXF), 3D / STEP, supplier package
lb deliver. - Ghosts
lb ghost, athermalizationlb athermalize, Zernike phase surfaces. - Remote session from your phone:
/remote on. - Starter pack and invite rewards.
Good to know first
- Smaller installer; for a vendor glass that is not installed, run
lb materials-packs get <vendor>. - Compute threads by tier: Free 4, Personal Basic 8, Personal Pro 16, Enterprise unlimited.
- Devices online at once per account: Free and Personal Basic 1, Personal Pro 2.
Numerical changes
- Designs with
spec thermal_defocus … use=mfget one more merit function row. - Local optimization uses a new default optimizer; results may differ slightly.
- Seidel values use the effective K and aN when they are pickups or variables.
- Thermal results change for designs with Zernike, binary2 or grating surfaces.
0.2.2 (2026-10-23)
Parameter sweeps, batch runs, report templates and staleness checks.
- Parameter sweep
lb sweep: table, curve or contour. - Batch runs
lb batch(Personal Pro and up). lb report-statusshows stale reports;lb report-refreshupdates them.- Report templates
template: customer, review, production. - Aperture, fields and wavelengths have names, usable in expressions and as variables.
- Operands
MAXX/MINN; tolerancestol irregularity,tol zernike. - Lock one split pane for before/after comparison.
- Choose the glass catalog folder in Preferences.
Numerical changes
- None.
0.2.1 (2026-10-23)
Formatted reports ready to send.
- One-click design report
lb design-report(Personal Basic and up). - Checkup reports as PDF, optionally Word / HTML / Excel.
lb recheckchecks the evidence ids in a report.- Version comparison report
lb compare-report. - AI-drafted report narrative
lb draft-report, with every number checked. - Split analysis area: two or four panes.
- Multi-process optimization.
Numerical changes
- Local optimization results change for designs with variables that have no effect.
0.2.0 (October 2026)
Sign-in required; overnight design, checkup and lens-by-lens explanation.
- Every entry point signs in with an optic.chat account.
- Overnight design
lb propose. - Checkup
lb checkup: yield, glass supply, manufacturability, a 0–100 score. - Lens-by-lens explanation
lb explain-elements. - MTF tolerance criterion, inverse tolerancing, default tolerances.
- Inspection rules
lb inspect(Personal Basic and up). - Acceptance per configuration for multiple configurations.
Numerical changes
- Optimization of coordinate-break systems was corrected; please recompute.
- Ideal thin lens and Zernike coefficients change in the last digits.
- Designs with two or more
letlines not in alphabetical order get new evidence ids once; values are unchanged.