G-code

G-code (Laser Engraving / CNC)

Open Beta
.gcode · text/x-gcode

Esporta i dati cartografici di OpenStreetMap come G-code per l'incisione laser e la fresatura CNC. Crea mappe fisiche su legno, metallo, acrilico e altri materiali usando incisori laser e frese CNC.

Esporta G-code ora ✨ Open Beta — gratis, senza limiti

Caratteristiche principali

Percorsi utensile ottimizzati per l'incisione laser
Impostazioni di velocità e potenza per il laser
Supporto per firmware GRBL e Marlin
Livelli separati per lavorazione multipassata
Example G-code export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Informazioni sul formato 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.

Quale programma apre i file G-code

I seguenti programmi e applicazioni possono aprire, modificare ed elaborare i file G-code (Laser Engraving / CNC) (.gcode) esportati da OSM2CDR:

💻LightBurn 💻LaserGRBL 💻Fusion 360 💻LinuxCNC 💻Mach3

Format specifications

Chi usa le mappe G-code

🏗
Incisione laser di mappe su legno
A city plan cut on plywood or wood — the road lines become relief.
💻
Fresatura CNC di mappe topografiche
Contours and boundaries as cutter paths for a 3D model of the territory.
📊
Decorazioni murali cartografiche
Wall panels with a district map: pure vector with no raster artifacts.
🎨
Regali personalizzati a tema mappe
A map of your home town or a meeting place as a personal handmade gift.

Come esportare in G-code

1
Seleziona l'area
Disegna un rettangolo o un poligono sulla mappa interattiva su osm2cdr.ru
2
Scegli G-code
Seleziona G-code (Laser Engraving / CNC) dall'elenco dei 127 formati di esportazione disponibili
3
Esporta
Fai clic su Esporta e ricevi il file .gcode in 1-5 minuti
4
Scarica
Scarica il file G-code pronto e aprilo in LightBurn

Come aprire il file dopo l'esportazione

Mappe popolari in G-code

Free

Ottieni esportazioni di mappe in G-code (Laser Engraving / CNC)

Scarica mappe G-code professionali da OpenStreetMap. Generazione istantanea, qualsiasi area.

Gratis / esportazione
Esporta G-code ora →

Domande frequenti

Quali incisori laser sono supportati?
Posso usarlo per la fresatura CNC?
Quali materiali si possono incidere?
What work area is the file calculated for?
Are all the layers processed the same way?
What should I do before the first run?

Formati correlati

Esportati spesso insieme

Related Articles