fix issue with scientific number formats in GCode
The "decimal" module can cause the output of values like "0E-12"
with the "%s" formatting string.
Test case:
import decimal; print decimal.Decimal("0.0000001")
=> 1E-7
This fix uses a "%.?f" (? = number of digits) format string based
the number of significant digits as given via "minimum step width"
in GCode settings.
Showing
Please
register
or
sign in
to comment