diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bcde9ba..22f87e45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ CHANGELOG for FlatCAM Evo beta ================================================= +6.01.2024 + +- NCC Tool: make sure to use the CutZ value set in Preferences NCC Tool section + 5.01.2024 - Follow Tool: added more parameters: simplification and union diff --git a/appPlugins/ToolNCC.py b/appPlugins/ToolNCC.py index ea845e1d..334c02c0 100644 --- a/appPlugins/ToolNCC.py +++ b/appPlugins/ToolNCC.py @@ -2517,6 +2517,10 @@ class NonCopperClear(AppTool, Gerber): geo_obj.multigeo = True geo_obj.tools = dict(tools_storage) + # make sure to use the default tool cut depth from the NCC parameters as milling tool cut depth + for k, v in geo_obj.tools.items(): + v["data"]["tools_mill_cutz"] = app_obj.options["tools_ncc_cutz"] + # ------------------------------------------------------------------------------------------------- # test if at least one tool has solid_geometry. If no tool has solid_geometry we raise an Exception # ------------------------------------------------------------------------------------------------- @@ -2810,6 +2814,10 @@ class NonCopperClear(AppTool, Gerber): geo_obj.multigeo = True geo_obj.obj_options["tools_mill_tooldia"] = '0.0' + # make sure to use the default tool cut depth from the NCC parameters as milling tool cut depth + for k, v in geo_obj.tools.items(): + v["data"]["tools_mill_cutz"] = app_obj.options["tools_ncc_cutz"] + # clean the progressive plotted shapes if it was used if self.app.options["tools_ncc_plotting"] == 'progressive': self.temp_shapes.clear(update=True)