From b4c817722bcf09379cb4aa91f6f5e625f876d48f Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Wed, 29 Sep 2021 00:10:30 +0300 Subject: [PATCH] - minor changes --- appParsers/ParseGerber.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/appParsers/ParseGerber.py b/appParsers/ParseGerber.py index 841e36f9..ea0fcab6 100644 --- a/appParsers/ParseGerber.py +++ b/appParsers/ParseGerber.py @@ -1898,10 +1898,10 @@ class Gerber(Geometry): the geometry appropriately. This call ``scale()``. Don't call it again in descendants. - :param obj_units: "IN" or "MM" - :type obj_units: str - :return: Scaling factor resulting from unit change. - :rtype: float + :param obj_units: "IN" or "MM" + :type obj_units: str + :return: Scaling factor resulting from unit change. + :rtype: float """ if obj_units.upper() == self.units.upper(): @@ -1910,10 +1910,10 @@ class Gerber(Geometry): if obj_units.upper() == "MM": factor = 25.4 - self.app.log.debug("parseGerber.Gerber.convert_units() --> Factor: 25.4") + self.app.log.debug("parseGerber.Gerber.convert_units() --> Factor: %s" % str(factor)) elif obj_units.upper() == "IN": factor = 1 / 25.4 - self.app.log.debug("parseGerber.Gerber.convert_units() --> Factor: %s" % str(1 / 25.4)) + self.app.log.debug("parseGerber.Gerber.convert_units() --> Factor: %s" % str(factor)) else: self.app.log.error("Unsupported units: %s" % str(obj_units)) self.app.log.debug("parseGerber.Gerber.convert_units() --> Factor: 1")