Building a job profile

Anyone know if there’s a way to setup job profiles for repeatable formats? The laser automatically goes to the same x,y start position after you set the z. Then you need to move the origin start point to where you want it on the piece you’re engraving. I engrave on just a few established objects repeatedly. I’d love to set a job profile for each of my pieces so that I don’t need to move the start point every time I run a job.

This is really annoying for me too. I normally Laser on 300x300 pieces. I build an helper, that my workpieces will be on the same position every time. So i just start, lower the z for 330mm and start the job. This works perfectly on my honeycomb for 3mm Wood sheets.

But lowering 330 is always 6 click on Touchscreen with waiting for the finished movement. Would be nicer to be able to lower for custom height. I do not have a PC at my snapmaker, so i need to use the Touchscreen…

In theory, build an gcode.nc file with the necessary information and start it without setting a work origin or enter the necessary lines before the job itself.

Have a look at workspaces G53 and G92:
https://wiki.snapmaker.com/en/Snapmaker_Luban/manual/2_supported_gcode_references

The part of it that makes it not work here is the fact when a job is started via touchscreen, it always resets to the middle. So running a separate gcode files to set it, will be moot. You also can’t run it to move into position first, as when it’s finished, the snapmaker defaults to moving the head back up, and again on start of a new one, changes the origin.

My guides fix this entirely, but it’s a bit more difficult to incorporate them if you intend to use Luban vs Lightburn. Since Luban doesn’t allow you to set a custom start/end gcode, you’ll have to insert them yourself. However, building in the origin into the gcode itself makes it all fully repeatable.

@JeepersChuck @Wyphorn What software do you use? Luban or Lightburn?

OK, I see you are the more if not most experienced user here.

My point of thinking with 10W laser was, the workorigin is saved between several files, at least if executed by the touchscreen.
If I send a new nc-file over wifi I can use the same origin so why not set it in a NC-file itself?

If the default work origin of other laser heads is in the middle and there is no chance to get the same origin between multiple files, it’s time for a Bugfix request.

Nah, there’s plenty of knowledge around here. We all boost each other up :slight_smile: No one has the most experience, just different experience. Multiple ideas can all come to the same destination.

I think either allowing header/footer gcode in Luban and the repeat function would be really good additions. We should push for those. Repeat function for those who use the touchscreen, and gcode options for those who like to bake it in for running via Luban or other remote solutions.

EDIT: I may have come up with an easy, albeit dirty solution to option 1; gcode. :confused: Please hold.

EDIT2: Yep, I found a way to have Luban insert a start gcode that can be used to set the origin automatically. It’s a bit hacky and not suggested for those who are scared to modify files. However, it can be useful for those who want to stick with Luban and not pay for Lightburn. I’ll be making a guide soonish.

2 Likes

@Skreelink is a simple being, found a hack, must make a guide!
I think I’ve read all of your guides 3-6 times… Thank you!

1 Like

That’s awesome! I looked at the gcode but didn’t see a setting for “start position”. I have a a few things that I frequently engrave and just use the same file every time. I have a guide that I 3d printed so it’s in the same position but some designs take up nearly the whole bed and it’s easier to align with the bottom origins rather than the center origin. I’ve played with gcode before so I’m game.

Sort of lengthy, but that’s because I tried to put as much detail and walkthrough as I could think of since it requires editing a file that’s part of Luban, though not critical.

1 Like