Sharing the macros I made to swap work origin home between my router and laser.
You’ll need to edit them with the offsets measured between your own router and laser. You should use the same numbers (one negative) in both macros so you can switch back and forth without introducing error.
I also have a prompt in the macro so you can STOP and not reset the work origin zero, if for example you pressed the wrong macro button. It also has a reminder that you still must manually change the BuildBotics Tool Configuration in the settings between your laser and router. It’d be a nice feature add if someday that can be automated inside a macro. You’ll also want to manually update your Z-zero when switching, since the z offsets are variable depending on the bit stickout and maybe how you mount the laser.
Bit to Laser.ngc (325 Bytes)
Laser to Bit.ngc (328 Bytes)
My laser has a visible red laser which is what I use as “zero”, then the offset between the aiming red laser and the cutting laser is managed in my Lightburn settings/gcode.
Hope this helps!
edit: I think my macro filenames can be confusing. I intended them to mean “move laser to the bit location” but it could be read as “switch from laser to the bit” which is the opposite! I actually label these “Laser->Bit Home” and “Bit->Laser Home”.