- small change in TclCommandExportSVG

This commit is contained in:
Marius Stanciu 2020-10-06 12:51:25 +03:00 committed by Marius
parent 8cb4b5abf8
commit 604f4b72d6
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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']
}