G-code

G-code (Laser Engraving / CNC)

Open Beta
.gcode · text/x-gcode

Export mapových dat OpenStreetMap jako G-code pro laserové gravírování a CNC frézování. Vytvářejte fyzické mapy na dřevě, kovu, akrylu a dalších materiálech pomocí laserových gravírovaček a CNC routerů.

Exportovat G-code hned ✨ Otevřená beta — zdarma, bez omezení

Klíčové vlastnosti

Optimalizované dráhy nástroje pro laserové gravírování
Nastavení rychlosti a výkonu laseru
Podpora firmwaru GRBL a Marlin
Samostatné vrstvy pro víceprůchodové zpracování
Example G-code export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

O formátu G-code

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.

Jaký program otevírá soubory G-code

Následující programy a aplikace dokážou otevřít, upravit a zpracovat soubory G-code (Laser Engraving / CNC) (.gcode) exportované z OSM2CDR:

💻LightBurn 💻LaserGRBL 💻Fusion 360 💻LinuxCNC 💻Mach3

Format specifications

Kdo používá mapy G-code

🏗
Laserové gravírování map do dřeva
A city plan cut on plywood or wood — the road lines become relief.
💻
CNC frézování topografických map
Contours and boundaries as cutter paths for a 3D model of the territory.
📊
Dekorativní nástěnné mapy
Wall panels with a district map: pure vector with no raster artifacts.
🎨
Personalizované mapové dárky
A map of your home town or a meeting place as a personal handmade gift.

Jak exportovat G-code

1
Vyberte oblast
Nakreslete obdélník nebo polygon na interaktivní mapě na osm2cdr.ru
2
Zvolte G-code
Vyberte G-code (Laser Engraving / CNC) ze seznamu 127 dostupných exportních formátů
3
Export
Klikněte na Exportovat a obdržíte soubor .gcode během 1–5 minut
4
Stáhnout
Stáhněte si hotový soubor G-code a otevřete jej v LightBurn

Jak soubor otevřít po exportu

Oblíbené mapy ve formátu G-code

Zdarma

Získejte mapové exporty ve formátu G-code (Laser Engraving / CNC)

Stáhněte si profesionální mapy G-code z OpenStreetMap. Okamžité generování, libovolná oblast.

Zdarma / export
Exportovat G-code hned →

Časté dotazy

Které laserové gravírovačky jsou podporovány?
Mohu jej použít pro CNC frézování?
Jaké materiály lze gravírovat?
What work area is the file calculated for?
Are all the layers processed the same way?
What should I do before the first run?

Související formáty

Často exportováno společně

Related Articles