Commit Graph

246 Commits

Author SHA1 Message Date
Ali Khalil
ce4b43bd36 Menu icons location changes restored and will be addressed in future update with better mechanism. FCLabel calls updated where possible based on new method parameters 2022-04-18 11:36:08 +03:00
Ali Khalil
84cdc87030 FCLabel behavior modified to match updated method based on PR discussion 2022-04-18 09:18:17 +03:00
Ali Khalil
5cc869c1fd Application wide updates for dark mode support including dark canvas option and better colors 2022-04-17 22:41:02 +03:00
Ali Khalil
adad500f15 Theme option added to match OS appearance. Sets appearance on application launch. 2022-04-17 21:48:31 +03:00
Marius Stanciu
804786c6c2 - in Geometry Editor - fixed the Explode tool to work on the result of adding Text geometry
- all the Geometry Editor plugins are moved inside another folder and the UI's are moved into their own class
2022-04-13 18:33:05 +03:00
Marius Stanciu
fcdb318c23 - fixed the display of lines in Distance Plugin when using 'snap to' together with 'multipoint' 2022-04-13 03:22:12 +03:00
Marius Stanciu
b0b2c8e7f5 - some fixes to the Tcl commands contribution from Ali Khalil
- refactoring code in Distance Plugin and making sure that the measurements are done correctly - work in progress
2022-04-07 14:58:16 +03:00
Marius Stanciu
a59f996819 - some reformatting and class rename
- when clicking the coordinates toolbars in the status bar now the Distance Plugin is shown and if already displayed, it is closed (toggle action)
2022-04-03 15:06:36 +03:00
Marius Stanciu
1b9e2feb75 - in Cutout Plugin exposed the any_cutout_handler() method and made sure that the gaps parameter case does not matter 2022-04-03 12:18:02 +03:00
Marius Stanciu
d7fd4dc8f2 - minor fix in Fiducials Plugin 2022-04-02 15:55:23 +03:00
Marius Stanciu
72d39f09fb - in Fiducials Plugin, for manual mode: added utility geometry and the ability to use a big cursor 2022-04-02 15:50:00 +03:00
Marius Stanciu
f388c51eb4 - in Markers Plugin, added a numeric mode 2022-04-02 08:22:33 +03:00
Marius Stanciu
0f0fa88451 - in Markers Plugin, for the manual mode added the choice to use a big cursor when manual placing markers 2022-04-01 01:16:24 +03:00
Marius Stanciu
ff52630394 - in Punch Gerber Plugin if no Gerber object is selected then the first Gerber object in the project list is selected (if any); fixed aperture marking in Punch Gerber Plugin
- in Punch Gerber and Extrat plugins, clean up the aperture markings on Plugin exit
2022-03-31 23:52:57 +03:00
Marius Stanciu
8e18669249 - fixed aperture marking in Extract Plugin
- in Extract Plugin if no Gerber object is selected then the first Gerber object in the project list is selected (if any)
2022-03-31 23:28:08 +03:00
Marius Stanciu
ada48269a9 - refactored the imports in the Plugins, moved almost all imports in the AppTool file
- fixed a number of issues, mostly leftovers from moving the UI of a Plugin in its own class
- fixed some bugs in the Punch Gerber plugin
- fixed some bugs where the 'pool' parameter was not passed when creating shapes collections (in 3D graphic mode); I wonder how it worked until now
- added a new feature in the Isolation Plugin: now for all the isolation Geometry objects this plugin can do a supplementary simplification of the geometry using the tolerance parameter defined in the General Parameters. This should lead to a reduced number of tool lifts when doing corners
2022-03-31 19:28:19 +03:00
Marius Stanciu
c4151631ec - changed the app main icons, hopefully they are more visible on black backgrounds than the ones that FlatCAM has 2022-03-31 11:28:35 +03:00
Marius Stanciu
c0b3f6ebde - some minor changes in Distance Plugin
- when changing workspace orientation fixed leaving behind the old frame on the cavnas
2022-03-30 17:41:22 +03:00
Marius Stanciu
98a5d0ff81 - in Distance Plugin: "snap to center" feature now works outside the Editors too (for Gerber object pads and Excellon object drill holes) 2022-03-30 16:23:22 +03:00
Marius Stanciu
f8bf9dee78 - in Distance Plugin: added a new way to display the angle (angles between 181° and 359° are subtracted from 360°) 2022-03-30 12:43:34 +03:00
Marius Stanciu
40ba41264e - in Distance Plugin made sure that the grid snapping restore is working properly (previously it always restored it to the ON state)
- the HUD display is no longer default active on new installations
2022-03-30 12:32:08 +03:00
Marius Stanciu
727c801f0a - in Distance Plugin, fixed the Snap to center feature to work as intended 2022-03-29 03:13:43 +03:00
Marius Stanciu
a3f9d7c248 - added ability to change the mouse cursor color on the fly
- in Distance Plugin made sure that the 'big cursor' (when is used) is black in color (visible in most situations)
- in Distance Plugin, for the 2D graphic mode activated the utility line
2022-03-29 02:14:44 +03:00
Marius Stanciu
aefd66f02b - in the Film Plugin fixed an error which triggered an unwanted 'length' scaling 2022-03-28 22:22:04 +03:00
Marius Stanciu
a8d68ed400 - in Distance Plugin finished the 'big cursor' feature 2022-03-28 20:15:33 +03:00
Marius Stanciu
4745e1cab9 - in Distance Plugin added the ability to use a big cursor; not finished: when the grid is off it is not displayed 2022-03-28 20:06:11 +03:00
Marius Stanciu
eec366ce7f - refactoring names for some classes 2022-03-24 18:35:44 +02:00
Marius Stanciu
6a5a408c47 - added a way to load older projects (made before recent changes) 2022-03-19 23:12:43 +02:00
Marius Stanciu
730ef529dc - fixed issues in the Scale feature of the Film Plugin
- in the Scale feature of the Film plugin added ability to scale by a length amount
2022-03-17 02:29:28 +02:00
Marius Stanciu
cf7ee8930a - fixed an issue in Calculators Plugin that could crash the app, in the Electroplating section 2022-03-15 20:55:30 +02:00
Marius Stanciu
30d899ad89 - in Distance Plugin made sure that the 0.0 value for the angle is displayed 2022-03-11 14:55:59 +02:00
Marius Stanciu
4398b3468f - added a new feature: now in the context menu (and main menu -> Edit) there is a new command that allow to move a selection of objects at specified numeric coordinates (either absolute or relative to current position) 2022-03-11 13:51:29 +02:00
Marius Stanciu
158dfd75c3 - fixed a typo in the Distance Plugin which made that the Delta Y value was always the same as Delta X value 2022-03-10 17:49:11 +02:00
Marius Stanciu
7a82658b4c - more work in Film Plugin, in the ratio skew feature 2022-03-10 16:59:17 +02:00
Marius Stanciu
e7448eadcb - fixed Film Plugin not using the set value in Preferences for the skew type 2022-03-10 16:17:06 +02:00
Marius Stanciu
311f2d3531 - skew feature in Film Plugin now have multiple options. skew can be done by length, by angle and by ratio (factor) 2022-03-10 16:02:12 +02:00
Marius Stanciu
31eb06d5a9 - fixed multiple issues in the App objects related to wrong usage of self.obj_options attribute instead of self.app.options attribute
- remade the Film Plugin such that the `skew` feature is now done in length units as opposed with the previous usage of angles
- refactored some big methods from the Film Plugin
2022-03-10 14:22:09 +02:00
Marius Stanciu
843be488a5 - some changes to the Preferences 2022-02-24 00:14:58 +02:00
Marius Stanciu
1df2570668 - some fixes in remembering the last save location and last open location 2022-02-22 15:16:03 +02:00
Marius Stanciu
7bbe1e69f9 - making the above fix accept few possibilities 2022-02-20 16:39:04 +02:00
Marius Stanciu
65d8dcc0b2 - the application now uses only the default values from the app.options dict, the app.defaults dict holds the definitive default values
- fixed some outstanding issues from the PyQt6 port
- PEP8 fixes
- minor fixes
- updated the saving of Preferences to update the self.options too: the `Apply` action will update the self.options but the `Save` action will save the updated preferences to the file on disk
2022-02-18 23:06:58 +02:00
Marius Stanciu
14d9ea5470 - in Excellon Object UI, Advanced Mode, added a Tools Table context menu allowing to copy the tool diameters in the selected rows to clipboard 2022-02-18 15:51:21 +02:00
Marius Stanciu
4d2181eda7 - made sure that the CNCJob UI building no longer have issues with table items added from an already existing table
- fixed CNCJob UI showing all tools in the Tools Table even when only some tools were selected for processing
- fixed the `drillcncjob` Tcl Command to work in the case of drilling a selection of tools instead of all, with toolchange inactive
2022-02-18 15:16:05 +02:00
Marius Stanciu
1681b327ed - refactoring all the references to object options property to obj_options to make a difference with the application options property 2022-02-16 10:47:12 +02:00
Marius Stanciu
a1a999b635 - minor fixes in the Milling Plugin 2022-02-15 16:26:09 +02:00
Marius Stanciu
c5b929781e - fixed an issue with the moving shape when creating an exclusion area
- added ability to copy the coordinates of the exclusion area with the context menu actions in the Exclusion areas table found in the Milling/Drilling plugins
2022-02-15 03:45:52 +02:00
Marius Stanciu
e0819ab1a6 - fixed issue when doing a custom origin set 2022-02-13 21:26:00 +02:00
Marius Stanciu
3d4e195ae1 - added a new preprocessor: default_laser
- in the app added a new tool type: "L" (laser) which when selected will autoselect the `default_laser` preprocessor in Milling Plugin
2022-02-10 14:01:32 +02:00
Marius Stanciu
88d9d6aeb4 - fixed some issue regarding Milling Plugin, importing DXF file as Geometry 2022-02-02 17:33:05 +02:00
Marius Stanciu
851152366e - solved some more exceptions in the cncjob Tcl command 2022-02-01 23:04:07 +02:00