Commit 67cc9e10 authored by Guillaume Seguin's avatar Guillaume Seguin

Truncate "filament used" amount to 0.01 precision

parent cda81f0d
......@@ -1373,7 +1373,7 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
def output_gcode_stats(self):
gcode = self.fgcode
print gcode.filament_length, _("mm of filament used in this print")
print _("%.2fmm of filament used in this print") % gcode.filament_length
print _("The print goes:")
print _("- from %.2f mm to %.2f mm in X and is %.2f mm wide") % (gcode.xmin, gcode.xmax, gcode.width)
print _("- from %.2f mm to %.2f mm in Y and is %.2f mm deep") % (gcode.ymin, gcode.ymax, gcode.depth)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment