G-code

G-code (Laser Engraving / CNC)

Open Beta
.gcode · text/x-gcode

Exporta dados de mapas OpenStreetMap como G-code para gravação a laser e fresagem CNC. Crie mapas físicos em madeira, metal, acrílico e outros materiais usando gravadoras a laser e fresadoras CNC.

Exportar G-code agora ✨ Beta Aberta — gratuito, sem limites

Principais características

Trajetórias otimizadas para gravação a laser
Definições de velocidade e potência para laser
Suporte a firmware GRBL e Marlin
Camadas separadas para processamento em várias passagens
Example G-code export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Sobre o 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.

Que programa abre ficheiros G-code

Os seguintes programas e aplicações podem abrir, editar e trabalhar com ficheiros G-code (Laser Engraving / CNC) (.gcode) exportados do OSM2CDR:

💻LightBurn 💻LaserGRBL 💻Fusion 360 💻LinuxCNC 💻Mach3

Format specifications

Quem utiliza mapas G-code

🏗
Gravação a laser de mapas em madeira
A city plan cut on plywood or wood — the road lines become relief.
💻
Fresagem CNC de mapas topográficos
Contours and boundaries as cutter paths for a 3D model of the territory.
📊
Arte decorativa de parede com mapas
Wall panels with a district map: pure vector with no raster artifacts.
🎨
Presentes personalizados com mapas
A map of your home town or a meeting place as a personal handmade gift.

Como exportar para G-code

1
Selecionar área
Desenhe um retângulo ou polígono no mapa interativo em osm2cdr.ru
2
Escolher G-code
Selecione G-code (Laser Engraving / CNC) na lista de 127 formatos de exportação disponíveis
3
Exportar
Clique em Exportar e receba o seu ficheiro .gcode em 1-5 minutos
4
Descarregar
Descarregue o ficheiro G-code pronto e abra-o no LightBurn

Como abrir depois da exportação

Mapas populares em G-code

Free

Obtenha exportações de mapas em G-code (Laser Engraving / CNC)

Descarregue mapas profissionais em G-code a partir do OpenStreetMap. Geração instantânea, qualquer área.

Gratuito / exportação
Exportar G-code agora →

Perguntas frequentes

Que gravadoras a laser são suportadas?
Posso usar isto para fresagem CNC?
Que materiais podem ser gravados?
What work area is the file calculated for?
Are all the layers processed the same way?
What should I do before the first run?

Formatos relacionados

Frequentemente exportados em conjunto

Related Articles