فهرست منبع

- small change in TclCommandExportSVG

Marius Stanciu 5 سال پیش
والد
کامیت
604f4b72d6
2فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 1 0
      CHANGELOG.md
  2. 3 3
      tclCommands/TclCommandExportSVG.py

+ 1 - 0
CHANGELOG.md

@@ -11,6 +11,7 @@ CHANGELOG for FlatCAM beta
 
 - working on adding DPI setting for PNG export in the Film Tool
 - finished working in adding DPI settings for PNG export in Film Tool although there are some limitations due of Reportlab
+- small change in TclCommandExportSVG
 
 26.09.2020
 

+ 3 - 3
tclCommands/TclCommandExportSVG.py

@@ -21,12 +21,12 @@ class TclCommandExportSVG(TclCommand):
     arg_names = collections.OrderedDict([
         ('name', str),
         ('filename', str),
-        ('scale_factor', float)
+        ('scale_stroke_factor', float)
     ])
 
     # Dictionary of types from Tcl command, needs to be ordered , this  is  for options  like -optionname value
     option_types = collections.OrderedDict([
-        ('scale_factor', float)
+        ('scale_stroke_factor', float)
     ])
 
     # array of mandatory options for current Tcl command: required = {'name','outname'}
@@ -39,7 +39,7 @@ class TclCommandExportSVG(TclCommand):
             ('name', 'Name of the object export. Required.'),
             ('filename', 'Absolute path to file to export.\n'
                          'WARNING: no spaces are allowed. If unsure enclose the entire path with quotes.'),
-            ('scale_factor', 'Multiplication factor used for scaling line widths during export.')
+            ('scale_stroke_factor', 'Multiplication factor used for scaling line widths during export.')
         ]),
         'examples': ['export_svg my_geometry my_file.svg']
     }