winder / Universal-G-Code-Sender

A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.
http://winder.github.io/ugs_website/
GNU General Public License v3.0
1.86k stars 757 forks source link

Auto leveller maximum scan dimension doesn't allow negative value #2415

Closed gordon13 closed 6 months ago

gordon13 commented 6 months ago

Version

2.1.4

Hardware / Firmware

GRBL 1.1

What happened

When inputting a negative value in the minimum box, such as y=-3, this works When inputting a negative value in the Maximum box, such as y=-147, this doesn't work. It changes it to y=150

This is annoying because my gcode coordinate system goes from x=0 to 150 and y=0 to -50, so when i try to scan it, It just doesn't move in the correct direction for the y axis.

Its strange because the minimum value allows a negative value, so theoretically i can do a scan from y=0 to -47. However because of the way the material is held in place, I need margin at the top, hence why i want to start the scan at y=-3 rather than 0.

How to reproduce

Enter a negative value in the maximum input box. You should see that it doesn't let you

Operating System

No response

Anything else

No response