1.6 w laser keeps starting at -300,-300 when using Luban, fine if 'send to device'

Keep in mind how the origin functionally works. All your projects are going to be started from 0,0, and where you set that on the machine is going to determine where the project starts.

In Luban, the way they do the “work origin” selection is misleading, as it only changes what is displayed on the screen. You can position anything on them to get the exact same result.

This:


Is functionally the same as this:

Note the position in the upper right is exactly the same. The center 0,0 is where the laser is, that’s where you’d set origin on the touchscreen. In the workspace in Luban, this position as it relates to the bed is not clear, and it’s pretty crap they do this.

On the touchscreen, when you start a file locally, it ALWAYS sets the default origin to the center of the bed, basically putting 0,0 at the center of the bed. Afterwards, you move the machine around and set origin, now THAT location is 0,0. The Snapmaker REMEMBERS THIS so if you try to start your next project in say, Luban. Your 0,0 is still at that odd position you placed it, since it didn’t reset by going back through the origin process.

However; If you use the camera capture function, then Luban will set the 0,0 origin at the lower left corner of the bed. That’s why it seems to work fine with camera capture, but fails without. If you want to use the center of the bed again, you will need to reset the work origin. Since it, again, remembers that work origin so unless you’re still using that exact location, will need to be reset.

You can easily make a macro for this in Luban. While this is for the 10W laser, you can find the center of the bed with the 1.6W by opening any project and after it centers on the bed (for you to jog and set your origin), look at the “Machine Coordinates” and note those down. Tap the add macro button (the + at the bottom right) and input this:

G53
G0 X172.5 Y178.5 F3000
G54
G92 X0 Y0

Save this as a “center origin” macro, or whatever you want. (For the 1.6W input the X/Y machine coords you got before, this is for the 10W). What this does, is put movement into machine coords (G53), move to the center of the platform (G0 etc), changes back to work coord mode (G54), then sets that as 0,0 (G92 etc).

You can also forgo all this together and simply use the work coordinate system like I do. Makes for a very streamlined “hands off” approach. The only time I physically go to the machine is to load the material. You just need to make it flush with the left side of the bed, and offset the front by what you found in the tests for Y. It’s a bit annoying with the testing and tuning to get the origin exactly right, but once it is, makes projects a lot smoother and accurate. :slight_smile: