From e0a0dc2f0d3cb89f583138ff3d928a778e8adccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Bra=C3=B1a?= Date: Sat, 2 May 2026 23:22:41 +0200 Subject: [PATCH] =?UTF-8?q?EarthWorks:=20fix=20except=20gen=C3=A9rico=20->?= =?UTF-8?q?=20Part.OCCError?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PVPlantEarthWorks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVPlantEarthWorks.py b/PVPlantEarthWorks.py index e135e59..04f1880 100644 --- a/PVPlantEarthWorks.py +++ b/PVPlantEarthWorks.py @@ -760,7 +760,7 @@ class EarthWorksTaskPanel: if len(section) > 0: try: boundary.add(Part.makePolygon(section)) - except: + except Part.OCCError: pass Part.show(boundary)''' #mesh.smooth("Laplace", 3)