How to laser engrave a logo with a 3D printer laser module
A laser module turns your 3D printer into a small engraver. The hardware is the easy part – the hard part is getting clean G-code from a logo or lettering. This guide shows the whole way from image to engraving with GCodely, using a Marlin printer with the laser on the fan output (the most common setup for modules from Creality, Sculpfun, Ortur and others).
What you need
- A 3D printer running Marlin with a laser module (often wired to the part-cooling fan output)
- Your logo as SVG (best) or as a high-contrast PNG/JPG
- Scrap material for a test: plywood, cardboard or leather
- Laser safety glasses for your laser's wavelength (most diode modules: 445–455 nm)
1. Prepare the logo
Vector files (SVG) give the cleanest result because the edges are already exact. If you only have a PNG or JPG:
- Use the largest version you have; small, blurry images give wobbly edges.
- In GCodely, raise the contrast and adjust the threshold until the preview is pure black and white without specks.
- Use Remove specks to drop stray pixels.
Text in an SVG must be converted to paths first (in Inkscape: Path → Object to Path), otherwise it is ignored.
2. Set the size
Enter the target width (or height) in millimeters. GCodely shows the resulting size right below. Measure your material – the motif plus a few millimeters of margin should fit.
3. Choose the right strategy
Open the Laser → G-code mode and pick a strategy:
| Logo type | Strategy | Why |
|---|---|---|
| Filled shapes, bold letters | Concentric | Follows the outline like perimeters in 3D printing – crisp edges, few direction changes |
| Large filled areas | Hybrid | A few outlines for clean edges, hatching inside – faster on big areas |
| Thin lettering, line art, signatures | Centerline | Engraves each stroke once along its center – like writing with a pen |
| Just mark or cut the outline | Outline only | One pass along the contour |
Set the spot diameter to your laser's real spot size (typically 0.1–0.2 mm for diode modules). The line spacing is derived from it, so a wrong value either leaves gaps or burns twice.
4. Machine profile for Marlin
Pick the preset Marlin + laser on fan output (M106/M107, 0–255) and check:
- Work area X/Y matches your printer bed, and the origin offset if your printer homes outside the bed (e.g. X−10/Y−10).
- Laser off before every travel move stays enabled. On many Marlin builds
M106is not synchronized with motion, so the laser would otherwise stay on duringG0moves. - Focus height Z: if your module has a fixed focal distance, enter it and GCodely moves there at the start.
Save the profile once – it is stored in your browser and ready next time.
5. Power and speed: start with a test
Every module, material and focus is different, so there is no universal value. A good routine:
- Start with 80 % power and 600 mm/min engraving speed on plywood.
- Engrave a small piece of the logo on scrap.
- Too light → slower or more power. Too dark or burnt edges → faster or less power.
- Note the values in your machine profile.
Two passes at moderate power often look cleaner than one slow pass.
6. Check the preview and export
The preview shows engraving paths in color and travel moves dashed. Press play to watch the order, and check the estimated time. Before export, GCodely checks that no coordinate leaves your work area and that the laser is off at the end – if something is wrong, export is blocked with a clear message.
Export the .gcode, copy it to the SD card or send it via your printer host, and run it.
Safety first
- Always wear safety glasses for your laser's wavelength – including people nearby.
- Never leave the printer unattended while engraving; wood and cardboard can catch fire.
- Provide ventilation or extraction and never engrave PVC or other materials that release toxic fumes.
Summary
Clean logo → correct size → strategy that fits the motif → Marlin preset with "laser off before travel" → test piece → export. With that routine your first engraving is done in minutes – try it now in GCodely, free and without upload.