Technical Guide · Diode Laser · LaserBase · Mechanics I

Engraving and Machine Mechanics

Why does it matter how many steps the motor takes per millimeter?

Introduction

Everyone wants to engrave perfect images. But perfect engraving requires knowing a few fundamental, unavoidable relationships — not on the software side, but in the machine's mechanical reality.

This guide doesn't cover the images themselves, and doesn't discuss software settings. It covers the mechanical side: what the machine is physically capable of — and not capable of — achieving.

A laser can "print" at print-quality resolution during engraving. For this, though, you need to understand the shared physical limits of your motor, your belt drive, and your microstepping setting.

The GT2 drive system and step/mm

Most diode laser engravers use a GT2 belt drive, where the belt pitch is 2 mm. The motor and the pulley together determine how many steps are needed for 1 mm of movement.

step/mm = motor steps/rev × microstepping / (number of teeth × belt pitch)

Example — 1.8°, GT2 20T, 1/16 microstepping:
step/mm = 200 × 16 / (20 × 2) = 80

Example — 1.8°, GT2 16T, 1/16 microstepping:
step/mm = 200 × 16 / (16 × 2) = 100

This number is what appears in the controller board's GRBL settings:

$100 = X axis (step/mm)
$101 = Y axis (step/mm)
$102 = Z axis (step/mm)

The step/mm value has a critical role because the machine can physically only move to positions reachable by a whole number of steps. There's no in-between position — the mechanics jump to the nearest reachable point.

Line interval and the step grid

When engraving, the software draws lines next to each other. The distance between the lines is the line interval. For the machine to achieve this precisely, the line interval has to fit the step grid — meaning it has to come out to a whole number of steps.

steps needed = line interval [mm] × step/mm
good fit: steps needed = a whole number
Fitting example

80 step/mm, 0.10 mm line interval

0.10 × 80 = 8 steps

A whole number — the machine can move to exactly this position.

Non-fitting example

80 step/mm, 0.08 mm line interval (318 DPI)

0.08 × 80 = 6.4 steps

Not a whole number — the machine tries 6 or 7 steps. The result is banding.

What happens with a non-fitting line interval? LightBurn jumps to the nearest whole step count — up or down. Because of this, some lines end up closer together, others farther apart. You see this as banding on the finished engraving. LaserGRBL tends to stall in these cases.

Reference table — configurations and matched line intervals

The table below shows the matched line-interval and DPI values for the most common motor/pulley combinations. Only values where the required step count is a whole number are listed.

Note: a single-module laser up to 5W, with a 0.01–0.035 mm spot size. For a combined module the optimal DPI may differ.

Configuration step/mm 1 step Line interval Steps/line DPI
1.8° / GT2 20T
$100=80
800.0125 mm0.100 mm8254
0.050 mm4508
Other common values (0.08, 0.09, 0.07 mm) don't fit — they cause banding on an 80 step/mm system.
1.8° / GT2 16T
$100=100
1000.010 mm0.100 mm10254
0.090 mm9282
0.080 mm8318
0.070 mm7362
0.060 mm6423
0.050 mm5508
0.040 mm4635
0.9° / GT2 16T
$100=200
2000.005 mm0.100 mm20254
0.090 mm18282
0.080 mm16318
0.070 mm14362
0.060 mm12423
0.050 mm10508
0.040 mm8635

1.8° / GT2 16T (100 step/mm) is the most universal configuration — every common line interval fits it, giving a whole-number step count.

Matching the image size

It's not just the line interval that needs to fit — the physical size of the object being engraved also needs to come out to a whole number of lines at the given line interval.

number of lines = object size [mm] / line interval [mm]
matched: number of lines = a whole number

If the size doesn't divide evenly, the machine has to offset the last line — which causes a visible flaw at the edge of the image.

SizeLine intervalNumber of linesFits?
98 × 98 mm0.08 mm1225.0
97 × 97 mm0.08 mm1212.5
150 × 150 mm0.08 mm1875.0
149 × 149 mm0.08 mm1862.5

Practical rule: the image needs to be resized so that the physical height (in mm) divided by the line interval gives a round whole number. Then the machine works with whole-number steps the whole way through — no offset in the line order, no banding.

The mechanics can't move to an arbitrary position.
Only values aligned with the step grid give error-free engraving.