printrun-src/printrun/pronterface.py

changeset 25
0e3e7fbf0bc6
parent 22
4c9bb8f93ae8
child 29
c96f20e95029
--- a/printrun-src/printrun/pronterface.py	Sat Jun 04 13:07:59 2016 +0200
+++ b/printrun-src/printrun/pronterface.py	Sat Jun 04 14:27:06 2016 +0200
@@ -868,6 +868,10 @@
 
         self.settings._add(StaticTextSetting("separator_lc_svg", "SVG processing", "", group = "Laser"))
         self.settings._add(FloatSpinSetting("lc_svg_speed_factor", 1.0, 0.1, 2.0, "Engrave speed factor", "", "Laser"), self.update_lc_settings)
+        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, 200, "Width (mm)", "Image width", "Laser"), self.update_lc_settings)
+        self.settings._add(SpinSetting("lc_svg_height", 50, 1, 200, "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(BooleanSetting("monitor", True, _("Monitor printer status"), _("Regularly monitor printer temperatures (required to have functional temperature graph or gauges)"), "Printer"), self.update_monitor)

mercurial