Commit Graph

492 Commits

Author SHA1 Message Date
Marius Stanciu
4bf271c25a - fixed Issues #49. Path mismatch for SVG icons -> missing checkboxes fixed as suggested by Stefan Bruens, by adapting the paths in the stylesheets files (dark and light) 2024-06-19 13:36:55 +02:00
Marius Stanciu
260b77c44a - added the ability to use no path optimization
- camblib.generate_from_geometry_2(): added the usage for different kinds of path optimizations set in the Preferences -> Geometry
- some minor objects name refactoring
2024-03-31 18:43:44 +03:00
Marius Stanciu
9be9e09417 - continue refactoring methods from the appMain 2024-03-29 09:54:43 +02:00
Marius Stanciu
e7cd73fde1 - major refactoring: started to move the methods connected to the Edit menu to their own class to clean up the App mega class 2024-03-28 14:49:05 +02:00
Marco Marche
afcdefc949 fix: bad ItemFlag to int cast in table drop handler 2024-02-14 10:03:15 +01:00
Marius Stanciu
84460daa29 - Paint Plugin: fixed an issue where a Gerber object cannot be painted using the Single Polygon selection correctly because it painted the whole geometry 2024-01-11 02:11:23 +02:00
Marius Stanciu
9089fa6b1f - when tabs are set as not detachable, double_clicking the Plot_Area tab will toggle the notebook area visibility
- fixed the Full Screen issue with not remembering the toolbar's state before full screen event
2023-12-16 16:06:03 +02:00
Marius Stanciu
0526f37568 - forgot to use M03 and M04 as they are more generic than M3 and M4 2023-12-06 21:04:41 +02:00
Marius Stanciu
569a30ee52 - Drilling and Milling Tools: added support to choose the GCode for turning On the laser 2023-12-06 21:00:07 +02:00
Marius Stanciu
89dd51ff99 - Levelling Tool: added parameter (in Preferences too) to control the probe tip diameter which is reflected in the probing location mark diameter
- Levelling Tool: when adding a Grid probing and the avoidance of Excellon is used, now the probing locations will be offset enough so the probing is not done in the Excellon holes
2023-11-25 18:43:14 +02:00
Marius Stanciu
6b4483044b - some names are updated
- made sure that when a new project is created that the levelling grid shapes are deleted
- some code optimization and code refactoring
2023-11-25 14:40:51 +02:00
Marius Stanciu
4458249ee5 - trying to solve an idiosyncrasy of MacOS which do not allow modifying the main menu in a non-main thread which is done after editing an object 2023-11-14 21:49:17 +02:00
Marius Stanciu
7d7348b594 - upgraded code so the app will work with Python 3.12 2023-10-19 14:19:21 +03:00
Marius Stanciu
7fa40fd940 - fixed aperture macros parse for Gerber files generated from KiCAD 7.0.7 2023-09-23 20:25:34 +03:00
Marius Stanciu
4d5287ce12 - Gerber Parser: fixed a bug where a region is a MultiPolygon and failed because of changes in Shapely starting with version 2.0 2023-07-05 16:22:49 +03:00
Marius Stanciu
eae925a2b7 - Drag and Drop files works now only in the Notebook and in the Plot Tab 2023-07-05 16:12:27 +03:00
Marius Stanciu
d96d981643 - fixed a number of bugs reported in the issue #32 here: https://bitbucket.org/marius_stanciu/flatcam_beta/issues/32/crashes-on-close-random-crashes-that 2023-07-04 00:12:36 +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
ed3ef84eb2 - updated in GUI Elements for FCButton, FCFrame and FCLabel custom widgets adding an stylesheet optimization method 2023-06-07 02:58:46 +03:00
Marius Stanciu
5708791acc - in Preferences, added a control in the General -> GUI Settings to control the font size for the entire application; require an app restart 2023-06-05 18:46:06 +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
054a812f7b - added a new setting that control the selection shape creation, in the Preferences. If the checkbox Selection Outline is checked then the selection shape is only an outline. 2022-05-19 14:13:25 +03:00
Marius Stanciu
f82d4a4b98 - fixed the Toggle Grid Lines functionality for dark mode 2022-05-18 23:59:57 +03:00
Marius Stanciu
937296d9b1 - minor change 2022-05-15 01:30:02 +03:00
Marius Stanciu
0ee2a19189 - changed the syntax highlighting for the AppTextEditor such that the strings are not color marked
- changed the syntax highlighting such that for a dark theme the colors are inverted
- made sure that in the AppTextEditor, when a line is highlighted then the text foreground color is black such that the writing can be read over the line highlight
2022-05-12 04:13:23 +03:00
Marius Stanciu
82d1729eb8 - in Document Object UI - upgraded the UI and fixed the colors setting 2022-05-11 22:39:07 +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
ab11367e3d - styled the border for the QToolButton (for dark mode) 2022-05-10 07:22:14 +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
9e2ce70b42 - made sure that clicking the text in the InfoBar will also toggle the Tcl Shell display as is the click on the Infobar itself 2022-05-09 17:09:53 +03:00
Marius Stanciu
51811b84cb - minor changes to another custom widget 2022-05-06 01:43:14 +03:00
Marius Stanciu
1183a60030 - minor changes to one of the custom widgets 2022-05-06 00:21:31 +03:00
Marius Stanciu
5139fca50b - removed the shortcut for the PDF Import Plugin (Ctrl+Q) since it interfered with the MacOS usage 2022-05-05 23:42:28 +03:00
Marius Stanciu
1fd08ca30b - changed the activity GIF's for the dark theme
- changed some of the dark theme icons to the red color
2022-05-05 05:03:01 +03:00
Marius Stanciu
73ae30e016 - more changes for dark theme 2022-05-04 05:43:47 +03:00
Marius Stanciu
96817e3417 - for dark mode disabled hover highlight on the Status Bar 2022-05-04 05:11:26 +03:00
Marius Stanciu
e76568c2f1 - some changes to the dark mode stylesheet to make it look better
- darkened the text color for the dark theme in order to make it easier on the eyes
- in Distance Plugin, when using the big cursor, the cursor colors are fixed to work for the dark mode too
2022-05-04 05:04:53 +03:00
Marius Stanciu
5e8cee8feb - in Excellon Editor, Copy sub-tool, added UI and ability to copy as array
- fixed an issue in Geometry Editor, Copy sub-tool where when the geometry copied numbers over the set limit then the copy as array is incorrect
2022-05-02 03:58:36 +03:00
Marius Stanciu
f8ccf03786 - fixed persistence of view status for the coordinates toolbars
- fixed broken selection in Excellon Editor
2022-05-01 06:02:48 +03:00
Marius Stanciu
4709b336f5 - in Excellon Editor, finished the upgrade work on the Resize Plugin 2022-04-30 17:46:48 +03:00
Marius Stanciu
753b6c6d5d - in Excellon Editor, finished th upgrade work on the Slot Array Plugin 2022-04-30 16:34:22 +03:00
Marius Stanciu
5e504f168b - minor change 2022-04-30 04:57:24 +03:00
Marius Stanciu
88775511ce - prettified some GUI elements (some of those that are used in the popup messages) 2022-04-30 04:52:52 +03:00
Marius Stanciu
6592fc5cde - In Excellon Editor, Drill Array Plugin, upgraded the UI and work in progress for the features 2022-04-30 03:52:57 +03:00
Marius Stanciu
b4c300b2eb - In Excellon Editor, finished updating the Drill Plugin and Slot Plugin
- fixed a bug in the excellon export method, regarding the slots processing
2022-04-29 20:11:55 +03:00
Marius Stanciu
545e594ed0 - in Isolation Plugin made sure that the last displayed message is the warning, in the case of using tool validation and the tool is not validated
- some more work in the Excellon Editor - Drill adding
- some fixes in the image loader when clicking the an image that is in the list of previous loaded files
- a small fin in the SVG parser
- added a new Tcl command that is returning the name of the active object ('get_active') to accompany the 'set_active' command
- a small fix for the 2d graphic mode by replacing the q5agg matplotlib backend with the qtagg backend which should work with the Qt6
2022-04-28 13:39:48 +03:00
Marius Stanciu
779a8ccc9f - activated the 'View Source' option in the project menu context menu for the Geometry objects
- in Image Import plugin now the created objects have the 'source_file' attribute with content
- working in the Excellon Editor - wip
2022-04-26 14:29:23 +03:00
Marius Stanciu
060c52e47a - changed again the FClabel GUI element to allow font size change from a class parameter and modified the way the weight is set
- small UI change in the Image Import Plugin
2022-04-25 12:47:19 +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