From 71b945c05e2a6c213b17884bad534e28ceb0c1d3 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Tue, 17 Sep 2019 15:25:53 +0300 Subject: [PATCH] - added a new command line parameter for FlatCAM named '--shellvars' which can load a text file with variables for Tcl Shell in the format: one variable assignment per line and looking like: 'a=3' without quotes --- FlatCAMApp.py | 52 +++++++++++++++++++++++++++++++++++++++++---------- README.md | 1 + 2 files changed, 43 insertions(+), 10 deletions(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 7532f095..57d3b1a6 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -80,10 +80,14 @@ class App(QtCore.QObject): # Get Cmd Line Options cmd_line_shellfile = '' - cmd_line_help = "FlatCam.py --shellfile=" + cmd_line_shellvars = '' + + cmd_line_help = "FlatCam.py --shellfile=\nFlatCam.py --shellvars=