Fix: 40w laser crosshair offset when Run from Luban
Currently the required custom G-Codes (M2003 and M2004) which offset the 20w & 40w lasers to align their crosshairs, are not implemented on the controller side. This results in the jobs using the 20w & 40w lasers to be shifted to the right when "Run from Luban". When checking the controller (LCD panel), there was a section in the laser configuration for these values and it is being handled correctly when a G-Code file is run directly from the controller (LCD).
To temporarily alleviate this issue, I introduced a moduleOriginOffset feature which enables us to define module specific origin offsets within the machine definition files. I also introduced a new module definition for the crosshair so that it can ben controlled from the machine settings window. Lastly I hardcoded a default crosshair offset.
Potential Improvements:
- make the offset values configurable rather than hardcoded
Will address some of the issues in #2377