Commit Graph

232 Commits

Author SHA1 Message Date
Marius Stanciu 55549c7ba5 - cleaned the Preferences classes and added the signals and signal slots in those classes, removing them from the main app class
- each FlatCAM object found in Preferences has it's own set of controls for changing the colors
- added a set of gray icons to be used when the theme is complete dark (for now it is useful only for MacOS with dark theme because at the moment the app is not styled to dark UI except the plot area)
2019-12-27 03:05:17 +02:00
Marius Stanciu f0ed74ce5f - further modifications in Preferences -> General GUI - extended the changes 2019-12-26 06:13:42 +02:00
Marius Stanciu 0268a02f3b - changed the extension of the Tool Database file to FlatDB for easy recognition (in the future double clicking such a file might import the new tools in the FC database)
- modified the ToolDB class and changed some strings
- Preferences classes now have access to the App attributes through app.setup_obj_classes() method
- moved app.setup_obj_classes() upper in the App.__init__()
- added a new Preferences setting allowing to modify the mouse cursor color
- remade the GUI in Preferences -> General grouping the settings in a more clear way
- made available the Jump To function in Excellon Editor
- added a clean_up() method in all the Editor Tools that need it, to be run when aborting using the ESC key
2019-12-26 01:47:50 +02:00
Marius Stanciu fcc52a2682 - fixed an issue in old default file detection and in saving the factory defaults file
- in Preferences window removed the Import/Export Preferences buttons because they are redundant with the entries in the File -> Menu -> Backup. and added a button to Restore Defaults
- when in Basic mode the Tool type of the tool in the Geometry UI Tool Table after isolating a Gerber object is automatically selected as 'C1'
- let the multiprocessing Pool have as many processes as needed
- added a new Preferences setting allowing a custom mouse line width (to make it thicker or thinner)
2019-12-25 17:51:37 +02:00
Marius Stanciu 98d5986190 - some fixes in the Legacy(2D) graphic mode regarding the possibility of changing the color of the Gerber objects
- added a method to darken the outline color for Gerber objects when they have the color set
- when Printing as PDF Gerber objects now the rendered color is the print color
2019-12-23 02:30:56 +02:00
Marius Stanciu 612666d01a - added a new option for the Gerber objects: on the project context menu now can be chosen a color for the selected Gerber object 2019-12-22 06:52:45 +02:00
Marius Stanciu 8ab91b7f4f - added an icon in the infobar that will show more clearly the status of the grid snapping 2019-12-20 03:32:09 +02:00
Marius Stanciu 284d500073 - starting to work to a general Print function; for now it will generate PDF files; currently it works only for one object not for a selection
- added shortcut key CTRL+P for printing to PDF method
2019-12-19 17:15:41 +02:00
Marius Stanciu 8361ee7897 - prepared the application for usage of dark icons in case of using the dark theme
- updated the languages
- RELEASE 8.99
2019-12-15 16:28:36 +02:00
Marius Stanciu 63baeda071 - fixed a bug that created a crash in special conditions; it's related to the QSettings in FlatCAMGui.py 2019-12-15 00:42:07 +02:00
Marius Stanciu 02b567971d - finished a very rough and limited HPGL2 file import 2019-12-12 21:29:38 +02:00
Marius Stanciu 6d826fa143 - added option to save objects as PDF files in File -> Save menu 2019-12-12 03:18:52 +02:00
Marius Stanciu 1cb66f3faf - finished the Calibration Tool
- changed the Scale Entry in Object UI to FCEntry() GUI element in order to allow expressions to be entered. E.g: 1/25.4
2019-12-12 01:55:04 +02:00
Marius Stanciu cd4d0cefb8 - some more work in Calibration Tool 2019-12-11 17:54:33 +02:00
Marius Stanciu b1d249cff8 - renamed Calibrate Excellon Tool to a simpler Calibrate Tool
- Calibrate Tool - when generating verification GCode it will always load into an Editor from which it can be edited and/or saved. On save the editor will close.
2019-12-07 01:07:52 +02:00
Marius Stanciu 0d0f872244 - application wide change: introduced the precision parameters in Edit -> Preferences who will control how many decimals to use in the app parameters 2019-12-05 15:18:54 +02:00
Marius Stanciu 65f00ccad7 - in Preferences added a new button: 'Close' to close the Preferences window without saving 2019-12-04 03:24:05 +02:00
Marius Stanciu 6d9d29a689 - in Preferences added an Apply button which apply the modified preferences but does not save to a file, minimizing the file IO operations; CTRL+S key combo does the Apply now. 2019-12-03 05:31:33 +02:00
Marius Stanciu 3812de6439 - small changes 2019-12-03 00:17:53 +02:00
Marius Stanciu 1f63a16a24 - updated the drawing of the workspace such that the application overall start time is improved and after first turn on of the workspace, toggling it will have no performance penalty 2019-11-27 15:55:31 +02:00
Marius Stanciu 70f6469ea8 - Tool Fiducials - added the GUI and the shortcut key 2019-11-21 01:44:55 +02:00
Marius Stanciu 8d6df5493c - fixed GUI in 2Sided Tool
- extending the Copper Thieving Tool - wip
2019-11-11 04:54:47 +02:00
Marius Stanciu 70d123306c - in Tools Database added a contextual menu to add/copy/delete tool; CTRL+C, DEL keys work too; key T for adding a tool is now only partially working
- in Tools Database made the status bar messages show when adding/copying/deleting tools in DB
- changed all Except statements that were single to except Exception as recommended in some PEP
- renamed the Copper Fill Tool to Copper Thieving Tool as this is a more appropriate name; started to add ability for more types of copper thieving besides solid
- fixed some issues recently introduced in ParseSVG
- updated POT file
2019-11-11 02:35:42 +02:00
Marius Stanciu ee8719093c - fixed a new bug that did not allow to open the FlatCAM Preferences files by doubleclick in Windows
- added a new feature: Tools Database for Geometry objects; resolved issue #308
2019-11-09 18:04:49 +02:00
Marius Stanciu 38ab16dbef - the "CRTL+S" key combo when the Preferences Tab is in focus will save the Preferences instead of saving the Project 2019-11-06 00:46:56 +02:00
Marius Stanciu c85e397eca - started to add a Tool Database 2019-11-05 02:36:46 +02:00
Marius Stanciu cd7620c801 - getting rid of all the Options GUI and related functions as it is no longer supported 2019-11-04 22:06:06 +02:00
Marius Stanciu 4a3a0a5669 - Copper Fill Tool: added possibility to select between a bounding box rectangular or convex hull when the reference is the geometry of the source Gerber object
- Copper Fill Tool: cleanup on not regular tool exit
2019-10-25 23:08:44 +03:00
Marius Stanciu 2bde43ca3f - added a new FlatCAM Tool: Copper Fill Tool. It will pour copper into a Gerber filling all empty space with copper, at a clearance distance of the Gerber features 2019-10-25 19:52:11 +03:00
Marius Stanciu 228dcfdac1 - QRCode Tool: shortcut key for this tool is now ALT+Q while PDF import Tool was relegated to CTRL+Q combo key shortcut 2019-10-25 16:32:10 +03:00
Marius Stanciu dfb8d21d1c - QRCode Tool: added ability to add negative QRCodes (perhaps they can be isolated on copper?); added a clear area surrounding the QRCode in case it is dropped on a copper pour (region); fixed the Gerber export
- QRCode Tool: all parameters are hard-coded for now
2019-10-25 01:20:52 +03:00
Marius Stanciu bf670d7967 - start working on QRCode Tool - not working yet 2019-10-22 17:32:33 +03:00
Marius Stanciu 3ca4ab72d7 - started to work to a new tool: Calibrate Excellon Tool 2019-10-20 05:25:54 +03:00
Marius Stanciu db31b057a1 - updated the new objects icons for Gerber, Geometry and Excellon
- RELEASE 8.98
2019-10-19 15:28:57 +03:00
Marius Stanciu b058f65108 - finished the Objects menu by adding the ability of actions to be checked so they will show the selected status of the objects and by adding to actions to (de)select all objects
- fixed and optimized the click selection on canvas
- fixed Gerber parsing for very simple Gerber files that have only one Polygon but many LPC zones
2019-10-19 00:29:29 +03:00
Marius Stanciu 9285da8443 - finished the update on German translation. Part of it was corrected by Jens Karstedt 2019-10-18 15:52:45 +03:00
Marius Stanciu 3a8799b859 - changed the Panelize tool icon
- corrected some strings
2019-10-16 04:24:02 +03:00
Marius Stanciu 313acd0a25 - replaced some of the icons that did not looked Ok on the dark theme
- added a new toolbar button for the Copy object functionality
2019-10-16 04:13:12 +03:00
Marius Stanciu dfc0b98181 - fixed bug in Panelization Tool for which in case of Excellon objects, the panel kept a reference to the source object which created issues when moving or disabling/enabling the plots
- cleaned up the module imports throughout the app (the TclCommands are not yet verified)
2019-10-16 02:28:18 +03:00
Marius Stanciu dff5b262eb - added a secondary link in the bookmark manager
- fixed the bookmark manager order of bookmark links; first two links are always protected from deletion or drag-and-drop to other positions
2019-10-15 01:05:27 +03:00
Marius Stanciu b00c1018e4 - enhanced the Tool Film adding the Film adjustments and added the GUI in Preferences
- set the GUI layout in Preferences for a new category named Tools 2
2019-10-13 18:13:39 +03:00
Marius Stanciu 168f4a7646 - fixed the Export PNG function when using the 2D legacy graphic engine
- added a new capability to toggle the grid lines for both graphic engines: menu link in View and key shortcut combo ALT+G
2019-10-13 06:53:16 +03:00
Marius Stanciu 78721590e0 - fixed a bug in NCC Tool and start trying to make the App responsive while the NCC tool is run in a non-threaded way
- fixed a GUI bug with the QMenuBar recently introduced
2019-10-12 19:57:05 +03:00
Marius Stanciu 1ad7b7716b - modified the Bookmark manager to be installed as a widget tab in Plot Area; fixed the drag & drop function for the table rows that have CellWidgets inside
- marked in gray color the rows in the Bookmark Manager table that will populate the BookMark menu
- made sure that only one instance of the BookmarkManager class is active at one time
2019-10-12 01:35:25 +03:00
Marius Stanciu 2ea45c5d58 - added a Bookmark Manager and a Bookmark menu in the Help Menu
- added an initial support for rows drag and drop in FCTable in GUIElements; it crashes for CellWidgets for now, if CellWidgetsare in the table rows
2019-10-11 17:43:04 +03:00
Marius Stanciu da09202f5f - added a new tool in the Geometry Editor named Explode which is the opposite of Union Tool: it will explode the polygons into lines 2019-10-06 01:32:21 +03:00
Marius Stanciu 9e83528448 - added the Distance Tool, Distance Min Tool, Jump To and Set Origin functions to the Edit Toolbar 2019-10-04 23:47:42 +03:00
Marius Stanciu f06888e4fb - added a Toggle Notebook button named 'NB' in the QMenBar which toggle the notebook 2019-10-04 17:44:12 +03:00
Marius Stanciu 55fdd59b94 - added a new menu category in the MenuBar named 'Objects'. It will hold the objects found in the Project tab. Useful when working in FullScreen 2019-10-04 17:18:07 +03:00
Marius Stanciu 6d2ed26e0e - small GUI changes in Optimal Tool and in Film Tool
- some PEP8 corrections
- some code annotations to make it easier to navigate in the FlatCAMGUI.py
- fixed exit FullScreen with Escape key
2019-10-04 15:24:38 +03:00