From f3bdaaa55a6c03b297924c40819d23e4603fa55b Mon Sep 17 00:00:00 2001 From: sgrogan Date: Sat, 17 Oct 2020 05:38:58 -0400 Subject: [PATCH] fix import, OpenSCAD isn't namespace workbench --- src/Mod/OpenSCAD/OpenSCADFeatures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/OpenSCAD/OpenSCADFeatures.py b/src/Mod/OpenSCAD/OpenSCADFeatures.py index 84a0ac32d4..47bac648cb 100644 --- a/src/Mod/OpenSCAD/OpenSCADFeatures.py +++ b/src/Mod/OpenSCAD/OpenSCADFeatures.py @@ -499,8 +499,8 @@ class CGALFeature: def execute(self,fp): #arguments are ignored maxmeshpoints = None #TBD: add as property - import Part, freecad.OpenSCAD.OpenSCADUtils - shape = freecad.OpenSCAD.OpenSCADUtils.process_ObjectsViaOpenSCADShape(fp.Document,fp.Children,\ + import Part, OpenSCAD.OpenSCADUtils + shape = OpenSCAD.OpenSCADUtils.process_ObjectsViaOpenSCADShape(fp.Document,fp.Children,\ fp.Operation, maxmeshpoints=maxmeshpoints) if shape: fp.Shape = shape