1. Siapkan Foto Wajah
-
Buka foto di GIMP/Photoshop → ubah ke grayscale.
-
Colors → Desaturate. -
Colors → Brightness/Contrast→ biar wajah jelas. -
Filters → Blur (Gaussian)→ biar halus.
-
-
Simpan sebagai PNG grayscale.
2. Import ke Inkscape
-
File → Import→ masukkan PNG grayscale. -
Atur ukuran dokumen ke 80 × 80 mm (karena CNC area kerja 8×8 cm).
3. Gunakan Heightmap Extension (Kalau Ada)
👉 Inkscape default tidak ada fitur “Bitmap to Heightmap”.
Kamu butuh ekstensi tambahan seperti:
-
Pixel2Gcode (ekstensi Inkscape untuk heightmap), atau
-
Export grayscale lalu olah di dmap2gcode.
4. Jika Tetap Mau Lewat Inkscape (2.5D)
Trik sederhana:
-
Gunakan Trace Bitmap (multiple scans → grayscale, 6–8 scans).
-
Ini akan membuat beberapa lapisan path sesuai tingkat abu-abu.
-
Hasilnya mirip contour lines (tinggi rendah).
-
-
Ungroup semua path (
Shift+Ctrl+G). -
Untuk tiap path, atur Z depth berbeda (misalnya -0.5mm, -1mm, -1.5mm, dst).
-
Caranya: sebelum export ke Gcode, atur di Path to Gcode Preferences → Z depth sesuai layer.
-
Hasil akhirnya memang bukan heightmap halus, tapi mirip relief bertingkat (seperti peta topografi wajah).
5. Export ke Gcode
-
Pilih semua path hasil trace.
-
Extensions → Gcodetools → Path to Gcode. -
Atur:
-
Units: mm
-
Depth step: 0.3 mm
-
Final depth: -2.0 mm
-
Safe height: 2.0 mm
-
Feedrate: 300 mm/min
-
-
Apply → hasil
wajah-relief.ngc.
6. Jalankan di CNC 3018 Pro
-
Load file
.ngcdi Candle/GRBLControl. -
Zero-kan posisi.
-
Jalankan → mesin akan ukir wajah dalam bentuk relief bertingkat.
⚡ Catatan Penting:
-
Kalau mau hasil real relief 3D (halus), harus pakai heightmap (grayscale → kedalaman Z) dengan software tambahan.
-
Kalau pakai Inkscape saja, hasilnya berupa relief bertingkat (contour).
Tidak ada komentar:
Posting Komentar