In the Laser 3-axis G-code Generator on Luban, you can perform the following steps to configure and generate the G-code file:
On the Job Setup pop-up window, set Work Size based on your material size and set Work Origin to determine the relative position of the work origin on the material. After you finish setting, click Confirm.
On the left toolbar, click the Import to select an object file from your computer and add it to the canvas.
Currently, the Laser G-code Generator of Snapmaker Luban supports to process the following file formats: .svg, .png, .jpeg, .jpg, .bmp, .dxf, and .stl. If you add a .stl file, you can set the model size and material thickness. Then, Snapmaker Luban automatically transforms the .stl object into multiple layers of vector images.
Snapmaker Luban cannot guarantee compatibility with all .dxf files exported from various software. For those .dxf files that are compatible, the parsing results may vary depending on the software used for export.
On the object list, click to select the object. On the Edit panel to the right of the canvas, you can set the position, size, rotation angle, and processing mode for the object. After editing, click Next to enter the Process panel.
On the object list, click to select the object. On the Process panel to the right of the canvas, click Create Toolpath.
You can select the material you use and its processing method in the Preset based on the selected Preset option, Luban will generate a set of recommended parameters.
Further Reading: