Commit Graph

258 Commits

Author SHA1 Message Date
Marius Stanciu
3fc0ab826f - working to differentiate between temporary units change and permanent units change 2021-09-27 17:28:54 +03:00
Marius Stanciu
0cee20a6d9 - in Excellon Editor and Geometry Editor solved some Shapely 2.0 deprecation warnings
- in Excellon Editor made sure that the tool diameter is always updated before adding a new drill (or drill array)
- changing units is not possible while in Editors
- changing units outside the Preferences will make no permanent changes
- deleting all shapes from the shapes collection (OpenGl graphics) will reset also the index in the collection data dict
2021-09-26 21:21:49 +03:00
Marius Stanciu
08d3a580ac - multiple UI changes in Preferences
- UI changes in the Paint Plugin
2021-09-25 21:08:15 +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
e0a158759c - in Fiducials Plugin added the support for ESCAPE key from manual mode and also exit by right clicking 2021-09-09 21:30:48 +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
1f321f9dcb - when a Plugin is no longer used disconnect a certain signal that control the selection in the App Object Target combobox since it is not needed and it takes cpu cycles 2021-09-02 19:38:30 +03:00
Marius Stanciu
2e23b8590b - fixed the issue in Milling Plugin that did not automatically set the object combo to the previously selected object 2021-09-01 23:16:17 +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
fc97a4ecd6 - add HUD rectangle auto size for 3D Graphic Engine 2021-08-30 17:43:35 +03:00
Marius Stanciu
74472e61bd - fixed the reconnection of the mouse events when canceling setting the origin 2021-08-30 00:50:22 +03:00
Marius Stanciu
ba217fc103 - updated the language strings and the Simplified Chinese language translation 2021-08-29 19:12:21 +03:00
Marius Stanciu
2fd8c76996 - fixed a reported issue with the manual cutout in Cutout Plugin where adding more gaps will crash the app due of the manual geometry being a MultiPolygon and not a Polygon as it was assumed
- fixed a reported bug in convert 2 geometry where a MultiLineString' object does not support item assignment“ error was issued
2021-08-29 19:01:46 +03:00
Marius Stanciu
1134845dea - minor changes 2021-08-26 21:22:42 +03:00
Marius Stanciu
fca2118ee9 - fixed the convert 2 excellon and to geometry functionality 2021-08-26 19:27:08 +03:00
Marius Stanciu
9bd1cdabd6 - minor change 2021-08-26 18:19:54 +03:00
Marius Stanciu
67120e3214 - fixed the "headless" feature; running headless still start the GUI just it does not show it
- when running headless the sys tray icon will always be shown so the user can close the app correctly
- in the systray icon context menu I've added a menu entry to toggle the GUI
2021-08-25 13:53:00 +03:00
Marius Stanciu
9ed8306c5f - fixed some issues in the convert_units
- added a new GUI element, a radio button that can change a setting in the self.defaults preferences dict
- made sure that the update of the default properties tab (in the Notebook) is done only for certain keys in self.defaults not for all
2021-08-25 02:31:44 +03:00
Marius Stanciu
30d995bf12 - using PyQt6 with multi monitors, when the pixel ratio (scaling in WIndows) is different than 1.0 there are visual issues in the 3D canvas - trying to solve by updating the dpi - partial solve
- failing to load the #d graphic engine is now reported on the log.txt file found in the Preferences folder (in appData/Roaming/app_name for Windows)
2021-08-24 18:09:22 +03:00
Marius Stanciu
7dc67e2b05 - added a partial translation for Chinese Simplified language, by 俊霄 余
- trying to separate the Preferences settings from App init and to make them dependent on the self.defaults dictionary
- updated the language strings from the source
2021-08-23 14:01:28 +03:00
Marius Stanciu
dd39657e4f - added a new menu entry in the View menu to show the application log file where even the fatal crashes are logged
- fixed an issue due of porting to Qt6
2021-08-22 17:21:08 +03:00
Marius Stanciu
1c06c05c22 - cleaned up the Geometry and Gerber object classes
- more cleanup in Isolation Plugin
2021-08-19 15:20:23 +03:00
Marius Stanciu
261b83b445 - cleaning up Isolation Plugin 2021-08-18 16:28:10 +03:00
Marius Stanciu
75fff68cc9 - changed the translators tab in the on_about() method
- added the usage of the FCLabel widget instead of QtWidgets.QLabel
2021-08-18 03:31:23 +03:00
Marius Stanciu
d25cad8780 - changed the ColorRole in the on_about() method to 'window' os the programmers and translator tab is set to white color 2021-08-18 01:40:34 +03:00
Marius Stanciu
08e6eaa084 - when creating a nw project the user is asked if he wants to save the preferences 2021-08-18 01:31:58 +03:00
Marius Stanciu
db8a85c493 - fixed the "Set Color" functionality broken by recent changes
- updated the "Set Color" functionality to store the used color in a correct way
2021-08-18 01:14:06 +03:00
Marius Stanciu
7a7214752c - fixed some issues with using the exec_() which now should be exec()
- added a context menu action in the canvas context menu for moving selected objects to origin
2021-08-15 02:19:24 +03:00
Marius Stanciu
835ef0620e - small change due of porting to PyQt6 in self.on_portable_checked() method 2021-08-14 00:14:43 +03:00
Marius Stanciu
40034540cf - fixed splash screen position on current screen when using multiple screens 2021-08-11 15:36:59 +03:00
Marius Stanciu
061e109e45 - wip in porting to PyQt6: fixed OptionalInput and OptionalHideInput GUI elements 2021-08-09 12:25:20 +03:00
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
1d88491a18 - more work in PyQt6 porting 2021-08-05 21:14:37 +03:00
Marius Stanciu
584134a27a - changes the exit method from exit(0) to quit() 2021-08-05 21:04:00 +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
c3d5fccb80 - toggling the plot is now deleting the selection shape, if any 2021-08-04 12:52:08 +03:00
Marius Stanciu
1330b1047c - when using the NCCAD9 preprocessor (for Kosy machines) at GCode save the .knc extension will be automatically preselected
- added a preprocessor for Roland MDX-540
2021-07-21 23:56:53 +03:00
Marius Stanciu
f08466e7f2 - preferences UI is now started on preferences open
- more work/fixes in working on data structures (offset, offset_value, job_type, shape)
2021-07-14 22:35:29 +03:00
Marius Stanciu
277d5e4440 - optimized the data storage in the on_about() method
- randomized the order in the programmers list at each launch of the on_about() method
2021-06-21 22:21:05 +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
8cd5d253be - fixed SVG import to show an error for SVG files that have SVG units not mm or cm or inch
- for SVG files with cm units the scaling factor is multiplied by 10
- the app will signal failure when encountering the 'g' SVG element which is not supported and cancel the SVG import
2021-05-16 20:31:43 +03:00
Marius Stanciu
9ed395df99 - changed the save_project() method such that when the project is saved as compressed now the compression is first done in memory and only after that the app will attempt to write it to a file on disk 2021-05-03 00:12:24 +03:00
Marius Stanciu
27c927c100 - small string change 2021-04-12 15:07:57 +03:00
Marius Stanciu
4acdd51d1f - now every version of FlatCAM beta creates it's own set of Preferences files 2021-04-05 01:10:51 +03:00
Marius Stanciu
c2677cac26 - fixed bug in the Drilling Tool when there are tools without drill points 2021-04-01 19:34:46 +03:00
Marius Stanciu
b91bd36055 - fixed errors when using the new ... canvas context menu entries which crated a hard crash 2021-03-28 22:41:20 +03:00
Marius Stanciu
b790f36282 - created a new category in Preferences where only the Engraving Related preferences are located
- added a new set of options in the Preferences for the Milling Plugin by taking them out of the Geometry section
2021-03-28 16:57:57 +03:00