G-code

G-code (Laser Engraving / CNC)

Open Beta
.gcode · text/x-gcode

Exporta dades de mapes d'OpenStreetMap com a G-code per a gravat làser i fresat CNC. Crea mapes físics sobre fusta, metall, acrílic i altres materials mitjançant gravadores làser i fresadores CNC.

Exporta G-code ara ✨ Beta oberta — gratuït, sense límits

Característiques clau

Trajectòries d'eina optimitzades per a gravat làser
Configuració de velocitat i potència per al làser
Compatibilitat amb el microprogramari GRBL i Marlin
Capes separades per a processament multipassada
Example G-code export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Sobre el format 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.

Quin programa obre els fitxers G-code

Els programes i les aplicacions següents poden obrir, editar i treballar amb fitxers G-code (Laser Engraving / CNC) (.gcode) exportats des d'OSM2CDR:

💻LightBurn 💻LaserGRBL 💻Fusion 360 💻LinuxCNC 💻Mach3

Format specifications

Qui utilitza els mapes G-code

🏗
Gravat làser de mapes sobre fusta
A city plan cut on plywood or wood — the road lines become relief.
💻
Fresat CNC de mapes topogràfics
Contours and boundaries as cutter paths for a 3D model of the territory.
📊
Art mural cartogràfic decoratiu
Wall panels with a district map: pure vector with no raster artifacts.
🎨
Regals cartogràfics personalitzats
A map of your home town or a meeting place as a personal handmade gift.

Com exportar G-code

1
Selecciona l'àrea
Dibuixa un rectangle o un polígon al mapa interactiu d'osm2cdr.ru
2
Tria G-code
Tria G-code (Laser Engraving / CNC) de la llista de 127 formats d'exportació disponibles
3
Exporta
Fes clic a Exporta i rep el fitxer .gcode en 1-5 minuts
4
Descarrega
Descarrega el fitxer G-code llest i obre'l amb LightBurn

Com obrir el fitxer després de l'exportació

Mapes populars en G-code

Free

Obtingues exportacions de mapes G-code (Laser Engraving / CNC)

Descarrega mapes G-code professionals d'OpenStreetMap. Generació instantània, qualsevol àrea.

Gratuït / exportació
Exporta G-code ara →

Preguntes freqüents

Quines gravadores làser són compatibles?
Puc utilitzar-ho per a fresat CNC?
Quins materials es poden gravar?
What work area is the file calculated for?
Are all the layers processed the same way?
What should I do before the first run?

Formats relacionats

Sovint exportats junts

Related Articles