Add plotter_disable_command parameter with default value M5

This commit is contained in:
devdesk
2025-12-04 14:40:58 +02:00
parent 3b5a7e0e8c
commit e345067286
2 changed files with 5 additions and 1 deletions

View File

@@ -6,7 +6,8 @@
<dependency type="executable" location="extensions">inkex</dependency>
<param name="plotter-command" type="string" _gui-text="Drawing ON Command:">M03</param>
<param name="plotter-off-command" type="string" _gui-text="Drawing OFF Command:">M05</param>
<param name="plotter-off-command" type="string" _gui-text="Drawing OFF Command:">M03</param>
<param name="plotter-disable-command" type="string" _gui-text="Plotter Disable Command:">M05</param>
<param name="travel-speed" type="int" min="0" max="15000" _gui-text="Pen Up Travel Speed (mm/min or in/min):">3000</param>
<param name="plotter-speed" type="int" min="0" max="15000" _gui-text="Pen Down Travel Speed (mm/min or in/min):">750</param>
<param name="plotter-active" type="int" min="0" max="20000" _gui-text="Pen Active Power S# (0-255 or 0-12000):">1000</param>

View File

@@ -622,6 +622,9 @@ class LaserGcode(inkex.Effect):
{"name": "--plotter-off-command", "type": str, "dest": "plotter_off_command",
"default": "M05", "help": "Laser gcode end command"},
{"name": "--plotter-disable-command", "type": str, "dest": "plotter_disable_command",
"default": "M5", "help": "Plotter disable command"},
{"name": "--plotter-speed", "type": int, "dest": "plotter_speed", "default": 750,
"help": "Laser speed (mm/min},"},