Add configurable X/Y offset parameters for plotter positioning

- Added offset-x and offset-y parameters to plotter-lod.inx (default: X=180, Y=0)
- Updated plotter-lod.py to apply offsets to all G-code coordinates
- Modified footer to use dynamic offset values
- Allows users to adjust plotter start position through GUI without code changes
This commit is contained in:
devdesk
2025-12-03 19:43:40 +02:00
parent 925a23b0ef
commit 51a436ff5b
2 changed files with 17 additions and 0 deletions

View File

@@ -12,6 +12,8 @@
<param name="plotter-active" type="int" min="0" max="20000" _gui-text="Pen Active Power S# (0-255 or 0-12000):">1000</param>
<param name="plotter-on-delay" type="float" min="0" max="1000" _gui-text="Pen-On Delay (ms or s):">0,2</param>
<param name="plotter-off-delay" type="float" min="0" max="1000" _gui-text="Pen-Off Delay (ms or s):">0,2</param>
<param name="offset-x" type="float" min="-1000" max="1000" _gui-text="X Offset (mm or in):">180</param>
<param name="offset-y" type="float" min="-1000" max="1000" _gui-text="Y Offset (mm or in):">0</param>
<param name="passes" type="int" min="1" max="100" _gui-text="Passes:">1</param>
<param name="pass-depth" type="float" min="0" max="10" _gui-text="Pass Depth (mm or in):">1</param>
<param name="directory" type="string" _gui-text="Directory:"></param>