-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Sonny,
In an attempt to make sure I don't run into the problems we discussed (http://github.com/grbl/grbl/issues/74), I've had a go at integrating preGrbl into my python GUI (which I'll be making a repo for soon). However it doesn't seem to round the numbers, e.g. X100.00000 remains as-is.
I've played around with the 'ndigits' parameter and changed the unit_conv function to
def unit_conv(val) : # Converts value to mm
if gc['inches_mode'] : val *= inch2mm
return fout_conv(val) ### this line changedbut to no avail. Is there an easy modification to the code which would do the rounding?
Metadata
Metadata
Assignees
Labels
No labels