From 9a6c1546d7dc17f7a20555729189a3f5b17d76d5 Mon Sep 17 00:00:00 2001 From: Daniel T Date: Fri, 3 Jul 2020 18:43:56 -0500 Subject: [PATCH] correcting errors that referenced --scale, when --rescale is the proper CLI option. --- GL_Stl2Slices.py | 4 ++-- Stl2Slices.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GL_Stl2Slices.py b/GL_Stl2Slices.py index 32e2002..ea269db 100644 --- a/GL_Stl2Slices.py +++ b/GL_Stl2Slices.py @@ -186,7 +186,7 @@ def __init__(self, stlfilename, scale=1, if size[0]>65 or size[1]>115: sizestr="("+str(int(size[0]))+"x"+str(int(size[2]))+")" areastr="(65x115)" - errmsg="Model is too big "+sizestr+" for build area "+areastr+". Maybe try another orientation, use the scale argument (-s or --scale) or cut up the model." + errmsg="Model is too big "+sizestr+" for build area "+areastr+". Maybe try another orientation, use the scale argument (-r or --rescale) or cut up the model." if not self.gui: print (errmsg) else: @@ -242,4 +242,4 @@ def __init__(self, stlfilename, scale=1, photonfile.replaceBitmaps(rlestack) photonfile.writeFile(photonfilename) - print("Elapsed: ", "%.2f" % (time.time() - t1), "secs") \ No newline at end of file + print("Elapsed: ", "%.2f" % (time.time() - t1), "secs") diff --git a/Stl2Slices.py b/Stl2Slices.py index aae7e14..52bbcf6 100644 --- a/Stl2Slices.py +++ b/Stl2Slices.py @@ -307,7 +307,7 @@ def __init__(self, stlfilename, scale=1, size=(self.cmax[0]-self.cmin[0],self.cmax[1]-self.cmin[1],self.cmax[2]-self.cmin[2]) sizestr="("+str(int(size[0]*0.047))+"x"+str(int(size[2]*0.047))+")" areastr="(65x115)" - errmsg="Model is too big "+sizestr+"for build area "+areastr+". Maybe try another orientation, use the scale argument (-s or --scale) or cut up the model." + errmsg="Model is too big "+sizestr+"for build area "+areastr+". Maybe try another orientation, use the scale argument (-r or --rescale) or cut up the model." if not self.gui: print (errmsg) else: