Creating a gcode for laser engraving

It seems that when doing a laser project of any kind you can only generate a gcode if it is from the preinstalled project library. I have spent hours searching for a solution and no matter what I do the program will not allow mw to generate a gcode.
I have tried to use a .svg file from inkscape no luck.
I have tried to use Luban and draw a simple oval with default text and still when I hit process it switch’s to the process page and does nothing.

Once on the Process tab, click on your object to select it, then hit the “Create Toolpath” button on the upper right. You should be able to use “Generate G-code” after that.

Well I feel dumb Thank you butt new problem when I hit preview the picture disappears and when the gcode is generated and sent to the SM notihing prints.

Okay, not sure what’s going on there. Can you post the .svg you’re trying to work with?

Using the .jpg I got it sent to the machine but its cutting it out just like the test box. I’m using the 1.5mm wood that it came with so maybe that’s why it’s cutting and not engraving.
And thanks for the help

Belle Elijah.svg

Also was trying to do it gray scale and no dice butt when I switched to vector then that’s when I got results.

I had no problem generating grayscale gcode from your photo, but I think I see what may be your problem. If you’re stacking two images of the same size, it’s difficult to select the bottom one, and each one needs a separate toolpath with different settings in this case. It doesn’t matter that the top 75% of your .svg is transparent empty space; it’s still in the way.

I would suggest just incorporating the text into the .jpg using GIMP (or some other raster image editor like Photoshop) and saving the results as .png rather than trying to do a two-path composite. That’s the method that involves the least Luban-wrangling.

Or, create two separate gcode files (one with the text, one with the image) with the same origin and leave your stock in place on your Snapmaker between burns so that they end up aligned. Slightly more risk.

Or, reduce the size of the .svg so that it’s just a strip of text with no empty space at the top, import both files into Luban and position them, then in the Process tab, select the image, generate a toolpath, select the text, generate another toolpath, and cross your fingers that Luban will agree to turn it into gcode this time.

Awesome I did finally figure it out (click on pic first thanks) the make 2 gc idea is awesome because the lettering is too light. Thanks a bunch.

I was having the exact same problem! I too wasn’t clicking on the object. Thanks guys, I’m back machining!