Commit 9d0a70f6 authored by sumpfralle's avatar sumpfralle

improved readability of estimated machine time in GCode header (no precision digits)


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@988 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 286adb31
...@@ -3858,7 +3858,7 @@ class ProjectGui: ...@@ -3858,7 +3858,7 @@ class ProjectGui:
for toolpath in export_toolpaths: for toolpath in export_toolpaths:
machine_time += toolpath.get_machine_time(safety_height) machine_time += toolpath.get_machine_time(safety_height)
all_info = meta_data + os.linesep \ all_info = meta_data + os.linesep \
+ "Estimated machine time: %g minutes" % machine_time + "Estimated machine time: %.0f minutes" % machine_time
minimum_steps = [self.settings.get("gcode_minimum_step_x"), minimum_steps = [self.settings.get("gcode_minimum_step_x"),
self.settings.get("gcode_minimum_step_y"), self.settings.get("gcode_minimum_step_y"),
self.settings.get("gcode_minimum_step_z")] self.settings.get("gcode_minimum_step_z")]
......
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