Commit 4a5e4cda authored by sumpfralle's avatar sumpfralle

fixed the task summary (removed some irrelevant items for ContourFollow)

removed milling style options for ContourPolygonStrategy


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@773 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent e98e735f
...@@ -1173,9 +1173,11 @@ class ProjectGui: ...@@ -1173,9 +1173,11 @@ class ProjectGui:
if process["path_strategy"] == "EngraveStrategy": if process["path_strategy"] == "EngraveStrategy":
lines.append("Engrave offset: %.3f" % process["engrave_offset"]) lines.append("Engrave offset: %.3f" % process["engrave_offset"])
else: else:
lines.append("Overlap: %d%%" % process["overlap_percent"])
lines.append("Milling style: %s" % process["milling_style"]) lines.append("Milling style: %s" % process["milling_style"])
lines.append("Material allowance: %.2f%s" % (process["material_allowance"], unit)) if process["path_strategy"] != "ContourFollowStrategy":
lines.append("Overlap: %d%%" % process["overlap_percent"])
lines.append("Material allowance: %.2f%s" \
% (process["material_allowance"], unit))
if process["path_strategy"] != "SurfaceStrategy": if process["path_strategy"] != "SurfaceStrategy":
lines.append("Maximum step down: %.2f%s" % (process["step_down"], unit)) lines.append("Maximum step down: %.2f%s" % (process["step_down"], unit))
else: else:
...@@ -1336,10 +1338,8 @@ class ProjectGui: ...@@ -1336,10 +1338,8 @@ class ProjectGui:
"MaxStepDownControl", "MaterialAllowanceControl", "MaxStepDownControl", "MaterialAllowanceControl",
"OverlapPercentControl"), "OverlapPercentControl"),
"ContourPolygonStrategy": ("GridDirectionX", "GridDirectionY", "ContourPolygonStrategy": ("GridDirectionX", "GridDirectionY",
"GridDirectionXY", "MillingStyleConventional", "MillingStyleIgnore", "MaxStepDownControl",
"MillingStyleClimb", "MillingStyleIgnore", "MaterialAllowanceControl", "OverlapPercentControl"),
"MaxStepDownControl", "MaterialAllowanceControl",
"OverlapPercentControl"),
"ContourFollowStrategy": ("MillingStyleConventional", "ContourFollowStrategy": ("MillingStyleConventional",
"MillingStyleClimb", "MillingStyleIgnore", "MillingStyleClimb", "MillingStyleIgnore",
"MaxStepDownControl"), "MaxStepDownControl"),
...@@ -2889,7 +2889,7 @@ class ProjectGui: ...@@ -2889,7 +2889,7 @@ class ProjectGui:
STRATEGY_GENERATORS = { STRATEGY_GENERATORS = {
"PushRemoveStrategy": ("PushCutter", "SimpleCutter"), "PushRemoveStrategy": ("PushCutter", "SimpleCutter"),
"ContourPolygonStrategy": ("PushCutter", "ContourPolygonStrategy"), "ContourPolygonStrategy": ("PushCutter", "ContourCutter"),
"ContourFollowStrategy": ("ContourFollow", "SimpleCutter"), "ContourFollowStrategy": ("ContourFollow", "SimpleCutter"),
"SurfaceStrategy": ("DropCutter", "PathAccumulator"), "SurfaceStrategy": ("DropCutter", "PathAccumulator"),
"EngraveStrategy": ("EngraveCutter", "SimpleCutter")} "EngraveStrategy": ("EngraveCutter", "SimpleCutter")}
......
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