Commit Graph

55 Commits

Author SHA1 Message Date
Artix
859ef325eb Fix to build and run on Artix (https://aur.archlinux.org/packages/flatcam-qt6). 2025-03-04 12:12:06 +02:00
Marius Stanciu
830e8b7aff - NCC Tool: make sure to use the CutZ value set in Preferences NCC Tool section 2024-01-06 14:00:50 +02:00
Marius Stanciu
f00eb7b859 - NCC Plugin: fixed the determination of optimal tool
- NCC Plugin: fixed a bug where when using the Rest Machining an error is issued due of trying to create a MultiPolygon having in the list another MultiPolygon; fixed by flattening the list
2023-07-01 10:40:49 +03:00
Marius Stanciu
1a637cdcb0 - NCC Plugin: fixed the Isolation operation mode
- a number of methods were updated
- modified some strings in regard to rest machining
2023-06-30 23:49:13 +03:00
Marius Stanciu
70bf613163 - NCC Plugin: updates to fix a bug when doing copper clearing with Rest option 2023-06-29 22:40:36 +03:00
Marius Stanciu
968fb1f943 - NCC Plugin: modified the previous change and now the simplification action is much bigger reducing the number of coordinates by a factor of 20 (20 times less)
- Paint Plugin: same as above
- Ncc Plugin: added some more tooltips
- Isolation Plugin: fixed some issues when using the Rest Machining option
2023-06-17 22:30:17 +03:00
Marius Stanciu
5fe50dbcd1 - NCC Tool: made a small optimization by adding a simplification in the clearing geometry 2023-06-16 22:37:02 +03:00
Marius Stanciu
22db129f60 - NCC Plugin - fixed a minor bug that crashed the NCC Tcl Command; reported by @Aldin Halilovic on bitbucket 2023-06-08 23:01:10 +03:00
Marius Stanciu
bc1fa4ca94 - updated the FCButton and FCLabel custom widgets
- Paint Plugin: fixed issues caused by the latest changes in the Shapely module
- NCC Plugin: some changes in the method used by the Tcl Command
2023-06-05 15:41:08 +03:00
Marius Stanciu
63071a9bae - overwritten the Beta_8.995 branch with the Gerber_Editor_Upgrade branch 2023-05-24 18:07:05 +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
1459423ca3 - deleted the Calibration Plugin (made redundant by changes in other Plugins)
- some strings were updated
2022-04-25 01:09:51 +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
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
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
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
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
eec366ce7f - refactoring names for some classes 2022-03-24 18:35:44 +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
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
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
056ff05e29 - most of the logging (except in the Editors) is now done by the AppLogging class 2022-01-31 02:14:14 +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
9057966aa9 - updated the translation strings 2021-10-14 19:37:34 +03:00
Marius Stanciu
287dab0170 - fixed some issues in NCC Plugin: the Plugin could not clear a simple geometry and also some failures were not treated correctly 2021-10-12 00:16:29 +03:00
Marius Stanciu
6f884f4d64 - the Plugins object combo boxes are no longer updated on object selection on Project tab generally but only for the Plugin that is current, if any
- in Corner Markers Plugin I added a new feature, ability to insert existing markers into external objects. Finished the work for external Gerbers and work in progress for the external Geometry
2021-10-08 01:53:36 +03:00
Marius Stanciu
bc2f31aa90 - in Preferences, more Plugins preferences UI is upgraded to the new look
- In Paint Plugin fixed the Area select mode to work with Geometry object created by the Geometry Editor
- in Paint Plugin some changes in the way the source object is autoloaded
- in Paint, NCC and Cutout Plugins when using a mode that require to be terminated (by mouse RMB or ESC key) the notebook UI element is disabled until this is done
2021-10-02 18:02:27 +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
08d3a580ac - multiple UI changes in Preferences
- UI changes in the Paint Plugin
2021-09-25 21:08:15 +03:00
Marius Stanciu
e73d49e2cd - solved more Shapely 2.0 deprecation warnings
- in Isolation Plugin and NCC Plugin changed the UI and the Preferences for those Plugins
2021-09-25 03:36:57 +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
d42c33a02d - in NCC Plugin updated the GUI 2021-09-05 22:50:33 +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
bf49e39301 - made sure that the optimal tool detected works for isolation - the offset amount changed to reflect the number of decimals used by the app 2021-08-17 23:55:09 +03:00
Marius Stanciu
3c44fbaedb - made sure that the optimal tool detected works for isolation 2021-08-15 15:42:34 +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
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
29988a622e - in ParseDXF file fixed import of module due of changes in the latest version of ezdxf module
- changes in Milling Plugin in the selection in the Tools Table
- some updates of milling data structure
- changes in handling the tool shape due of moving the parameter from the tool table in the tool parameters section
2021-07-21 00:46:55 +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
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
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
77cdf798ab - minor logging changes 2021-03-28 15:23:03 +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