How to Convert an Image to G-code

  • Updated

This is a tutorial on how to convert images to G-code for LaserPecker.

Step 1: Download and install Inkscape software

Download and install Inkscape software from the official Inkscape website.

 

1.1 Software download link: https://inkscape.org/release/inkscape-1.2.1

Install Inkscape

1.2 The interface will open after the software installation.

Inkscape interface

Step 2: Install the Inkscape auxiliary plug-in

Install the Inkscape auxiliary plug-in: Laserpecker and KM Laser.

 

2.1 Download and unzip the compressed file: LaserPercker_V2.00.zip

Download the LaserPercker_V2.0.0.zip

 

2.2 Find the Inkscape installation path, and copy the files in the compressed package to Inkscape\share\inkscape\extensions.

Find and copy the files in the compressed to the Inkscape installation path

 

2.3 Download and unzip the compressed file: KM-Laser-master.zip

Download the KM-Laser-master.zip

2.4 Copy the uncompressed folder to \Inkscape\share\inkscape (choose to replace all when prompted for file conflicts).

2.5 Open the Inkscape software. If the two plug-ins appear in the "Extesion" pull down menue, the installation has been sucsessfully completed.

the two plug-ins appear on the Inkscape software interface

Step 3: Import pictures for format conversion

3.1 Drag the picture into Inkscape software and set the size.

Drag the picture into Inkscape software and set the size

3.2 Select the picture and select "Trace bitmap outline" from the "Path" drop down menu.

Select the picture, click Path - trace bitmap outline

3.3 Adjust the parameters and click "Apply" in the lower right corner.

Adjust the parameters to the image below, and click Apply in the lower right corner

3.4 Move the resulting wireframe and delete the original image.

Pull out the wireframe and delete the original image

3.5 After exporting the G-code file successfully, there will be a set of prompt boxes which can be ignored.

Export the Gcode file

Related to

Was this article helpful?

2 out of 5 found this helpful