G-code

G-code (Laser Engraving / CNC)

Open Beta
.gcode · text/x-gcode

Exporteer OpenStreetMap-kaartgegevens als G-code voor lasergraveren en CNC-frezen. Maak fysieke kaarten op hout, metaal, acryl en andere materialen met lasergraveermachines en CNC-frezen.

G-code nu exporteren ✨ Open bèta — gratis, zonder limieten

Belangrijkste functies

Geoptimaliseerde gereedschapsbanen voor lasergraveren
Snelheids- en vermogensinstellingen voor laser
Ondersteuning voor GRBL- en Marlin-firmware
Afzonderlijke lagen voor bewerking in meerdere doorgangen
Example G-code export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Over het G-code-formaat

G-code is the control language of numerically controlled machines (ISO 6983, also known as RS-274): a sequence of commands saying "move there", "turn the tool on", "run at this feed rate". Laser engravers, milling machines and plotters speak it, and the GRBL and Marlin firmwares understand it directly.

A map in G-code is not an image but a set of toolpaths. Every OpenStreetMap line becomes a tool path, and the machine repeats it on wood, plywood, acrylic, leather or anodized aluminium. That is how people make city plan panels, gift maps and relief models.

The file is plain text you can open in a text editor. First comes a header with the job parameters, then the map layers one after another, each with its own comment so the operator can skip a pass or reorder it. The commands are standard: G90 for absolute coordinates, G21 for millimeters, G0 for a rapid move, G1 for a working move, M3 and M5 to turn the tool on and off.

The geometry is fitted into the work area with margins along the edges, 300x300 mm by default, and the scale is chosen automatically so that the map fits entirely and keeps its proportions. Power is set per layer: roads run at full, buildings weaker, green areas very weak — which gives different depths on the material.

Welk programma opent G-code-bestanden

De volgende programma's en toepassingen kunnen G-code (Laser Engraving / CNC)-bestanden (.gcode) die uit OSM2CDR zijn geëxporteerd openen, bewerken en verwerken:

💻LightBurn 💻LaserGRBL 💻Fusion 360 💻LinuxCNC 💻Mach3

Format specifications

Wie gebruikt G-code-kaarten

🏗
Lasergraveren van kaarten op hout
A city plan cut on plywood or wood — the road lines become relief.
💻
CNC-frezen van topografische kaarten
Contours and boundaries as cutter paths for a 3D model of the territory.
📊
Decoratieve kaartwandkunst
Wall panels with a district map: pure vector with no raster artifacts.
🎨
Gepersonaliseerde kaartcadeaus
A map of your home town or a meeting place as a personal handmade gift.

G-code exporteren

1
Gebied selecteren
Teken een rechthoek of polygoon op de interactieve kaart op osm2cdr.ru
2
G-code kiezen
Selecteer G-code (Laser Engraving / CNC) uit de lijst van 127 beschikbare exportformaten
3
Exporteren
Klik op Exporteren en ontvang uw .gcode-bestand binnen 1-5 minuten
4
Downloaden
Download het gerede G-code-bestand en open het in LightBurn

Openen na de export

Populaire kaarten in G-code

Free

Ontvang G-code (Laser Engraving / CNC)-kaartexports

Download professionele G-code-kaarten van OpenStreetMap. Directe generatie, elk gebied.

Gratis / export
G-code nu exporteren →

Veelgestelde vragen

Welke lasergraveermachines worden ondersteund?
Kan ik dit gebruiken voor CNC-frezen?
Welke materialen kunnen worden gegraveerd?
What work area is the file calculated for?
Are all the layers processed the same way?
What should I do before the first run?

Verwante formaten

Vaak samen geëxporteerd

Related Articles