Fixed custom control M114 example to also match negative coordinates
This commit is contained in:
parent
450e24bbc2
commit
9fd8b09e34
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ a GCODE script including user input.
|
|||
children:
|
||||
- name: Get Position
|
||||
command: M114
|
||||
regex: "X:([0-9.]+) Y:([0-9.]+) Z:([0-9.]+) E:([0-9.]+)"
|
||||
regex: "X:([-+]?[0-9.]+) Y:([-+]?[0-9.]+) Z:([-+]?[0-9.]+) E:([-+]?[0-9.]+)"
|
||||
template: "Position: X={0}, Y={1}, Z={2}, E={3}"
|
||||
- name: Fun stuff
|
||||
children:
|
||||
|
|
|
|||
Loading…
Reference in a new issue