G-code

G-code (Laser Engraving / CNC)

Open Beta
.gcode · text/x-gcode

Izvoz podataka karte OpenStreetMap kao G-code za lasersko graviranje i CNC glodanje. Izrađujte fizičke karte na drvu, metalu, akrilu i drugim materijalima pomoću laserskih gravera i CNC glodalica.

Izvezi G-code sada ✨ Otvorena beta — besplatno, bez ograničenja

Ključne značajke

Optimizirane putanje alata za lasersko graviranje
Postavke brzine i snage za laser
Podrška za firmver GRBL i Marlin
Zasebni slojevi za višeprolaznu obradu
Example G-code export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

O formatu 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.

Koji program otvara datoteke G-code

Sljedeći programi i aplikacije mogu otvoriti, uređivati i raditi s datotekama G-code (Laser Engraving / CNC) (.gcode) izvezenima iz OSM2CDR-a:

💻LightBurn 💻LaserGRBL 💻Fusion 360 💻LinuxCNC 💻Mach3

Format specifications

Tko koristi karte G-code

🏗
Lasersko graviranje karata na drvu
A city plan cut on plywood or wood — the road lines become relief.
💻
CNC glodanje topografskih karata
Contours and boundaries as cutter paths for a 3D model of the territory.
📊
Ukrasna kartografska zidna umjetnost
Wall panels with a district map: pure vector with no raster artifacts.
🎨
Personalizirani darovi s kartom
A map of your home town or a meeting place as a personal handmade gift.

Kako izvesti G-code

1
Odaberite područje
Nacrtajte pravokutnik ili poligon na interaktivnoj karti na osm2cdr.ru
2
Odaberite G-code
Odaberite G-code (Laser Engraving / CNC) s popisa od 127 dostupnih formata izvoza
3
Izvoz
Kliknite Izvoz i primite svoju .gcode datoteku za 1 – 5 minuta
4
Preuzimanje
Preuzmite gotovu datoteku G-code i otvorite je u LightBurn

Kako otvoriti nakon izvoza

Popularne karte u formatu G-code

Besplatno

Nabavite izvoze karata u formatu G-code (Laser Engraving / CNC)

Preuzmite profesionalne karte u formatu G-code iz OpenStreetMapa. Trenutno generiranje, bilo koje područje.

Besplatno / izvoz
Izvezi G-code sada →

Često postavljana pitanja

Koji su laserski graveri podržani?
Mogu li ovo koristiti za CNC glodanje?
Koji se materijali mogu gravirati?
What work area is the file calculated for?
Are all the layers processed the same way?
What should I do before the first run?

Povezani formati

Često se izvoze zajedno

Related Articles