Commit Graph

803 Commits

Author SHA1 Message Date
Marius Stanciu 42d26c1323 - fixed display of distance labels and code optimizations in ToolPaint and NCC Tool 2019-09-22 03:54:25 +03:00
Marius Stanciu 03dd0ee8b6 - fixed CutOut Tool to work in legacy graphic engine 2019-09-22 02:52:40 +03:00
Marius Stanciu 5a4f5dbe2f - fixed zoom directions legacy graphic engine (previous commit)
- fixed display of MultiGeo geometries in legacy graphic engine
- fixed Paint tool to work in legacy graphic engine
2019-09-22 02:38:56 +03:00
Marius Stanciu e8109d2007 - fixed Gerber Editor to work in legacy graphic engine
- fixed NCC tool to work in egacy graphic engine
2019-09-22 02:03:19 +03:00
Marius Stanciu 63b261685d - fixed Geometry Editor to work in legacy graphic engine
- fixed Excellon Editor to work in legacy graphic engine
2019-09-22 00:05:35 +03:00
Marius Stanciu 399b0b45c6 - fixed drawing of selection box when dragging mouse on screen and the selection shape drawing on the selected objects
- fixed the moving drawing shape in Tool Move in legacy graphic engine
- fixed moving geometry in Tool Measurement in legacy graphic engine
2019-09-21 22:00:02 +03:00
Marius Stanciu bc6dc3decf - fixed CNCJob and Excellon plotting in legacy graphic engine
- in legacy graphic engine fixed the travel vs cut lines in CNCJob objects
- final fix for key shortcuts with modifier in legacy graphic engine
- refactored some of the code in the legacy graphic engine
2019-09-21 18:26:03 +03:00
Marius Stanciu 9aef293a26 - fixed Measuring Tool in legacy graphic engine
- fixed Gerber plotting
- fixed Geometry plotting
2019-09-21 13:07:30 +03:00
Marius Stanciu 01e2755676 - fixed mouse cursor to work for all objects
- fixed event signals to work in both graphic engines: 2D and 3D
2019-09-21 01:10:32 +03:00
Marius Stanciu 3f70c156a0 - work on ShapeCollectionLegacy 2019-09-20 18:23:54 +03:00
Marius Stanciu 3a54eaa5d8 - made the mouse cursor snap to the grid when grid snapping is active
- changed the axis color to the one used in the OpenGL graphic engine
2019-09-20 18:07:36 +03:00
Marius Stanciu 011e80c0ce - legacy graphic engine - made the mouse events work (click, release, doubleclick, dragging)
- legacy graphic engine - made the key events work (simple or with modifiers)
- legacy graphic engine - made the mouse cursor work (enabled/disabled, position report); snapping is not moving the cursor yet
2019-09-20 17:25:32 +03:00
Marius Stanciu 4f17d6229f - final fix for the --shellvar having spaces within the assigned value; now they are retained
- updated the .POT file and the translation files leaving them incomplete
2019-09-20 01:33:38 +03:00
Marius Stanciu d581462b1d - changed the default method for Paint Tool to 'all' 2019-09-19 23:34:54 +03:00
Marius Stanciu fc1674ebc4 - moved all the GUI Preferences classes into it's own file flatcamGUI.PreferencesUI.py 2019-09-19 23:30:15 +03:00
Marius Stanciu ea21f0273a - changed a bit the splash PNG file 2019-09-19 23:01:20 +03:00
Marius Stanciu ca4616a858 - fixed bug with losing the visibility of toolbars if at first startup the user tries to change something in the Preferences before doing a first save of Preferences 2019-09-19 22:38:25 +03:00
Marius Stanciu 26f34382bd - changed the script icon to a smaller one in the sys tray menu 2019-09-19 21:35:31 +03:00
Marius Stanciu 1e49c23e8f - added new control in Edit -> Preferences -> General -> Gui Preferences -> Activity Icon. Will select a GIF from a selection, the one used to show that FlatCAM is working. 2019-09-19 21:14:47 +03:00
Marius Stanciu 351da24ded - fixed bug in Gerber Editor -> selection area handler where if some of the selected shapes did not had the 'solid' geometry will silently abort selection of further shapes 2019-09-19 17:10:53 +03:00
Marius Stanciu f54568e9eb - fixed bug in Gerber editor that did not allow to display all shapes after it encouterd one shape without 'solid' geometry 2019-09-19 16:54:22 +03:00
Marius Stanciu ea95c0c759 - fixed the command line argument --shellvar to work when there are spaces in the argument value 2019-09-19 04:41:03 +03:00
Marius Stanciu a706fd9f1e - typo 2019-09-19 04:06:44 +03:00
Marius Stanciu 4540066731 - added a new TclCommand named quit_flatcam which will ... quit FlatCAM from Tcl Shell or from a script 2019-09-19 04:04:18 +03:00
Marius Stanciu 1d26247fc4 - FlatCAM can be run in HEADLESS mode now. This node can be selected by using the --headless=1 command line argument or by changing the line headless=False to True in config/configuration.txt file. In this mod the Sys Tray Icon menu will hold only the Run Scrip menu entry and Exit entry. 2019-09-19 03:55:47 +03:00
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