Skip to content

Commit

Permalink
Raise exception if the OpenSCAD executeable is unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
5263 authored and wwmayer committed Jul 1, 2014
1 parent 5374302 commit 691fd11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/OpenSCAD/OpenSCADUtils.py
Expand Up @@ -136,6 +136,8 @@ def check_output2(*args,**kwargs):
(tempfilenamegen.next(),outputext))
check_output2([osfilename,'-o',outputfilename, inputfilename])
return outputfilename
else:
raise OpenSCADError('OpenSCAD executeable unavailable')

def callopenscadstring(scadstr,outputext='csg'):
'''create a tempfile and call the open scad binary
Expand Down

0 comments on commit 691fd11

Please sign in to comment.