- in Tcl Commands: export_dxf and export_gerber, fixed a mistake in declaring a wrong name of a required option

- in Tcl Command set_path added an optional parameter which allows to create a directory where path is to be set, if the directory does not exist
This commit is contained in:
Marius Stanciu
2023-03-13 23:08:57 +02:00
parent 3b3c87e953
commit 1dff9cc566
6 changed files with 27 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ class TclCommandExportDXF(TclCommand):
export_dxf path/my_geometry filename
"""
# List of all command aliases, to be able use old names for backward compatibility (add_poly, add_polygon)
# List of all command aliases, to be able to use old names for backward compatibility (add_poly, add_polygon)
aliases = ['export_dxf', 'edxf']
description = '%s %s' % ("--", "Export a Geometry object as a DXF File.")
@@ -35,7 +35,7 @@ class TclCommandExportDXF(TclCommand):
])
# array of mandatory options for current Tcl command: required = ['name','outname']
required = ['obj_name']
required = ['name']
# structured help for current command, args needs to be ordered
help = {