Accurate, Repeatable Laser Guide

ADDITIONAL FINDINGS AND INFO.

For those who decide to use the compensation in Luban, where you would move the snapmaker to machine origin 0,0 and set origin. There’s a quicker method.

Export the gcode to file first, then open the .nc file in a text editor like Notepad++, after the ; G-code START <<< line, add G53. This tells the machine to use machine coordinates instead of work coordinates… which is what we want by moving it to 0,0 to begin with. This saves the hassle so you can just zip through and hit start. :slight_smile: Just don’t forget to set your material height.

Also I came across this thread: Feature request: Auto on/off exhaust fan
which got me thinking, and now I have a start/end block I paste into my laser projects that enforces machine coordinates, turns the enclosure exhaust fan on, runs the project, then when it’s done, turns the fan off, turns the LEDs on, and homes the machine to bring the plate forward and move the toolhead out of the way.

For laser start, which forces machine coords and turns on the fan, put after ; G-code START <<<;

G53
M1010 S4 P100

For laser finish, which turns off the fan, turns on the LEDs, and homes, at the end of the file;

G28
M1010 S4 P0
M1010 S3 P100

NOTE; Do not use G53 if you’re compensating your required offset via machine coords, ONLY if you’ve already compensated it Luban.