more convenience in scale display

This commit is contained in:
Mario Voigt 2022-01-04 20:32:15 +01:00
parent 4f6e9ec997
commit 84801544bd
2 changed files with 3 additions and 3 deletions

View File

@ -153,7 +153,7 @@ class LaserCheck(inkex.EffectExtension):
#inkex.utils.debug(vxTotal)
#inkex.utils.debug(vyTotal)
#inkex.utils.debug(vScaleY)
inkex.utils.debug("Document scale (x/y): {:0.5f}".format(vScaleX))
inkex.utils.debug("Document scale (x/y): {:0.5f}{} ({:0.5f}px)".format(self.svg.unittouu(str(vScaleX) + doc_units), doc_units, vScaleX))
if round(vScaleX, 5) != 1.0:
inkex.utils.debug("WARNING: Document not 100%!")
scaleX = namedView.get('scale-x')

View File

@ -4,9 +4,9 @@
"id": "fablabchemnitz.de.laser_check",
"path": "laser_check",
"dependent_extensions": null,
"original_name": "Laser Checkr",
"original_name": "Laser Check",
"original_id": "fablabchemnitz.de.laser_check",
"license": "GNU GPL v4",
"license": "GNU GPL v3",
"license_url": "",
"comment": "",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/laser_check",