fix in slic3r stl input

This commit is contained in:
Mario Voigt 2021-09-08 12:42:01 +02:00
parent 046ed8feaa
commit 7dca1068fe

View File

@ -113,6 +113,10 @@ class SlicerSTLInput(inkex.EffectExtension):
def effect(self):
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:
inkex.utils.debug("Min fill opacity may not be larger than max fill opacity. Adjust and try again!")
exit(1)