G-code

G-code (Laser Engraving / CNC)

Open Beta
.gcode · text/x-gcode

Eksport data peta OpenStreetMap sebagai G-code untuk ukiran laser dan pengilangan CNC. Hasilkan peta fizikal pada kayu, logam, akrilik, dan bahan lain menggunakan pengukir laser dan penghala CNC.

Eksport G-code sekarang ✨ Beta Terbuka — percuma, tanpa had

Ciri Utama

Laluan alat dioptimumkan untuk ukiran laser
Tetapan kelajuan dan kuasa untuk laser
Sokongan perisian tegar GRBL dan Marlin
Lapisan berasingan untuk pemprosesan berbilang laluan
Example G-code export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Mengenai 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.

Program yang Membuka Fail G-code

Program dan aplikasi berikut boleh membuka, menyunting, dan bekerja dengan fail G-code (Laser Engraving / CNC) (.gcode) yang dieksport daripada OSM2CDR:

💻LightBurn 💻LaserGRBL 💻Fusion 360 💻LinuxCNC 💻Mach3

Format specifications

Siapa yang Menggunakan Peta G-code

🏗
Ukiran laser peta pada kayu
A city plan cut on plywood or wood — the road lines become relief.
💻
Pengilangan CNC peta topografi
Contours and boundaries as cutter paths for a 3D model of the territory.
📊
Seni dinding peta hiasan
Wall panels with a district map: pure vector with no raster artifacts.
🎨
Hadiah peta diperibadikan
A map of your home town or a meeting place as a personal handmade gift.

Cara Mengeksport G-code

1
Pilih kawasan
Lukis segi empat atau poligon pada peta interaktif di osm2cdr.ru
2
Pilih G-code
Pilih G-code (Laser Engraving / CNC) daripada senarai 127 format eksport yang tersedia
3
Eksport
Klik Eksport dan terima fail .gcode anda dalam 1-5 minit
4
Muat turun
Muat turun fail G-code yang siap dan buka dalam LightBurn

Cara Membuka Selepas Eksport

Peta popular dalam G-code

Percuma

Dapatkan eksport peta G-code (Laser Engraving / CNC)

Muat turun peta G-code profesional daripada OpenStreetMap. Penjanaan serta-merta, sebarang kawasan.

Percuma / eksport
Eksport G-code sekarang →

Soalan Lazim

Pengukir laser yang mana disokong?
Bolehkah saya menggunakannya untuk pengilangan CNC?
Apakah bahan yang boleh diukir?
What work area is the file calculated for?
Are all the layers processed the same way?
What should I do before the first run?

Format Berkaitan

Kerap Dieksport Bersama

Related Articles