Drop a .zmx, .stl, .jekray or .jekpack file

Search the glass catalogues

Schott, Ohara, Hoya, CDGM and Sumita, by name as the makers and the lens files spell it, with the crystals and plastics.

Import a material

  1. Find the material on refractiveindex.info and choose a data set that covers your wavelengths.
  2. Under the graph, use Data [CSV - nk] (or [CSV - n]) to download the file, or select the numbers and copy them.
  3. Drop the file below or paste the numbers. Wavelengths are in micrometres, which is what that site exports.

Tolerance the bench

Perturbs the swept parameters at random and traces the bench many times, to see how much the result moves. Each sweep’s From–To range is its tolerance range.

Optimise the bench

Varies the swept parameters you tick, each within its From–To range, for the best result on the goals below. Give a value a sweep first; its range is where it is searched. With several goals, each counts against its size at the start, times its weight.

Vary

Goals

Shortcuts

Selecting

Click
select an element, a fibre or a tab
Shift- or Ctrl-click
add to the selection, or take out
Drag on empty bench
select a boxful (Shift adds)
Ctrl+A
everything on this tab
Esc
select nothing

Adding

A or /
add a part: search, or pick from the tabs
Shift-click a part
add several, the list staying open
Drag a part
from the list or the rail onto the bench, to put it there
View › Parts rail
show or hide the parts rail

Changing

Drag
move (the whole selection); the handle turns one
Arrow keys
nudge by the snap step; Shift: 10 mm
Ctrl+C, Ctrl+X, Ctrl+V
copy, cut, paste, between tabs too
R, Shift+R
turn 90° anticlockwise, clockwise
Ctrl+D
duplicate
Delete
remove
Right-click
rotate, turn round, lock, move to a tab and more
Ctrl+Z, Ctrl+Shift+Z
undo, redo

Looking

Scroll
zoom about the pointer
Right-drag, middle-drag, or Space and drag
pan (one finger on a touch screen); a right-click that does not drag opens the menu
Z
zoom to the selection
Minimap
click or drag it to move about

3D view

Drag a part
move it on the table (snapped)
Click a part
its arrows, out of both sides: orange along x, green along y, blue up (snapped; up in 0.5 mm steps, Shift: 0.1 mm)
Click it again
its rings, crossing: drag a ring or its dot; blue turns it (facing), green tips it, orange rolls it about its own axis; Shift: 15° steps, Alt: a tenth as fast
Click it a third time
its arrows again
Right-drag
turn (or drag, set to Trackpad)
Middle-drag, Ctrl+right-drag
pan
Scroll
zoom about the pointer
F, Z
fit, zoom to the selection
Shift+1 to 7
front, back, left, right, top, bottom, isometric

Measuring

M
measure: drag a ruler, or pick Angle and click three points
On a beam
the ruler gives the optical path too
Shift
place a point freely, not snapped
Delete, Esc
remove the last one, stop measuring

Plots

Scroll, drag
zoom and pan (Shift: across only, Alt: up only)
Double-click
back to the whole plot
PNG, CSV
save the plot, or the numbers behind it

Files

Ctrl+S
save a .jekray file
Drop a .zmx or .jekray
onto the bench to open it
Ctrl+K
search every command in the menus
?
this list

Want an AI assistant to design a bench, or rebuild one from a paper? Give it the JEKray guide for AI assistants, ask for a .jekray file, and paste its answer onto the bench with Ctrl+V.

Examples

Each example opens in place of your bench; Undo brings your bench back. Want one built for you? Give an AI assistant the JEKray guide and paste its answer with Ctrl+V.

Share this bench

Embed in a web page

Paste this into a web page, a course site or a blog: readers can drag, zoom and play the sweeps (or only look, with the parts locked), and open the bench in JEKray. Nothing they do changes your copy.

Opened, with changes

Some of what the file asked for could not be used as written. This is what was done instead: check it, or copy the report back to whoever (or whatever) wrote the file so they can fix it.

AI guide

What’s new in JEKray

Cite JEKray

If JEKray helped with your work, a citation helps others find it. Your benches and results are yours to publish.

Text

BibTeX

How the rays look

Report a bug

This opens an email to [email protected] with your report, the version and your browser filled in. Nothing is sent until you send the email.

What happened?

What did you expect?

Earlier versions

This browser keeps a copy of your project every few minutes as you work, and just before you open another project or clear the bench. Opening one replaces what is on the bench; Undo brings it back.

University licence

Merge

Your account

Team

Delete your account


JEKrayPro

Keep your benches in the cloud, from every JEK app: open them on any computer, go back to any earlier version, fork one to try an idea without touching the original, and organise them in folders in JEKsuite. Keep your own parts and assemblies to use on any bench, work with a team in a shared workspace, and make any number of share links. Everything done in the apps themselves needs only a free account.

Founding member price. Subscribe while JEKray is in its open beta and you keep the price you start on for as long as your subscription carries on, whatever later prices are.

Prices include VAT where it applies. Payment is taken securely by Stripe; cancel any time from Billing in the account menu. By subscribing you agree to the JEKrayPro Terms.

Saved somewhere else

Export data

The numbers behind this bench, as a file to open in a spreadsheet, in Python or in MATLAB. What each file holds, and how to open it.

What to export

As

Import STEP file

Separate parts: an object for each, grouped, in place as in the file. One object: all of them merged into one.

Start a new project?

The current bench will be cleared. Save it as a .jekray file first if you want to keep it. You can still undo this.

Import an element file (.zmx)

  1. Open the maker’s product page for the lens, mirror, beam splitter or prism. Most optics makers publish a Zemax file for each part, usually beside the part number or under its downloads.
  2. Download the .zmx file (or a .zar archive). If it arrives as a .zip, extract it first.
  3. Choose the file below, or drop it straight onto the bench.

The part is placed at the centre of the view with light travelling left to right, as in the file. Lenses and mirrors come across with their exact surfaces. The file describes cubes and prisms with tilted, folded surfaces that can't be read back reliably, so for those the importer takes the glass and size and builds the part itself. Pick the type above if it guesses wrong.

Glass the tracer doesn't recognise uses the nd and Vd values from the file, which is less accurate far from the visible.