G-code

G-code (Laser Engraving / CNC)

Open Beta
.gcode · text/x-gcode

تصدير بيانات خرائط OpenStreetMap كأكواد G-code للنقش بالليزر والتفريز بآلات CNC. أنشئ خرائط مادية على الخشب والمعدن والأكريليك وغيرها من المواد باستخدام أجهزة النقش بالليزر وآلات التوجيه CNC.

صدّر G-code الآن ✨ النسخة التجريبية المفتوحة — مجاني، بلا قيود

الميزات الرئيسية

مسارات أدوات محسّنة للنقش بالليزر
إعدادات السرعة والطاقة لليزر
دعم برمجيات GRBL وMarlin
طبقات منفصلة للمعالجة متعددة المرات
Example G-code export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

عن صيغة 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.

ما البرنامج الذي يفتح ملفات G-code

تستطيع البرامج والتطبيقات التالية فتح ملفات G-code (Laser Engraving / CNC) (.gcode) المُصدَّرة من OSM2CDR وتحريرها والعمل عليها:

💻LightBurn 💻LaserGRBL 💻Fusion 360 💻LinuxCNC 💻Mach3

Format specifications

من يستخدم خرائط G-code

🏗
نقش الخرائط بالليزر على الخشب
A city plan cut on plywood or wood — the road lines become relief.
💻
تفريز الخرائط الطبوغرافية بآلات CNC
Contours and boundaries as cutter paths for a 3D model of the territory.
📊
لوحات خرائط زخرفية للجدران
Wall panels with a district map: pure vector with no raster artifacts.
🎨
هدايا خرائط مخصّصة
A map of your home town or a meeting place as a personal handmade gift.

كيفية تصدير G-code

1
حدد المنطقة
ارسم مستطيلاً أو مضلعاً على الخريطة التفاعلية في osm2cdr.ru
2
اختر G-code
اختر G-code (Laser Engraving / CNC) من قائمة تضم 127 صيغة تصدير متاحة
3
تصدير
انقر على تصدير واستلم ملف .gcode خلال 1-5 دقائق
4
تنزيل
نزّل ملف G-code الجاهز وافتحه في LightBurn

كيفية الفتح بعد التصدير

خرائط شائعة بصيغة G-code

مجاني

احصل على عمليات تصدير خرائط G-code (Laser Engraving / CNC)

نزّل خرائط G-code الاحترافية من OpenStreetMap. توليد فوري لأي منطقة.

مجاني / تصدير
صدّر G-code الآن →

الأسئلة الشائعة

ما آلات النقش بالليزر المدعومة؟
هل يمكنني استخدام هذا في تفريز CNC؟
ما المواد التي يمكن نقشها؟
What work area is the file calculated for?
Are all the layers processed the same way?
What should I do before the first run?

الصيغ ذات الصلة

تُصدَّر معاً عادةً

Related Articles