- Isolation Plugin: reversed the milling direction between the conventional and climbing milling types

This commit is contained in:
Marius Stanciu
2023-07-06 04:41:50 +03:00
parent 4d5287ce12
commit fd57fff6d0
2 changed files with 7 additions and 3 deletions

View File

@@ -7,6 +7,10 @@ CHANGELOG for FlatCAM Evo beta
================================================= =================================================
6.07.2023
- Isolation Plugin: reversed the milling direction between the conventional and climbing milling types
5.07.2023 5.07.2023
- Excellon Editor: fixed crash when editing hole diameters in the Tool Table - Excellon Editor: fixed crash when editing hole diameters in the Tool Table

View File

@@ -1841,7 +1841,7 @@ class ToolIsolation(AppTool, Gerber):
iso_name = outname + "_int_iso" iso_name = outname + "_int_iso"
# if milling type is climb then the move is counter-clockwise around features # if milling type is climb then the move is counter-clockwise around features
mill_dir = 1 if milling_type == 'cl' else 0 mill_dir = 0 if milling_type == 'cl' else 1
iso_geo = self.generate_envelope(isolated_obj, iso_offset, mill_dir, geometry=work_geo, iso_geo = self.generate_envelope(isolated_obj, iso_offset, mill_dir, geometry=work_geo,
env_iso_type=iso_t, nr_passes=i, prog_plot=prog_plot) env_iso_type=iso_t, nr_passes=i, prog_plot=prog_plot)
@@ -2033,7 +2033,7 @@ class ToolIsolation(AppTool, Gerber):
milling_type = tool_data['tools_iso_milling_type'] milling_type = tool_data['tools_iso_milling_type']
# if milling type is climb then the move is counter-clockwise around features # if milling type is climb then the move is counter-clockwise around features
mill_dir = True if milling_type == 'cl' else False mill_dir = False if milling_type == 'cl' else True
iso_t = { iso_t = {
'ext': 0, 'ext': 0,
'int': 1, 'int': 1,
@@ -2252,7 +2252,7 @@ class ToolIsolation(AppTool, Gerber):
iso_offset = -iso_offset iso_offset = -iso_offset
# if milling type is climb then the move is counter-clockwise around features # if milling type is climb then the move is counter-clockwise around features
mill_dir = 1 if milling_type == 'cl' else 0 mill_dir = 0 if milling_type == 'cl' else 1
iso_geo = self.generate_envelope(iso_obj, iso_offset, mill_dir, geometry=work_geo, env_iso_type=iso_t, iso_geo = self.generate_envelope(iso_obj, iso_offset, mill_dir, geometry=work_geo, env_iso_type=iso_t,
nr_passes=nr_pass, prog_plot=prog_plot) nr_passes=nr_pass, prog_plot=prog_plot)