Marius Stanciu
ccc71eabc2
- changed the shapely imports a bit according to the specifications of Shapely 2.0
...
- changed the requirements.txt file to reflect the need for at least Shapely in version 2.0
2023-04-15 21:03:30 +03:00
Marius Stanciu
6f93734d3f
- minor name changes
2023-04-08 12:43:34 +03:00
Marius Stanciu
3b3c87e953
- fixed some possible issues due of changes in version 2.0 of Shapely
...
- removed the import * statement from most of the app
2023-03-06 16:40:49 +02:00
Marius Stanciu
71a3963c96
- hided the main UI on application quit to create a user experience of a shutdown without lag
...
- added a way to terminate QThreads safely by waiting; should be much safer
- made sure that the ArgsThread class receive the signal to stop
- made sure that on application shutdown, all workers will quit before the actual exit
2022-09-10 01:06:13 +03:00
Marius Stanciu
4c22e52b08
- upgraded the UI of Region sub-tool in the Gerber Editor
2022-05-26 00:20:43 +03:00
Marius Stanciu
95066e352b
- in Gerber Editor upgraded the Simplification sub-tool GUI
2022-05-22 14:01:21 +03:00
Marius Stanciu
5298a59372
- in Gerber Editor upgraded the Track sub-tool GUI
2022-05-22 04:37:16 +03:00
Marius Stanciu
830d500d04
- in Gerber Editor upgraded the PadArray GUI
2022-05-22 03:18:51 +03:00
Marius Stanciu
9055cc1230
- in Gerber Editor upgraded the PadAdd GUI
2022-05-22 01:40:55 +03:00
Marius Stanciu
bfb3aa4118
- added properties for the mouse position and mouse clicked position (and setters) and cleaned up the code regarding this data
2022-05-21 02:13:47 +03:00
Marius Stanciu
77c752701f
- refactored the code for the file registration and for the keywords update into its own class to make the main class smaller
...
- when creating new files the file names are added to the beginning of the keywords list for the usage of Qt auto-completer
2022-05-20 21:19:52 +03:00
Marius Stanciu
c1a5320315
- started to lay ground for upgrading the UI in the Gerber Editor
...
- fixed and upgraded the Buffer sub-tool in the Gerber Editor
- fixed adding same aperture multiple times
2022-05-16 18:13:12 +03:00
Marius Stanciu
a973275f97
- fixed a crash when creating a Document object due of changes in Qt6 (missing QtGui.Qt)
...
- in Document object fixed the issue with not setting selection color when in a dark theme (essentially got rid of using QPalette)
- in dark theme stylesheet changed the indent of the QCheckBox (and in Radio buttons too)
- updated the FClabel widget with some more properties
- updated the hack to make sure that the Editor sub-tools do not lose the stylesheet of the background
- updated the disabled project item color default value for the dark theme
2022-05-11 20:13:36 +03:00
Marius Stanciu
e8a15156db
- upgraded the Geometry Editor main UI
...
- upgraded the FCButton widget (and made it used everywhere instead of the QPushButton) so it can have the color and font weight properties settable
2022-05-10 07:01:14 +03:00
Marius Stanciu
e6753346c1
- made sure that the draw color in Editors is inverted for the dark mode
2022-05-05 17:46:54 +03:00
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
Marius Stanciu
f4e800244e
- made sure that some menu entries in the canvas popup menu are hidden when entering into an Editor and restored on exit
2022-04-14 23:39:51 +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
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
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
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
da20db5527
- fixed an issue where using the 'G' shortcut key in Editors will not toggle the grid snap
...
- fixed an issue in the Excellon Editor where selecting the drills did not highlight them but instead made them invisible (although the selection still worked)
- fixed an issue in the Gerber Editor where selecting one shape will auto-select all the shapes made with the same aperture
2022-03-10 00:13:47 +02:00
Marius Stanciu
43fd141b8e
- in Gerber Editor: in Eraser tool now the intersected shapes are stored properly such that when exporting the edited Gerber, it is done properly
2022-02-23 07:36:10 +02:00
Marius Stanciu
f016214481
- in Gerber Editor fixed adding a new aperture with code 0
...
- in Gerber Editor when the aperture size is 0.0 then automatically add a new aperture with code 0
- in Gerber Editor -> Eraser tool: when deleting all geometry in an aperture then the aperture is deleted too
2022-02-22 20:11:06 +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
0d62c291ea
- in Gerber Editor: if the aperture size is 0 then an aperture code 0 is added (if it does not exist yet)
...
- in Gerber Editor: when the Eraser tool is used, after it is applied if some geometries elements are empty, they are now removed
2022-02-22 06:05:21 +02:00
Marius Stanciu
7bbe1e69f9
- making the above fix accept few possibilities
2022-02-20 16:39:04 +02:00
Marius Stanciu
ae4a97120c
- fixed a minor error in the Gerber Editor which created a graphic glitch on shape selection
2022-02-20 00:24:37 +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
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
2430158334
- fixing an issue with not building the UI for the generated objects when running a script and then trying to enable/disable the plots
...
- attempting to add a feature in the text editors to autoselect all words in a document that are the same as the one that was clicked
- all the colors set in Preferences now have to be in the 8digits format RGBA (including the alpha channel as a suffix) - it is required to delete the current preferences files
2022-01-17 21:26:10 +02:00
Marius Stanciu
2125071875
- fixed a bug in the Gerber Editor in the Move command
2021-11-27 01:41:31 +02:00
Marius Stanciu
bb089eb657
- refactored the is_legacy object to use_3d_engine
...
- made sure that there is no longer a double action when toggling the object visibility ('plot' attribute)
2021-10-31 14:05:00 +02:00
Marius Stanciu
aef9d97dd7
- in Markers Plugin replaced the Margin parameters with the Offset parameters that now can be referenced either to the edge of the bounding box (effectively replacing the old Margin parameter) or to the center of the bounding box
...
- Distance Plugin Ui was upgraded
- updated the language strings
2021-10-10 01:37:09 +03:00
Marius Stanciu
a1530963f5
- clicking the splash screen will close it; also if an error is triggered, the error message will pop over the splash screen
...
- the Aperture Table in the Gerber Editor is no longer extended to show all apertures at once
- in Preferences: Excellon, Geometry and CNCJob tabs, updated the UI to the new design
2021-10-01 02:23:02 +03:00
Marius Stanciu
1fb520e829
- minor changes, code cleanup
2021-09-28 15:52:05 +03:00
Marius Stanciu
8d8a522714
- changed the circle resolution back to the default of 16 since this value is good for fast rendering of Gerber files
...
- added a shortcut to select all apertures in the Gerber Editor
- other minor fixes
2021-09-28 05:25:34 +03:00
Marius Stanciu
3fc0ab826f
- working to differentiate between temporary units change and permanent units change
2021-09-27 17:28:54 +03:00
Marius Stanciu
89426e8ac3
- in Gerber Object trying to solve the issue with too little details on plotting geometry with inch units
2021-09-27 15:22:27 +03:00
Marius Stanciu
0fa01e760a
- in Gerber Editor, the Region Tool now will draw only for the '0' aperture therefore the utility geometry will be a very thin line
2021-09-25 04:09:19 +03:00
Marius Stanciu
9ca397407c
- in Gerber Editor fixed the issue where some shapes that belong to a deleted aperture were still stored inside the selection storage after this deletion
2021-09-24 22:38:21 +03:00
Marius Stanciu
d3a16df32c
- in Gerber Editor fixed the edge case where the user selects apertures in the Tools Table and then uses the Poligonize Tool and not by selecting shapes on canvas
2021-09-24 15:04:00 +03:00
Marius Stanciu
fa09ec9ae7
- in Gerber Editor fixed not being able to delete an aperture
2021-09-24 14:42:28 +03:00
Marius Stanciu
eaf9562854
- fixed some leftovers from Qt6 port
...
- some code optimizations in the Gerber Editor
- Corners Plugin now generate Gerber objects with the solid geometry flattened
- fixed issue where Gerber objects created from importing SVG geometries could not be edited
2021-09-21 23:41:56 +03:00
Marius Stanciu
dd029d6ded
- fixed an error due of missing attribute of PlotCanvasLegacy when using Legacy2D graphic engine
...
- solving deprecation warnings issued by Shapely
- made sure that the Gerber Object geometry is always flattened
2021-09-21 15:55:35 +03:00
Marius Stanciu
241579d670
- on Coppper Thieving Plugin some UI updates
...
- updated the GCGridLayout GUi element to automatically stretch the first column but offered also configuration; updated the use throughout the app
2021-09-09 16:28:14 +03:00
Marius Stanciu
d90e86da39
- made sure that the location labels in the InfoBar have only the decimals required when the Grid snapping is ON
2021-08-31 02:25:43 +03:00
Marius Stanciu
7dfb8152ce
- in Gerber Editor fixed bug with the row selection that no longer selected the visuals on canvas
2021-08-31 00:34:17 +03:00
Marius Stanciu
fc97a4ecd6
- add HUD rectangle auto size for 3D Graphic Engine
2021-08-30 17:43:35 +03:00