Lenses, Corrections & Calibration¶
FocuZ keeps correction and focus settings per lens (L1–L8), so swapping lenses doesn't mean re-tuning. This section covers selecting a lens, distortion correction, the work-coordinate offset, focal height, and aligning the mark to the part.
Lens management¶
- The lens button at the left of the top bar shows the lens in use: its number and label, its field size, and a status dot — green ready, orange needs Z homed or set, grey no lens. With the Z axis enabled, an orange Z not set tag shows when the lens has no saved focus Z.
- Click it to list all eight lenses (L1–L8, always in that order) with each one's label, field size, focus Z and Z offset (the Z columns show only with the Z axis enabled). A slot that isn't set up yet reads Not set up — pick it, then set it up in the Corrections dialog. Lens settings… at the bottom opens Lens Corrections for the lens in use.
- Picking a lens opens the Lens change card: the lens's summary and details, then the moves on offer (home, jog to the lens's saved Z, or continue without movement) — or Cancel to keep the current lens. Each lens carries its own field size, correction, work offset, and focal Z. The picker waits while a job runs — to change lenses inside a job, add a Lens Change action to the sequence.
- When the lens needs a known Z reference, FocuZ may prompt to home / jog before marking (see the homing gate).
Distortion correction (the Corrections dialog)¶
Open Corrections from Device ▸ Lens Corrections (it applies to the currently selected lens), or during the Device Setup Wizard. It has two modes for correcting galvo/lens distortion, and remembers settings per lens:
Load the .cor correction file your lens uses — the same file format EZCad2 and LightBurn use. The
file supplies the distortion map and field size. You can optionally fine-tune Scale and Angle on
top of it. (Manual-only fields are greyed out while a .cor is loaded.)
With no .cor, enter correction values directly:
- Scale X/Y and Angle
- per-lens Field size X/Y (mm)
- Bulge, Parallel, and Trapezoidal correction (X/Y)
Or import them from a markcfg7: From device markcfg7 reuses the file the device was
configured with (no file picking needed), and Choose markcfg7… imports from any file. Either
way, if the file carries a different work offset, FocuZ asks whether to bring that in too.
Field size may be left empty — that means "not set for this lens", and the grayed number in the box is the device value FocuZ will use instead. Setting it correctly matters: field size scales every mark, so a wrong one makes everything the wrong size. From device markcfg7 is the quickest way to get it right, because it brings in the field size and the scale together.
See your changes live, then Save or Cancel
Start a red-light Trace before opening Corrections and it keeps running while you edit. Each
value you change turns the box red until you leave it (Tab, click elsewhere, or Enter); then
the trace redraws with the new value — change Angle to 45 and the trace rotates 45°. Changes
to the distortion values, field size or .cor file make the trace pause for a moment while the
new correction is sent to the controller. Nothing is kept until you press Save; Cancel (or
Esc, or ✕) puts the trace and the controller back to the saved values. Esc inside a red box only
undoes that box. The live view applies to the currently selected lens.
Every Corrections box keeps to its range: a value past it changes to the nearest limit when you press Enter or leave the box (WCS ±2000 mm, Scale 0.001 – 200 %, Angle ±360°, Field size 1 – 2000 mm, Bulge / Parallel / Trapezoidal 0.001 – 2). An empty box shows a red background and Save stays unavailable until it is filled — except Field size, where leaving both X and Y empty means "use the device value".
Round at center, distorted at the edges?
That's a distortion-correction issue — load the correct .cor for the lens, or tune the manual values.
See Troubleshooting.
Marks come out the right shape but the wrong size?
That's field size, not distortion. Check the Field size in Lens Corrections — it shows the value in
use and where it came from (.cor file, set for this lens, or the device default). With a .cor
loaded you can trim the remaining error with the Scale boxes, which fine-tune on top of the file:
multiply the current scale by target / measured.
Speeds follow the same calibration: mark, jump and red-light speeds are converted with the lens's calibrated counts per millimetre, so the mm/s you enter is what the galvo does.
WCS (work coordinate) offset¶
The WCS offset shifts the work origin so the mark lands where the part actually is. It's stored per lens. Set it from the lens's WCS control (it opens the Corrections dialog for the active lens).
The canvas origin (0,0) is the WCS reference point: artwork placed at 0,0 marks at the work origin, and moving art +20 in X marks +20 from that origin. The offset itself applies only when marking and tracing — changing it never moves artwork on the canvas.
Focal height (Z) per lens¶
Each lens has a focal working distance. Set it in the Motion window (top menu), in the Z Lens focus section of the FocuZ (custom GRBL) box — its first line names the lens it saves to (L1, for example) and shows the Offset saved with that lens, or Z not set until a focal has been saved:
- Jog Z to the optimum focal distance.
- Enter an Offset (the distance between the baseboard and the top of your test material).
- Click Save Current Z to commit the focal distance + offset to the active lens.
The Offset box starts empty each time you change lens, and clears again after Save Current Z or Update Offset — the saved value stays on the heading for reference. The Offset can be updated later without re-finding the focal distance (Update Offset). The Instructions button repeats these three steps in the app. Saving the focal and updating the Offset are locked while a sequence is running or paused — a new focal would move the job's later Z positions.
The FocuZ (custom GRBL) section shows its controls only when a FocuZ compatible controller is connected, and Z Lens focus only when the Z axis is enabled too (Device ▸ Connection) — otherwise it says so. Without a motorized Z there is nothing for FocuZ to save a focal height against.
Everything stored against a lens — the correction source, field size, angle, WCS offset, and the saved focal height + offset — shows in the lens picker (label, field size, Z and offset for every lens), on the card that appears when you change lens, and in Lens Corrections (the picker's Lens settings…).
Then Home & Jog to Lens 0 (on the Motion window) gets you straight back to focus for that lens.
Finding focus: the Z Focal Distance¶
The Z Focal Distance (Sequencer ▸ Calibration) finds the optimum focal height empirically: it marks a row of numbered tick marks, stepping the Z height between marks — the sharpest mark is your focal height.
- Add a Z Focal Distance action. In Setup, set the number of 5-Mark Groups, Mark Spacing, Mark Height, and Label Height — the pattern on the canvas updates as you type.
-
On the sublayer, set the Z Distance per mark and pick the mode: Motorized (FocuZ jogs Z between marks — needs the FocuZ:grbl controller connected and Z homed) or Manual (FocuZ prompts you to move Z between marks yourself).
Stacked (Setup checkbox) marks every line — number included — at the same spot (the pattern's Location) instead of in a row, so the material must move to a fresh spot between marks. Checking it adds a second sublayer that advances the material along X: on Motorized (offered when the X axis is enabled) FocuZ jogs X by its Distance between marks — no prompts needed; on Manual FocuZ prompts you to move the material before each mark (in Manual Z mode the prompt covers moving Z and the material together). Useful when the surface only offers one good marking spot, e.g. a narrow or curved part. The canvas still shows the laid-out row; the Preview shows the stacked output as it will mark, one line at a time. 3. Run, then inspect the part for the sharpest, cleanest line. 4. Motorized — enter that mark's number when prompted and FocuZ jogs straight down to its focal height; save it to the active lens with Save Current Z in the Motion window. Manual — move Z down by that many of your steps, then save the same way.
Aligning the mark to the part¶
- Calibration ▸ Offset (a Sequencer action) lets you mark or trace a target, drag it on the canvas to where it actually landed, and apply the difference as the work offset. The layer header's Apply Offset (Lx) button names the currently selected lens right in its label, so you can see whose offset will be updated before you click. The Return to 0,0 checkbox next to it (on by default) snaps the target back to the design origin after applying — with the drag absorbed into the offset, that's where it now marks, so a re-trace lands on the same spot on the material. Untick it to keep the target where you dragged it instead.
-
Trace Settings (Device menu — formerly Red Light Trace — or the Lx Trace Settings button at the bottom of the Corrections dialog) helps align the red pointer to where the IR beam fires (they have a small fixed parallax). The red-light offset, scale, and trace speed are stored per lens — like the other corrections here, they apply to the lens named when you open it — while repeats and durations are device-wide. The window is organized into Calibration (red light toggle, per-lens offset and scale), Locate (move the pointer to a position or the field center), and Timing (per-lens speed, plus repeats and durations). The Offset X / Y stays inside this lens's field (up to half its width / height either way) and the Speed is 1 – 10000 mm/s — a value past either changes to the nearest limit on Enter or when you leave the box, and the jog pad stops at the field edge. An Import markcfg7 button at the top loads a file's red-light offset, scale, and speed into the boxes — nothing commits until Save.
To dial the alignment in, the easiest route is the Calibration ▸ Red Light sequencer action: it marks a centered reference square (default 90% of the field, always a square at the field center, work offset ignored so it lands truly centered), then opens this window ready to go — the square size preloaded and the red-light square already tracing. Walk the red square onto the burn with the jog pad (each press nudges the offset by the Distance step) or by typing offsets directly; the square moves live. When it sits exactly on the marked square, Save commits the calibration to the lens. The same Square button works any time you open the window yourself, against any square you've marked.
Aligning two lenses (Dual Lens Alignment)¶
When you swap between lenses, Dual Lens Alignment (Sequencer ▸ Calibration) makes the second lens mark on the same spot, at the same size and orientation, as the first.
Before you start: set up the first lens with the Corrections dialog above (field size, scale, angle, WCS offset), install it, home Z and go to its focus. Set up the second lens the same way and save its focal height. (With a Z you move by hand, set up both lenses' corrections and focus the first lens by hand — no focal heights are saved.)
- Add a Dual Lens Alignment action. In Setup on Square 1 (small lens), set the square's Size and Location (the location is the square's centre, in design coordinates). Set Square 1's power to engrave lightly, and Square 2 (large lens)'s power low enough to remove marker ink without engraving (a fill is available on Square 2 if its edges are easier to read filled). Pick the Second lens.
- Run. Square 1 is engraved with the lens in use.
- Cover the engraved square with marker. Do not move the workpiece from here on.
- Press Continue → second lens. Z homes, you install the second lens and confirm, and Z moves to its focus. The alignment card opens. (If the second lens is already installed and at its focus, the card opens straight away.) With Mode set to Manual — for a Z you raise and lower by hand, the Z axis switched off in Device ▸ Laser Setup — FocuZ moves nothing: the cards ask you to raise Z by hand, install the second lens, then bring it into focus by hand, and the alignment card opens. Manual mode needs no motion controller and no saved focal height. When the second lens is already the lens in use, one card asks you to confirm it is installed and in focus, then the alignment card opens.
- Press Mark to mark Square 2 through the ink. Walk it onto the engraved square with the nudge pad (it moves the next mark, not the machine or the red light — each press by the chosen step), correct its size with Scale and its tilt with Angle, and Mark again — re-apply marker as needed. Every value is saved to the second lens as you enter it (a box turns red while you type and applies on Enter or when you leave it). Press Done when the squares coincide.
To align a third lens, run the action again: the lens in use when you press Run is the reference, so start from the small lens again or from any lens already aligned. A sequence that holds a calibration action can't contain a Goto.
Per-lens actions confirm the target lens
Actions that change per-lens calibration apply to the currently selected lens and confirm which lens before applying — double-check it's the right one to avoid mis-calibrating another lens. The Dual Lens Alignment card is the exception by design: it names the second lens in its header and saves to it as you enter values.