- minor changes

This commit is contained in:
Marius Stanciu
2021-09-29 00:10:30 +03:00
committed by Marius Stanciu
parent ad5bf57861
commit b4c817722b

View File

@@ -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")