printrun-src/printrun/pronterface.py

changeset 36
f4730ef55ca8
parent 35
72c4cbf64211
child 42
ea4c43494a19
--- a/printrun-src/printrun/pronterface.py	Sat Sep 23 13:07:51 2017 +0200
+++ b/printrun-src/printrun/pronterface.py	Tue Sep 26 19:08:02 2017 +0200
@@ -338,7 +338,8 @@
         self.settings._add(FloatSpinSetting("lc_svg_smoothness", 0.2, 0.1, 10.0, "Smoothness", "Smoothness of curves (smaller value = smoother curve)", "Laser"), self.update_lc_settings)
         self.settings._add(SpinSetting("lc_svg_width", 50, 1, 250, "Width (mm)", "Image width", "Laser"), self.update_lc_settings)
         self.settings._add(SpinSetting("lc_svg_height", 50, 1, 250, "Height (mm)", "Image height", "Laser"), self.update_lc_settings)
-        self.settings._add(ComboSetting("lc_svg_scalemode", "scale", ["scale", "stretch"], "Scaling mode", "scale to dimensions / stretch to dimensions", "Laser"), self.update_lc_settings)
+        self.settings._add(ComboSetting("lc_svg_scalemode", "original", ["original", "scale", "stretch"], "Scaling mode", "scale/stretch to above dimensions", "Laser"), self.update_lc_settings)
+        self.settings._add(BooleanSetting("lc_svg_offset", True, "Calculate offset to X=0, Y=0", "If enabled, move image to origin position", "Laser"), self.update_lc_settings)
 
     #  --------------------------------------------------------------
     #  Main interface handling

mercurial