- NCC Tool - remade and optimized the copper clearing with rest machining: now it works as expected with a reasonable performance

This commit is contained in:
Marius Stanciu
2020-06-14 03:59:27 +03:00
committed by Marius
parent 6db5def032
commit 881d461b58
3 changed files with 225 additions and 184 deletions

View File

@@ -2588,6 +2588,10 @@ class ToolPaint(AppTool, Gerber):
if cp:
for x in cp:
total_geometry += list(x.get_objects())
# clean the geometry
new_geo = [g for g in total_geometry if g and not g.is_empty]
total_geometry = new_geo
final_solid_geometry += total_geometry
except Exception as err: