From 604f4b72d6d4665afceb208ce18ffef87f837b9d Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Tue, 6 Oct 2020 12:51:25 +0300 Subject: [PATCH] - small change in TclCommandExportSVG --- CHANGELOG.md | 1 + tclCommands/TclCommandExportSVG.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 658de94c..7a7cdab3 100644 --- a/CHANGELOG.md +++ b/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 diff --git a/tclCommands/TclCommandExportSVG.py b/tclCommands/TclCommandExportSVG.py index ae5179c4..29d5655c 100644 --- a/tclCommands/TclCommandExportSVG.py +++ b/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'] }