From 1ccf4b38c6e7bdfdc0d12e201982be8aaa836a4a Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Mon, 10 Jan 2022 17:36:50 +0200 Subject: [PATCH] - fixed and error in the Isolation Plugin when using the pad multi-isolations and area isolation simultaneously --- CHANGELOG.md | 1 + appPlugins/ToolIsolation.py | 5 +++-- assets/resources/dark_resources/set_colors64.png | Bin 0 -> 944 bytes assets/resources/set_colors64.png | Bin 0 -> 944 bytes 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 assets/resources/dark_resources/set_colors64.png create mode 100644 assets/resources/set_colors64.png diff --git a/CHANGELOG.md b/CHANGELOG.md index 64f238e6..03fb56aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ CHANGELOG for FlatCAM beta 10.01.2022 - added a new feature in Preferences -> Gerber: a Layer Color Manager where the user can set and edit predefined colors for the Gerber objects: loading order matter +- fixed and error in the Isolation Plugin when using the pad multi-isolations and area isolation simultaneously 9.01.2022 diff --git a/appPlugins/ToolIsolation.py b/appPlugins/ToolIsolation.py index 85e075d9..9842eb2a 100644 --- a/appPlugins/ToolIsolation.py +++ b/appPlugins/ToolIsolation.py @@ -2218,8 +2218,9 @@ class ToolIsolation(AppTool, Gerber): extra_geo = [] for apid in self.grb_obj.tools: for t_geo_dict in self.grb_obj.tools[apid]['geometry']: - if isinstance(t_geo_dict['follow'], Point): - extra_geo.append(t_geo_dict['solid']) + if 'follow' in t_geo_dict: + if isinstance(t_geo_dict['follow'], Point): + extra_geo.append(t_geo_dict['solid']) for nr_pass in range(passes, extra_passes + passes): pad_pass_geo = [] diff --git a/assets/resources/dark_resources/set_colors64.png b/assets/resources/dark_resources/set_colors64.png new file mode 100644 index 0000000000000000000000000000000000000000..fcc10dc7e795ddde91066330d77562bbc25c3e28 GIT binary patch literal 944 zcmV;h15f;kP)7e`R?(DoDGw-DDAD-h5^Z&ii%q}YkJUl!+ zJUl!s()XpZRCwtsWqlu(B=ol2ABs32c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