Luban icon indicating copy to clipboard operation
Luban copied to clipboard

Fix: 40w laser crosshair offset when Run from Luban

Open AlmirKadric opened this issue 10 months ago • 1 comments

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

AlmirKadric avatar Apr 13 '25 04:04 AlmirKadric

Will address some of the issues in #2377

AlmirKadric avatar Apr 13 '25 04:04 AlmirKadric