Commit Graph

278 Commits

Author SHA1 Message Date
Marius Stanciu
30802901c7 - removed the setting for HDPI from Preferences and QSettings: QT6 does it automatically now 2021-08-28 22:42:44 +03:00
Marius Stanciu
4afc706e20 - minor changes 2021-08-27 22:03:08 +03:00
Marius Stanciu
a33f492e29 - improved rendering performance for lines (with help from David Hoese from the VisPy team) 2021-08-26 17:11:33 +03:00
Marius Stanciu
4e8a8e7802 - minor change 2021-08-26 16:31:29 +03:00
Marius Stanciu
b6c9e85bdd - fixed a Qt6 derived issue where dragging tabs outside the app crashed the app 2021-08-26 16:10:40 +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
b6e669f1bc the scaling issue is from VisPy, removing the previous changes on this subject and adding a patch until the new release of VisPy 2021-08-24 23:25:00 +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
bbe8f237af - added a comment 2021-08-23 22:24:28 +03:00
Marius Stanciu
2bde27631f - in 2sided Plugin I've added ability to use shortcut keys (like Escape) when waiting for picking a hole when the Hole Snap feature is used
- in 2sided Plugin entering in the Hole Snap feature will disable the notebook to signal that you need somehow to escape this mode
2021-08-23 21:48: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
2136d6c42f - started the work in adding to Isolation Plugin a new feature to extra isolate the pads 2021-08-19 15:53:02 +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
7a2fdc2f05 - some cleaning up in the Preferences 2021-08-19 01:37:34 +03:00
Marius Stanciu
261b83b445 - cleaning up Isolation Plugin 2021-08-18 16:28:10 +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
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
63506b57a3 - some changes due of porting to PyQt6 2021-08-11 15:46:29 +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
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
03618172d7 - Isolation Plugin - if there is no object selected try to select the first one if there is any
- Fixed setting a new style
2021-08-05 22:16:10 +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
4eb20fd5fe - more fixes for porting to PyQt6 2021-08-05 02:23:29 +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
9c139d3ea2 - modified the Geometry UI tools table. Replaced the comboboxes with labels.
- Fixed the SolderPaste Plugin regarding the special designation 'SP' job type and 'DN' tool shape
- some fixes in the GCode Editor regarding the new changes in the data structure
2021-07-18 12:01:41 +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
368413e6d2 - working on data structures (offset, offset_value, job_type, shape) and on the Tools Database 2021-07-07 02:30:27 +03:00
Marius Stanciu
4e46eac61c 7.07.2021
- some changes in data tools structure ('tool_type' to ['data']['tools_mill_job_type])
- some strings changes

4.07.2021

- optimized the Milling Plugin preferences
- added more preferences for v-shape tools in the Milling Plugin Preferences
- deactivated the automatic disable of the Cut Z parameter when selecting a v-shape tool in Milling Plugin
- in Milling Plugin added some protections against receiving signals from widgets without objectName set
- in Milling Plugin made sure that the Custom offset field is displayed only when it is needed (selected from Offset Type combobox)
- added some requirements asked by vispy v0.7.0
- if the generated Gcode is empty then the app will know and will not create a CNCJob object
- modified the Tool Table in Milling Plugin: now the tool type parameter is part of the Tool parameters and no longer in the Tool Table
- working on a Kosy CNC machine preprocessor file
2021-07-07 01:16:15 +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
98597d9834 - minor layout change in Preferences -> Geometry 2021-03-28 23:53:53 +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
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
c9d9e367bf - Drilling Plugin - added in the UI the toolchange X,Y parameter and make it to work as expected 2021-03-14 14:30:02 +02:00
Marius Stanciu
2f57e97a21 - fixed issue when exporting DXF and not settings the units
- added the posibility to export the Geometry in different DXF formats (previously it was hard coded to the AutoCAD 2010): R12, R2000, R2004, R2007, R2010, R2013, R2018
- fixed the camlib.Geometry.bounds() method such that it is calculated correctly for Geometry objects created in the Geometry Editor
2021-03-11 04:50:41 +02:00
Marius Stanciu
d464c1e18a - modified the CNCJob UI to add a shortcut button for the Levelling Plugin 2021-03-08 02:10:04 +02:00
Marius Stanciu
f9d496f1e0 - made sure that possible temporary drawn shapes are deleted when the UI of the Plugin that created them is closed (by closing it in the Plugin Tab) 2021-03-07 23:35:01 +02:00
Marius Stanciu
7a50b2f045 - removed the spacing between icons in toolbars 2021-03-02 04:48:07 +02:00
Marius Stanciu
aee49e6495 - strings update 2021-02-27 04:53:57 +02:00
Marius Stanciu
ca748d9a02 - update in Code Highlighter to highlight the X and Y chars
- updated the Document and Script objects Beginner/Advanced selection labels to the same as the rest of the app objects
2021-02-27 04:48:00 +02:00
Marius Stanciu
f85be8d095 - added possibility of changing the Axis color and created a new parameter for that in Preferences
- some refactoring
- in a FCColorEntry GUI element, setting a color in the Color dialog will trigger the editingFinished signal therefore propagating the changes
2021-02-27 02:08:17 +02:00
Marius Stanciu
f480bafb66 - changed some confusing strings regarding the 'Properties'
- Properties Tool is now ObjectReport Tool
- fixed some attributes in Milling Slots Excellon Object utilities functionality
- fixed some issues in the translated strings .po files
2021-02-26 16:26:30 +02:00
Marius Stanciu
9962469663 - fixed a bug in Transform Tool when calculating the point reference
- working in Film Tool to add the reference for all adjustments
2021-02-14 01:33:21 +02:00