Commit Graph

778 Commits

Author SHA1 Message Date
Marius Stanciu 85af8a2c76 - added an example with a custom titlebar 2019-09-19 03:01:23 +03:00
Marius Stanciu 4f4c029003 - updated some of the default values to more reasonable ones 2019-09-19 02:12:21 +03:00
Marius Stanciu a27dcbdc77 - made sure that if FlatCAM is registered with a file extension that it does not recognize it will exit
- added some fixes in the the file extension detection
- added some status messages for the Tcl script related methods
- made sure that optionally, when a script is run then it is also loaded into the code editor
- added control over the display of Sys Tray Icon in Edit -> Preferences -> General -> GUI Settings -> Sys Tray Icon checkbox
2019-09-19 02:00:59 +03:00
Marius Stanciu 04b3b8585f - added option to run a script from the context menu of the sys tray icon. Changed the color of the sys tray icon to a green one so it will be visible on light and dark themes 2019-09-18 18:27:28 +03:00
Marius Stanciu 2f9ad61819 - fixed issue with the sys tray icon not hiding after application close 2019-09-18 15:22:45 +03:00
Marius Stanciu cf0e40c318 - added possibility to edit the custom keywords used by the autocompleter (in Tcl Shell and in the Code Editor). It is done in the Edit -> Preferences -> Utilities
- added a new setting in Edit -> Preferences -> General -> GUI Settings -> Textbox Font which control the font on the texbox GUI elements
2019-09-18 14:30:09 +03:00
Marius Stanciu 31e111ebb3 - added sys tray menu 2019-09-18 03:37:38 +03:00
Marius Stanciu f432b065fa - fixed the parsing of the Manufacturing files when double clicking them and they are registered with FlatCAM
- fixed showing the GUI when some settings (maximized_GUI) are missing from QSettings
2019-09-18 02:33:17 +03:00
Marius Stanciu 8958ef8007 - fixed the --shellvar and --shellfile FlatCAM arguments to work together but the --shellvar has precedence over --shellfile as it is most likely that whatever variable set by --shellvar will be used in the script file run by --shellfile 2019-09-18 01:58:15 +03:00
Marius Stanciu 6723f9496c - fixed the --shellvar and --shellfile FlatCAM arguments to work together but the --shellvar has precedence over --shellfile as it is most likely that whatever variable set by --shellvar will be used in the script file run by --shellfile 2019-09-17 20:24:34 +03:00
Marius Stanciu 608f1dd958 - made --shellvars into --shellvar and make it only one list of commands passed to the Tcl. The list is separated by comma but without spaces. The variables are accessed in Tcl with the names shellvar_x where x is the index in the list of command comma separated values
- fixed an issue in the TclShell that generated an exception IndexError which crashed the software
2019-09-17 18:37:34 +03:00
Marius Stanciu 71b945c05e - 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 2019-09-17 15:25:53 +03:00
Marius Stanciu 26fe1bf5e1 - if FlatCAM is started with the 'quit' or 'exit' as argument it will close immediately and it will close also another instance of FlatCAM that may be running 2019-09-17 14:08:57 +03:00
Marius Stanciu 49ac19a221 - fixed an bug where the pywrapcp name from Google OR-Tools is not defined 2019-09-17 12:47:36 +03:00
Marius Stanciu fe97364ba5 - fixed issue #313 where TclCommand drillcncjob is spitting errors in Tcl Shell which should be ignored 2019-09-17 02:58:01 +03:00
Marius Stanciu bd0c1da007 - fixed #315 where a script run with the --shellfile argument crashed the program if it contained a TclCommand New
- added messages in the Splash Screen when running FlatCAM with arguments at startup
2019-09-17 02:38:24 +03:00
Marius Stanciu 9187004f9e - added more programmers that contributed to FlatCAM over the years, in the "About FlatCAM" -> Programmers window 2019-09-17 01:21:14 +03:00
Marius Stanciu f51a3fa038 - made the splashscreen to be showed on the current monitor on systems with multiple monitors
- added a new entry in Menu -> View -> Redraw All which is doing what the name says: redraw all loaded objects
- fixed issue where in TCl Shell the Windows paths were not understood due of backslash symbol understood as escape symbol instead of path separator
- made sure that in for the TclCommand cncjob and for the drillcncjob if one of the args is stated but no value then the value used will be the default one
- made available the TSA algorithm for drill path optimization when the used OS is 64bit. When used OS is 32bit the only available algorithm is TSA
2019-09-16 23:27:02 +03:00
Marius Stanciu 97b6e26fae - added new links in Menu -> Help (Excellon, Gerber specifications and a Report Bug) 2019-09-16 18:38:15 +03:00
Marius Stanciu cc3622d4c5 - fixed issue in the Laser postprocessor where the laser was turned on as soon as the GCode started creating an unwanted cut up until the job start 2019-09-16 18:19:46 +03:00
Marius Stanciu 727cee7aec - fixed some issues recently introduced in the TclCommands CNCJob, DrillCNCJob adn write_gcode; changed some parameters names 2019-09-16 17:20:56 +03:00
Marius Stanciu be4d4387f4 - more GUI optimizations related to being part of the Advanced category or not
- added possibility to change the positive SVG exported file color in Tool Film
2019-09-16 16:04:47 +03:00
Marius Stanciu 846e68a8c2 - some GUI optimizations 2019-09-16 05:22:07 +03:00
Marius Stanciu e9751e41b8 - added a new parameter named 'muted' for the TclCommands: cncjob, drillcncjob and write_gcode. Setting it as -muted 1 will disable the error reporting in TCL Shell 2019-09-16 04:23:16 +03:00
Marius Stanciu 4b28d980fd - fixed the App.on_view_source() method for CNCJob objects: the Gcode will now contain the Prepend and Append code from the Edit -> Preferences -> CNCJob -> CNCJob Options 2019-09-16 04:10:02 +03:00
Marius Stanciu 61120911c6 - fixed Scripts repeating multiple time when the Code Editor is used. This repetition was correlated with multiple openings of the Code Editor window (especially after an error)
- added the autocomplete keywords that can be changed to the defaults dictionary
- modified the TclCommand New so it will no longer close all tabs when called (it closed the Code Editor tab which may have been holding the code that run)
2019-09-16 04:03:19 +03:00
Marius Stanciu 78b6aa9a83 - fixed Scripts repeating multiple time when the Code Editor is used. This repetition was correlated with multiple openings of the Code Editor window (especially after an error)
- added the autocomplete keywords that can be changed to the defaults dictionary
2019-09-16 03:47:28 +03:00
Marius Stanciu 4c1163eedd - added the outname parameter (and established an default name when outname not used) for the AlignDrillGrid and AlignDrill TclCommands 2019-09-16 03:12:37 +03:00
Marius Stanciu 7aebf1c60a - added new TclCommands: NewExcellon, NewGerber
- fixed the TclCommand open_project
2019-09-16 02:57:46 +03:00
Marius Stanciu 8cba74647f - made all TclCommands not to be plotted automatically
- made sure that all TclCommands are not threaded
2019-09-16 01:39:11 +03:00
Marius Stanciu 2f553c9005 - added a new TclCommand named PlotObjects which will plot a list of FlatCAM objects
- made that after opening an object in FlatCAM it is not automatically plotted. If the user wants to plot it can use the TclCommands PlotAll or PlotObjects
- modified the TclCommands that open files to not plot the opened files automatically
2019-09-16 00:47:15 +03:00
Marius Stanciu c06317374e - added possibility to see the GCode when right clicking on the Project tab on a CNCJob object and then clicking View Source 2019-09-15 22:46:51 +03:00
Marius Stanciu b0d545eb03 - fixed isolate TclCommand to use correctly the -outname parameter 2019-09-15 17:21:15 +03:00
Marius Stanciu 8b3e1b5a77 - fixed the TclCommand cncjob to use the -outname parameter
- added some more keywords in the data_model for auto-completer
2019-09-15 16:46:48 +03:00
Marius Stanciu 30f00abce8 - fixed issue in ToolPaint that could not allow area painting of a geometry that was a list and not a Geometric element (polygon or MultiPolygon)
- fixed UI showing before the initialization of FlatCAM is finished when the last state of GUI was maximized
- finished updating the TclCommand cncjob to work for multi-geo Geometry objects with the parameters from the args
2019-09-15 13:37:06 +03:00
Marius Stanciu 21ca024324 - update the Tcl Command isolate to be able to isolate exteriors, interiors besides the full isolation, using the iso_type parameter 2019-09-15 05:19:02 +03:00
Marius Stanciu a25a70c0e1 - refactored FlatCAMGeometry.mtool_gen_cncjob() method
- fixed the TclCommandCncjob to work for multigeometry Geometry objects; still I had to fix the list of tools parameter, right now I am setting it to an empty list
2019-09-15 05:00:20 +03:00
Marius Stanciu 57f4762261 - added to the NonCopperClear.clear_copper() a parameter to be able to run it non-threaded 2019-09-14 18:27:08 +03:00
Marius Stanciu 9057d35cf9 - updated the translations (except RU) and the POT file 2019-09-14 15:51:32 +03:00
Marius Stanciu 0e75352266 - made optional the behavior of Excellon Export values following the values in the Excellon Loading section 2019-09-14 15:33:50 +03:00
Marius Stanciu 23cf31f4f0 - whenever the user changes the Excellon format values for loading files, the Export Excellon Format values will be updated 2019-09-14 14:59:39 +03:00
Marius Stanciu 1ab16f2d6f - fixed the layouts to include toolbars breaks where it was needed 2019-09-14 13:41:15 +03:00
Marius Stanciu 666d84c964 - updated the google-translated Spanish translation strings 2019-09-14 12:30:05 +03:00
Marius Stanciu 0a005cfe40 - minor changes in the Code Editor GUI
- minor changes in the 'FlatCAM About' GUI
- added a new shortcut key F5 for doing the 'Plot All'
2019-09-14 11:53:08 +03:00
Marius Stanciu fc6ae08011 - fixed a small bug 2019-09-14 02:31:44 +03:00
Marius Stanciu e82bc22caf - more string changes
- updated translation files
2019-09-14 02:14:26 +03:00
Marius Stanciu 92ebc6b96b - finished the Romanian translation update and updated the POT file 2019-09-13 23:30:23 +03:00
Marius Stanciu 56799a35b7 - added a new way to handle scripts with repeating Tcl commands
- added new buttons in the Tools toolbar for running, opening and adding new scripts
2019-09-13 22:47:38 +03:00
Marius Stanciu f6cd63021e - fixed some of the strings that were left in the old way
- updated the POT file
- updated Romanian language partially
2019-09-13 18:27:00 +03:00
Marius Stanciu 6ea9b80ad6 - converted the big strings that hold the shortcut keys descriptions to smaller string to make translations easier 2019-09-13 17:05:13 +03:00