From f91abf042f49ad4122e6f47c3ae085c99bde10c5 Mon Sep 17 00:00:00 2001 From: Ruben D Date: Thu, 22 Mar 2018 00:35:55 +0100 Subject: [PATCH] Add documentation for globals And maybe they should not be globals. Contributes to issue CURA-4557. --- plugins/ModelChecker/ModelChecker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/ModelChecker/ModelChecker.py b/plugins/ModelChecker/ModelChecker.py index 58c7e380bf..b1d61416b9 100644 --- a/plugins/ModelChecker/ModelChecker.py +++ b/plugins/ModelChecker/ModelChecker.py @@ -16,9 +16,9 @@ from UM.Scene.Iterator.DepthFirstIterator import DepthFirstIterator catalog = i18nCatalog("cura") -SHRINKAGE_THRESHOLD = 0.5 -WARNING_SIZE_XY = 150 -WARNING_SIZE_Z = 100 +SHRINKAGE_THRESHOLD = 0.5 #From what shrinkage percentage a warning will be issued about the model size. +WARNING_SIZE_XY = 150 #The horizontal size of a model that would be too large when dealing with shrinking materials. +WARNING_SIZE_Z = 100 #The vertical size of a model that would be too large when dealing with shrinking materials. class ModelChecker(QObject, Extension):