Commit 9c4e1e1d authored by sumpfralle's avatar sumpfralle

fixed multiple (superfluous) passes for surfacing strategy

* "step_down" parameter was taken into account -> "None" should be used instead
* Closed #3425472 reported by Gene Miller - http://sourceforge.net/tracker/index.php?func=detail&aid=3425472&group_id=237831&atid=1104176


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@1206 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 8ed64b23
...@@ -109,8 +109,7 @@ class ProcessStrategyContour(pycam.Plugins.PluginBase): ...@@ -109,8 +109,7 @@ class ProcessStrategyContour(pycam.Plugins.PluginBase):
class ProcessStrategySurfacing(pycam.Plugins.PluginBase): class ProcessStrategySurfacing(pycam.Plugins.PluginBase):
DEPENDS = ["ParameterGroupManager", "PathParamOverlap", DEPENDS = ["ParameterGroupManager", "PathParamOverlap",
"PathParamStepDown", "PathParamMaterialAllowance", "PathParamMaterialAllowance", "PathParamPattern"]
"PathParamPattern"]
CATEGORIES = ["Process"] CATEGORIES = ["Process"]
def setup(self): def setup(self):
...@@ -139,8 +138,7 @@ class ProcessStrategySurfacing(pycam.Plugins.PluginBase): ...@@ -139,8 +138,7 @@ class ProcessStrategySurfacing(pycam.Plugins.PluginBase):
path_get_func = self.core.get("get_parameter_sets")( path_get_func = self.core.get("get_parameter_sets")(
"path_pattern")[path_pattern["name"]]["func"] "path_pattern")[path_pattern["name"]]["func"]
grid_func, kwargs = path_get_func(path_pattern) grid_func, kwargs = path_get_func(path_pattern)
motion_grid = grid_func((low, high), motion_grid = grid_func((low, high), None,
process["parameters"]["step_down"],
step_width=(tool_params["radius"] / 4.0), step_width=(tool_params["radius"] / 4.0),
line_distance=line_distance, **kwargs) line_distance=line_distance, **kwargs)
return path_generator, motion_grid, (low, high) return path_generator, motion_grid, (low, high)
......
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