diff --git a/src/Mod/OpenSCAD/OpenSCADUtils.py b/src/Mod/OpenSCAD/OpenSCADUtils.py index 2f301f3e86..7d6a2f3467 100644 --- a/src/Mod/OpenSCAD/OpenSCADUtils.py +++ b/src/Mod/OpenSCAD/OpenSCADUtils.py @@ -54,6 +54,11 @@ def searchforopenscadexe(): for testpath in testpaths: if os.path.isfile(testpath): return testpath + elif sys.platform == 'darwin': + #test the default path + testpath="/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD" + if os.path.isfile(testpath): + return testpath else: #unix p1=subprocess.Popen(['which','openscad'],stdout=subprocess.PIPE) if p1.wait() == 0: