fix in slic3r stl input
This commit is contained in:
parent
046ed8feaa
commit
7dca1068fe
@ -113,6 +113,10 @@ class SlicerSTLInput(inkex.EffectExtension):
|
|||||||
def effect(self):
|
def effect(self):
|
||||||
args = self.options
|
args = self.options
|
||||||
|
|
||||||
|
if not os.path.exists(args.slic3r_cmd):
|
||||||
|
inkex.utils.debug("Slic3r not found. Please define a correct location.")
|
||||||
|
exit(1)
|
||||||
|
|
||||||
if args.min_fill_opacity > args.max_fill_opacity:
|
if args.min_fill_opacity > args.max_fill_opacity:
|
||||||
inkex.utils.debug("Min fill opacity may not be larger than max fill opacity. Adjust and try again!")
|
inkex.utils.debug("Min fill opacity may not be larger than max fill opacity. Adjust and try again!")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
Reference in New Issue
Block a user