Commit b19845dd authored by sumpfralle's avatar sumpfralle

fix "task description" for the specific cutter types


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@525 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 61eaa9a3
...@@ -754,11 +754,14 @@ class ProjectGui: ...@@ -754,11 +754,14 @@ class ProjectGui:
else: else:
tool_desc += "(%.4f%s / %.4f%s)" % ( 2 * tool["tool_radius"], unit, 2 * tool["torus_radius"], unit) tool_desc += "(%.4f%s / %.4f%s)" % ( 2 * tool["tool_radius"], unit, 2 * tool["torus_radius"], unit)
lines.append(tool_desc) lines.append(tool_desc)
lines.append("Speed: %drpm / Feedrate: %d%s/minute" % (tool["speed"], tool["feedrate"], unit)) lines.append("Spindle speed: %drpm / Feedrate: %d%s/minute" % (tool["speed"], tool["feedrate"], unit))
lines.append("Path: %s / %s" % (process["path_generator"], process["path_postprocessor"])) lines.append("Path: %s / %s" % (process["path_generator"], process["path_postprocessor"]))
lines.append("Overlap: %d%%" % process["overlap_percent"]) if process["path_generator"] == "EngraveCutter":
lines.append("Material allowance: %.2f%s" % (process["material_allowance"], unit)) lines.append("Engrave offset: %.3f" % process["engrave_offset"])
if process["path_generator"] == "PushCutter": else:
lines.append("Overlap: %d%%" % process["overlap_percent"])
lines.append("Material allowance: %.2f%s" % (process["material_allowance"], unit))
if process["path_generator"] != "DropCutter":
lines.append("Maximum step down: %.2f%s" % (process["step_down"], unit)) lines.append("Maximum step down: %.2f%s" % (process["step_down"], unit))
else: else:
lines.append("No task selected") lines.append("No task selected")
......
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