Commit Graph

73 Commits

Author SHA1 Message Date
Marius Stanciu
2daf191948 - changed the spacings in the new custom Grid layout 2021-08-07 11:58:11 +03:00
Marius Stanciu
461aa763ad - created a new custom layout based on the Grid Layout where I can set the horizontal and vertical spacings between grid items and used it throughout the app 2021-08-07 11:46:45 +03:00
Marius Stanciu
3c06280d3d - more changes due of porting to PyQt6
- fixed the Autocompleter highlighting to work in PyQt6
2021-08-07 10:21:45 +03:00
Marius Stanciu
e0a7afb2cd - fixed fullscreen functionality for PyQt6 and a few other fixes regarding the port to PyQt6 2021-08-05 02:00:54 +03:00
Marius Stanciu
ffce6b437f - continuing to fix the PyQt6 port
- added an Exception when App.on_canvas_setup() fails
2021-08-05 00:50:09 +03:00
Marius Stanciu
53272da959 - porting to PyQt6 2021-08-04 18:34:24 +03:00
Marius Stanciu
ba59e9ed58 - fixed the setting color functionality on right click on the objects in the Project Tab such that the set color (or opacity) it is stored in a persistent setting correctly and the colors for Gerber objects are restored in order
- trying to fix a Runtime exception that may happen when the Plugin Tab is deleted completely
2021-06-17 22:09:58 +03:00
Marius Stanciu
4c92083c01 - upgraded all the plugins such that at each launch the Plugin UI is reinitialized reducing the chances to get errors like "wrapped up C++ object deleted" with the side effect that the performance might be slightly reduced 2021-03-28 15:21:17 +03:00
Marius Stanciu
0177a64fe4 - changed some strings; updated the translation strings with the new strings (they need to be translated)
- modified all the plugins (formerly named Tools) to auto select in the plugin the selected object from Project Menu
- small changes in Tools Database
2021-03-18 03:45:56 +02:00
Marius Stanciu
0986ef143c - aperture keys in the gerber 'tools' dictionary are now stored as integers instead of strings as before; need to check the application especially the Gerber Editor
- fixed issues in Gerber Editor (using the '0' insteadd of 'REG' type for apertures)
2021-03-04 17:45:47 +02:00
Marius Stanciu
e715870d12 - major rafactoring: replaced the name of the Gerber object data structure from 'apertures' to 'tools' to make the object data structure uniform across the app 2021-03-01 17:46:23 +02:00
Marius Stanciu
aee49e6495 - strings update 2021-02-27 04:53:57 +02:00
Marius Stanciu
e36a8a04a0 - more refactoring in the app 2021-01-29 02:40:10 +02:00
Marius Stanciu
04649622eb - some refactoring
- working on Milling Tool and Drilling Tool: made sure that the plugin UI is initialized only when the plugin (Tool) is run in order to avoid errors like (wrapped C++ objects was deleted)
2021-01-29 02:08:34 +02:00
Marius Stanciu
92eee438a2 - in Gerber Editor fixed the canvas context menu not showing 2021-01-22 14:38:17 +02:00
Marius Stanciu
7291d85c07 - renamed the Tool menu category to Plugins
- for all the plugins optimized the plugin name
- renamed the app to FlatCAM Evo in order to make a difference from FlatCAM app which follows its own path
- modified the splash image to reflect the new naming of the app
- modified some of the documents (License, Readme) in the app to reflect the actual reality in 2021
2021-01-10 21:59:53 +02:00
Marius Stanciu
e5cc47882f - replaced all usages of QFormLayout with QGridLayout 2020-12-31 18:03:43 +02:00
Marius Stanciu
9dfa3b497d - all the logs done on Exception are now errors (with the exception of few places where the Exception is expected) 2020-12-31 05:56:46 +02:00
Marius Stanciu
bf165032a3 - fixed error in Gerber Editor
- made some more log.debug messages visible in Tcl Shell
2020-12-30 05:52:35 +02:00
Marius Stanciu
34d619f737 - Gerber Editor - Import Shape sub-tool finished (by adding selection by dragging a selection box) 2020-12-28 22:20:41 +02:00
Marius Stanciu
e1149a0f5e - Gerber Editor - added a status message for the Import Shape sub-tool 2020-12-27 21:28:01 +02:00
Marius Stanciu
b328566ec1 - Gerber Editor - finished the Import Shape sub-tool single shape select feature 2020-12-27 21:22:10 +02:00
Marius Stanciu
ab7eca7b7d - Gerber Editor - working on a new sub-tool: Import Shape which should allow importing polygons from other Gerber objects 2020-12-27 01:26:52 +02:00
Marius Stanciu
8e40ddfab0 - merged PR by Dmitriy Klabukov and expanded it a bit
- Gerber Editor - made sure that when simplification button is clicked the coordinates and vertex points field are cleared
- Gerber Editor - added a Beginner/Advanced toggle button
- Gerber Editor - added context menu to Apertures Table and also on row selection in Aperture Table, the area and vertex number fields are updated
- Excellon Editor - added a Beginner/Advanced toggle button; added context menu to Apertures Table
- Excellon Editor - fixed the Tools Table row selection handler
2020-12-25 20:51:17 +02:00
Marius Stanciu
839ac35caf - Gerber Editor - when doing a selection of polygons, the displayed area is now the cummulated value 2020-12-18 16:15:14 +02:00
Marius Stanciu
2d6b78d28c - Gerber Editor - the vertex number points are now calculated also for a selection of shapes
- Geometry Editor - the vertex number points are now calculated also for a selection of shapes
- Geometry Editor - made sure that the shapes cannot be selected while the simplification is in process because it will mess things
2020-12-14 20:08:33 +02:00
Marius Stanciu
47f53517a7 - in Gerber Editor - fixed mistake in using cm instead of mm 2020-12-03 17:24:40 +02:00
Marius Stanciu
9fb7dbe0c5 - in Gerber Editor - for Disc and SemiDisc tools now it is allowed to start without a defined aperture; it will be assumed that we work with an aperture with size zero 2020-12-03 15:41:12 +02:00
Marius Stanciu
ebdcbcb1bf - in Gerber Editor - modified the UI
- in Gerber Editor - added new parameters for selected polygons: is_valid and area
2020-12-03 15:31:07 +02:00
Marius Stanciu
356a13bf8b - Subtraction Tool - minor changes
- in Gerber Editor - added some parameters to the UI: selected polygon coordinates and vertexes number and also added polygon simplification
- in Gerber Editor - fixed update of Aperture Table rows selection on multiple shapes selection
2020-12-02 21:09:03 +02:00
Marius Stanciu
fb983872d0 - using 'Escape' key shortcut while the focus is in the Tcl Shell command line will set focus on the main canvas 2020-11-25 21:14:18 +02:00
Marius Stanciu
1af4ec0474 - changed how the Editor toolbar button works; added a background for the 'Exit Editor' toolbar button when in Editor 2020-11-25 02:56:10 +02:00
Marius Stanciu
5f39a7b634 - in Geometry Editor and in the Gerber Editor made sure that for the sub-tools that open in the Tool Tab, if the tab is closed then the Select Tool is automatically selected. And also trying to open that sub-tool again will open a new tab. 2020-11-20 22:49:34 +02:00
Marius Stanciu
bb279cbebe - removed the enforced ActivityView width
- various string changes; updated the strings
- brought up-to-date the Romanian translation strings
- updated the source file when creating Excellon objects in various places in the app
2020-11-15 15:05:58 +02:00
Marius Stanciu
dea7ce3028 - PEP8 changes and PyCharm suggestions 2020-11-12 20:47:43 +02:00
Marius Stanciu
073fe3d50d - in Gerber Editor fixed an error in the Eraser tool trying to disconnect the Jump signal 2020-11-07 06:26:43 +02:00
Marius Stanciu
06f6491472 - In Gerber Editor upgraded the UI
- in Gerber Editor made sure that trying to add a Circular Pad array with null radius will fail
- in Gerber Editor when the radius is zero the utility geometry is deleted
- in Excellon Editor made sure that trying to add a Circular Drill/Slot array with null radius will fail
- in Excellon Editor when the radius is zero the utility geometry is deleted
2020-11-07 05:39:37 +02:00
Marius Stanciu
d526d16cdf - made some changes in the Region Tool from the Gerber Editor 2020-11-07 03:45:04 +02:00
Marius Stanciu
a4b5d117b8 - in Gerber editor added the G key shortcut to toggle the grid snapping 2020-11-06 21:37:19 +02:00
Marius Stanciu
d6b2ed5d40 - Turkish language strings updated (by Mehmet Kaya)
- both for Excellon and Gerber editor fixed the direction of slots/pads when adding a circular array
2020-11-06 20:53:06 +02:00
Marius Stanciu
df9dd8f353 - in Gerber Editor remade the utility geometry generation for Circular Pad Array to show the array updated in real time and also fixed the adding of array in negative quadrants 2020-11-06 17:43:07 +02:00
Marius Stanciu
fbcf92bc13 - in Gerber Editor fixed the Add circular array capability 2020-11-06 16:37:25 +02:00
Marius Stanciu
01806d77a3 - in Gerber editor, for selection now the intersection of the click point and the geometry is determined for chunks of the original geometry, each chunk gets done in a separate process 2020-11-06 06:06:13 +02:00
Marius Stanciu
f1107fbd3b - in Gerber Editor made the selection multithreaded in a bid to get more performance but until Shapely will start working on vectorized geometry this don't yield too much improvement 2020-11-06 05:17:12 +02:00
Marius Stanciu
d4fec5ae60 - fixed the annotation plotting in the CNCJob object
- created a new InputDialog widget that has the buttons and the context menu translated and replaced the old widget throughout the app
- updated the translation strings
2020-11-05 16:36:41 +02:00
Marius Stanciu
a4c8737ab7 - added a method for intersection to FlatCAMRtree class 2020-11-05 12:22:12 +02:00
Marius Stanciu
cbcd6595cb - added more icons in the Gerber and Excellon Editors for the buttons 2020-11-05 02:42:51 +02:00
Marius Stanciu
fc85c00842 - refactored the name of the classes from the Gerber Editor 2020-11-05 01:54:37 +02:00
Marius Stanciu
675c7028bb - in Gerber Editor added the shortcut key 'Space' to change the direction of the array of pads 2020-11-04 21:53:47 +02:00
Marius Stanciu
846c0dc59d - fixed the UI layout in Excellon Editor and made sure that after changing a value in the Notebook side after the mouse is inside the canvas, the canvas takes the focus allowing the key shortcuts to work
- Turkish language strings updated (by Mehmet Kaya)
2020-11-04 21:40:17 +02:00