G-code

G-code (Laser Engraving / CNC)

Open Beta
.gcode · text/x-gcode

Exportați datele cartografice OpenStreetMap ca G-code pentru gravare laser și frezare CNC. Creați hărți fizice pe lemn, metal, acril și alte materiale, folosind gravoare laser și freze CNC.

Exportă G-code acum ✨ Open Beta — gratuit, fără limite

Caracteristici principale

Trasee de sculă optimizate pentru gravare laser
Setări de viteză și putere pentru laser
Suport pentru firmware GRBL și Marlin
Straturi separate pentru prelucrare în mai multe treceri
Example G-code export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Despre formatul 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.

Ce program deschide fișierele G-code

Următoarele programe și aplicații pot deschide, edita și prelucra fișiere G-code (Laser Engraving / CNC) (.gcode) exportate din OSM2CDR:

💻LightBurn 💻LaserGRBL 💻Fusion 360 💻LinuxCNC 💻Mach3

Format specifications

Cine folosește hărțile G-code

🏗
Gravare laser a hărților pe lemn
A city plan cut on plywood or wood — the road lines become relief.
💻
Frezare CNC a hărților topografice
Contours and boundaries as cutter paths for a 3D model of the territory.
📊
Artă decorativă de perete cu hărți
Wall panels with a district map: pure vector with no raster artifacts.
🎨
Cadouri personalizate cu hărți
A map of your home town or a meeting place as a personal handmade gift.

Cum se exportă G-code

1
Selectează zona
Desenează un dreptunghi sau un poligon pe harta interactivă de pe osm2cdr.ru
2
Alege G-code
Selectează G-code (Laser Engraving / CNC) din lista celor 127 de formate de export disponibile
3
Exportă
Apasă Export și primește fișierul .gcode în 1-5 minute
4
Descarcă
Descarcă fișierul G-code finalizat și deschide-l în LightBurn

Cum se deschide fișierul după export

Hărți populare în G-code

Free

Obține exporturi de hărți G-code (Laser Engraving / CNC)

Descarcă hărți G-code profesionale din OpenStreetMap. Generare instantanee, orice zonă.

Gratuit / export
Exportă G-code acum →

Întrebări frecvente

Ce gravoare laser sunt acceptate?
Pot folosi acest format pentru frezare CNC?
Ce materiale pot fi gravate?
What work area is the file calculated for?
Are all the layers processed the same way?
What should I do before the first run?

Formate înrudite

Exportate frecvent împreună

Related Articles