fix import, OpenSCAD isn't namespace workbench

This commit is contained in:
sgrogan
2020-10-17 05:38:58 -04:00
committed by wwmayer
parent 01af171a31
commit f3bdaaa55a

View File

@@ -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