• Lars Kruse's avatar
    fix issue with scientific number formats in GCode · 45749e8b
    Lars Kruse authored
    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.
    45749e8b
Name
Last commit
Last update
..
Cutters Loading commit data...
Exporters Loading commit data...
Geometry Loading commit data...
Gui Loading commit data...
Importers Loading commit data...
PathGenerators Loading commit data...
PathProcessors Loading commit data...
Physics Loading commit data...
Plugins Loading commit data...
Simulation Loading commit data...
Toolpath Loading commit data...
Utils Loading commit data...
__init__.py Loading commit data...