Open FlatCad

Laser material test card generator

Find the right power and speed for a new material in one run. This makes a grid of squares at stepped power and speed with the values engraved beside them, as G-code for GRBL lasers or as an SVG layout.

Test card settings

Running the test

  1. Use a scrap of the exact material, at least as big as the card size shown above, and focus the laser on it.

  2. Set the range. For a 5–10 W diode on wood, 20–100% power and 1000–5000 mm/min is a good first card. For a 20 W+ laser, start faster.

  3. Zero on the bottom-left corner of the scrap, run a frame with the laser off, then start. Stay with the machine.

  4. Read the card. Pick the fastest square that gives the darkness you want: faster means shorter jobs and less charring.

How the card is laid out

Rows are power and columns are speed. The top row is the Power from value and the bottom row Power to; the left column is the slowest speed and the right column the fastest. Steps are spaced evenly, so 20–100% in 5 rows gives 20, 40, 60, 80 and 100%, and 1000–5000 mm/min in 5 columns gives 1000, 2000, 3000, 4000 and 5000. The speed of each column is engraved above it, the power of each row to its left, and the optional title along the top. Labels are single-stroke Hershey lettering at the label power and speed, so they stay readable even when the squares beside them are burned black.

With the defaults the card is about 72 × 67 mm: 5 squares of 10 mm with 3 mm gaps, plus a label column of about 10 mm and a label row of about 5 mm. Leave a few millimetres of scrap around that.

What the G-code does

The file starts with comment lines that repeat the rows and columns, then G21 (millimetres), G90 (absolute), M8 if air assist is ticked, and M4 S0 or M3 S0. Each square has its own comment, such as ; square 60% 3000 mm/min, so you can find it in a sender. In fill mode a square is a set of back-and-forth horizontal lines at the line interval: 10 mm at 0.1 mm makes 101 lines. Travel is G0, burning is G1 with the S value and feed on the first line of the square. S is power × the S value for 100%, rounded, so 60% of 1000 is S600. It ends with M5, M9 if needed, a move back to X0 Y0 and M2.

The time shown assumes every line runs at its full speed and travel at 6000 mm/min. With the defaults each square burns about 1010 mm of line, so a row takes 1010 × (1/1000 + 1/2000 + 1/3000 + 1/4000 + 1/5000) ≈ 2.3 minutes and the whole card a little over 11.5 minutes plus travel and labels. Short fill lines spend much of their length accelerating, so expect the real run to take longer, most of all in the fast columns.

Reading the result

When the card looks wrong

Limits: 1 to 15 steps each way (225 squares at most), squares of 2 mm or more, gaps of 0.5 mm or more, a line interval of at least 0.02 mm, and up to 20 passes in cut mode. Titles are plain ASCII, up to 40 characters.

Next: turn a logo into lines with image to DXF, make G-code from any drawing with SVG to G-code, or engrave a QR code.

Open FlatCad, free, no signup

Questions

What is a laser test card for?

Every material burns differently. The card engraves a grid of squares, each at a different power and speed, with the values engraved next to them. Pick the square that looks best and use its settings for the real job.

Does it work with LaserGRBL?

Yes. Download the G-code and open it in LaserGRBL (File → Open), Universal Gcode Sender, CNCjs or LightBurn's console. It uses millimetres, absolute coordinates and S values up to the maximum you type ($30 in GRBL, usually 1000).

I use LightBurn. Do I need this?

LightBurn has its own Material Test tool (Laser Tools → Material Test), which is the easiest route there. This page is for LaserGRBL and other GRBL senders, and for anyone who wants a printable or SVG layout.

Should I test with M3 or M4?

Use M4 (dynamic power) for engraving on a GRBL laser with laser mode on ($32=1): power follows the speed, so the edges of the squares don't burn darker. Use M3 if your firmware lacks laser mode.

How do I test cutting?

Choose Cut: each square becomes an outline cut at its power and speed, with the passes you set. The squares that drop out cut through; the slowest of those wastes the least time.

What line interval should I use?

0.1 mm (254 lines per inch) suits most diode lasers. Smaller intervals give darker, smoother fills but take longer. Match it to what you will use in the real engraving.