Commit Graph

4376 Commits

Author SHA1 Message Date
Marius Stanciu
cb7e69ee89 Squashed commit of the following:
commit 7fda555fc0
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed May 24 17:46:25 2023 +0300

    - for all Editors now there is a shortcut key (key "C") that will toggle the cursor data in case the cursor data is in the way
    - Geometry Editor: the Path tool now has a new behavior: when key modifier SHIFT is pressed and the Grid is OFF, when the line is drawn and it is near the 0, 45 and 90 degrees, in each quadrant, then the drawn line will follow the nearest target angle (0 or 45 or 90 degrees) allowing the drawing of straight lines.

commit e5dd294576
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Fri May 19 18:18:38 2023 +0300

    - Film Tool: fixed the export to PNG to be done at correct DPI

commit a49f54d63f
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Fri May 19 13:09:08 2023 +0300

    - the selection shapes are now moved from Move Plugin to AppMain
    - Fiducials Plugin: fixed errors due of changes in the Shapely module
    - Fiducials Plugin: fixed an error where in Basic mode the soldermask opening is added incorrectly

commit ba3152e5f9
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Fri May 19 02:23:40 2023 +0300

    - CutOut Plugin - fixed the manual adding of gaps

commit 761b61668a
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed May 17 22:48:39 2023 +0300

    - Thieving Plugin: fixed errors due of changes in the Shapely module

commit dea367b185
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Tue May 16 04:34:32 2023 +0300

    - NCC Plugin: fixed the Standard method of copper clearing (both normal and with Rest machining)

commit 6719e2ef8e
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun May 14 22:14:43 2023 +0300

    - NCC Plugin - minor code refactoring

commit 5d274dd522
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun May 14 21:48:14 2023 +0300

    - Isolation Plugin, NCC Plugin and Find Optimal Plugin: fixed not finding the optimal tool diameter (the one that will isolate completely a Gerber object)

commit 1d68dea61c
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Fri May 5 22:31:18 2023 +0300

    - replaced some type hints with using the Union

commit 412872bc09
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Fri May 5 02:40:41 2023 +0300

    - fixed an erroneous opening for a Gerber file generated by KiCAD 6.0.11, due of a rectangular flash being eliminated by the global unary_union operation

commit 765d7cc05b
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat Apr 15 22:15:33 2023 +0300

    - when parsing a new Gerber object, I am "preparing" each geometry added therefore making the Gerber object geometry possible faster to process

commit 6a29bcbe7c
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat Apr 15 21:29:32 2023 +0300

    - some code leftovers are commented

commit b557df8fdc
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat Apr 15 21:08:48 2023 +0300

    - minor fixes

commit ccc71eabc2
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat Apr 15 21:03:30 2023 +0300

    - changed the shapely imports a bit according to the specifications of Shapely 2.0
    - changed the requirements.txt file to reflect the need for at least Shapely in version 2.0

commit 6f93734d3f
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat Apr 8 12:43:34 2023 +0300

    - minor name changes

commit faf41d7bca
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat Apr 8 12:29:45 2023 +0300

    - major change: from now on the only dimensional units available are those from ISO METRIC system

commit b446ded9ab
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat Apr 8 12:10:02 2023 +0300

    - fixed some really long strings in the Geometry Editor toolbar actions
    - modified the paint and buffer icons
    - optimized the editor menu/toolbar action names

commit 72dd81848f
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed Mar 22 16:43:27 2023 +0200

    - in the toolbars now there is text under the icons (which can be turned off from the toolbar context menu)
    - the GUI state is now saved and restored through QSettings

commit 1dff9cc566
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Mon Mar 13 23:08:57 2023 +0200

    - in Tcl Commands: export_dxf and export_gerber, fixed a mistake in declaring a wrong name of a required option
    - in Tcl Command set_path added an optional parameter which allows to create a directory where path is to be set, if the directory does not exist

commit 3b3c87e953
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Mon Mar 6 16:40:49 2023 +0200

    - fixed some possible issues due of changes in version 2.0 of Shapely
    - removed the import * statement from most of the app

commit 33de5314b1
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed Mar 1 18:15:10 2023 +0200

    - in Tool Milling made sure that deleting the only tool will not crash the application
    - added a new parameter in Preferences to control the number of processes created by the Pool() - more processes better performance but also a lot of memory consumed
    - made sure that the display of messages in the Status Bar is done asap

commit 9d8852e611
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Fri Jan 20 19:23:34 2023 +0200

    - added a new method for bilinear interpolation

commit 9ce9c3cb54
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed Jan 18 18:22:33 2023 +0200

    - in Autolevelling Plugin, preventing the add of a probe point on Excellon hole checkbox is not disabled except for the Manual mode
    - in Autolevelling Plugin, the status of soem checkoxes (avoid Excellon holes and plot points) is stored between app restarts
    - in Isolation Plugin, added an convenience shortcut button to launch the Milling Plugin.

commit c85d04bc0a
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed Jan 18 01:32:28 2023 +0200

    - in Autolevelling Tool, when adding manual probe points, added an option that prevent adding a probe point within a drill hole of an Excellon object that is plotted on canvas

commit f42f05d93e
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed Jan 18 01:07:31 2023 +0200

    - in Autolevelling Tool made sure that when adding manual probe points mouse dragging with the right button is not counted as end of adding operation

commit 220157641d
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Tue Jan 17 01:02:52 2023 +0200

    - fixed the Voronoi generation in the Autolevelling Tool (removed the Foronoi package due of issues and now using the embedded functionality from Shapely)
    - fixed the enable of Levelling Tool only for CNCJob objects that were made from geometries that were segmented

commit 853b273e79
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Mon Jan 16 23:52:30 2023 +0200

    - fixed the Voronoi generation in the Autolevelling Tool (removed the Foronoi package due of issues and now using the embedded functionality from Shapely)

commit a1b6f78d78
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Mon Jan 16 13:28:50 2023 +0200

    - some PEP8 fixes

commit 6c5a468418
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Mon Jan 16 13:02:47 2023 +0200

    - fixed a decoding error in the Excellon parser

commit d6ebcef38d
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun Jan 15 22:31:11 2023 +0200

    - PEP8 changes

commit 2d0ea65f1b
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun Jan 15 15:25:20 2023 +0200

    - minor change

commit c1377d5090
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat Nov 19 02:29:40 2022 +0200

    - added a 'return' button when a fatal error is encountered allowing the user to continue the work
    - fixed a crash in Milling Plugin when trying to mill slots that do not have drills in the same file

commit 22f4d92be7
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed Nov 9 20:56:39 2022 +0200

    - minor change in the requirements.txt file

commit 8b4423dc0f
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed Nov 9 19:55:59 2022 +0200

    - when changing the style for the decorations from Preferences, now change is applied immediately

commit 9ec2ee2920
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Tue Nov 8 15:59:59 2022 +0200

    - in Drilling Plugin fixed a situation when having tools with the same diameter will get them multiplied by the number of those tools

commit d1a4de676e
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun Nov 6 00:43:34 2022 +0200

    - if PikePDF module is not available then show an error but run the app (currently, for Python 3.11 is the only module not available)

commit 6509089dc4
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed Oct 19 16:59:05 2022 +0300

    - fixed an issue when exporting huge SVG files from the Film Tool by adding a fallback and using a custom XML parser with the 'huge_tree' option set

commit 2c229d8677
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed Oct 19 02:35:19 2022 +0300

    - added a hack so the Gerber files from Allegro 17.2 (which do not follow the Gerber specifications) can be loaded

commit 94901686b5
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun Oct 2 06:56:13 2022 +0300

    - really small UI change in 2-Sided Plugin

commit 56033b8bc4
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Tue Sep 27 16:45:32 2022 +0300

    - in Milling Plugin, for Excellon target, re-enabled the control over the Feedrate X-Y parameter

commit 8f774df30b
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun Sep 25 05:57:35 2022 +0300

    - small fix in ToolCutout Plugin when trying to set a checkbox state with a float value which still works in Windows but creates issues in other OS's

commit 9b08191660
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun Sep 25 05:44:43 2022 +0300

    - added a new setting in Preferences ("3D compatibility") controlled by a checkbox. If the checkbox is checked then multithreading is disabled for the 3D mode (lower performance but perhaps more compatibility, especially for Linux) - this was done from the research done by Matti Eiden on bitbucket

commit 565c839460
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat Sep 10 01:50:13 2022 +0300

    - added insurance that the QThread where the ArgThread class is running, really receive the interruption request and it is finished

commit 71a3963c96
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat Sep 10 01:06:13 2022 +0300

    - hided the main UI on application quit to create a user experience of a shutdown without lag
    - added a way to terminate QThreads safely by waiting; should be much safer
    - made sure that the ArgsThread class receive the signal to stop
    - made sure that on application shutdown, all workers will quit before the actual exit

commit 3c1349a6c4
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Thu Sep 1 13:08:06 2022 +0300

    - added a new feature for Geometry export-as-SVG, the ability to export only the paths (outlines); the new feature is controlled from a new parameter in Preferences -> Geometry -> Export

commit 6eeac5312e
Merge: 419330ee 2901afd9
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Mon Aug 1 09:29:44 2022 +0000

    Merged Beta_8.995 into gerber_editor_upgrade

commit 419330ee93
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Mon Aug 1 12:27:14 2022 +0300

    - fixed some bugs in Geometry Editor in regards of Buffer Tool
    - fixed some issues in the Cutout Plugin by adding more checks
    - fixed issues when loading files by dragging in the UI (caused by recent code refactoring)

commit 4c22e52b08
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Thu May 26 00:20:43 2022 +0300

    - upgraded the UI of Region sub-tool in the Gerber Editor

commit 95066e352b
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun May 22 14:01:21 2022 +0300

    - in Gerber Editor upgraded the Simplification sub-tool GUI

commit 5298a59372
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun May 22 04:37:16 2022 +0300

    - in Gerber Editor upgraded the Track sub-tool GUI

commit 830d500d04
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun May 22 03:18:51 2022 +0300

    - in Gerber Editor upgraded the PadArray GUI

commit 9055cc1230
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sun May 22 01:40:55 2022 +0300

    - in Gerber Editor upgraded the PadAdd GUI

commit bfb3aa4118
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat May 21 02:13:47 2022 +0300

    - added properties for the mouse position and mouse clicked position (and setters) and cleaned up the code regarding this data

commit 61325b7b5f
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Sat May 21 01:25:14 2022 +0300

    - more code refactored in the appMain.py

commit 77c752701f
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Fri May 20 21:19:52 2022 +0300

    - refactored the code for the file registration and for the keywords update into its own class to make the main class smaller
    - when creating new files the file names are added to the beginning of the keywords list for the usage of Qt auto-completer

commit 5125f475eb
Merge: c3ab0b28 037a72a5
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Fri May 20 01:51:59 2022 +0000

    Merged Beta_8.995 into gerber_editor_upgrade

commit c3ab0b28b3
Merge: 93c2ab43 c0ff26db
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Thu May 19 13:25:47 2022 +0000

    Merged Beta_8.995 into gerber_editor_upgrade

commit 93c2ab43f4
Merge: 8bdaaa50 f82d4a4b
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Wed May 18 21:00:48 2022 +0000

    Merged Beta_8.995 into gerber_editor_upgrade

commit 8bdaaa5021
Merge: 1a0dfe61 04bb0857
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Tue May 17 19:55:12 2022 +0000

    Merged Beta_8.995 into gerber_editor_upgrade

commit 1a0dfe6143
Merge: 9a057a40 b09c55da
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Tue May 17 11:39:28 2022 +0000

    Merged Beta_8.995 into gerber_editor_upgrade

commit 9a057a40c5
Merge: c1a53203 3a0247e7
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Tue May 17 09:54:28 2022 +0000

    Merged Beta_8.995 into gerber_editor_upgrade

commit c1a5320315
Author: Marius Stanciu <marius.adrian@gmail.com>
Date:   Mon May 16 18:13:12 2022 +0300

    - started to lay ground for upgrading the UI in the Gerber Editor
    - fixed and upgraded the Buffer sub-tool in the Gerber Editor
    - fixed adding same aperture multiple times
2023-05-24 18:20:51 +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
c23d0c4ed6 - some deletions, because there are conflicts, and I am lazy to fix them 2023-05-24 17:58:15 +03:00
Marius Stanciu
260b466abf - fixed the Voronoi generation in the Autolevelling Tool (removed the Foronoi package due of issues and now using the embedded functionality from Shapely) 2023-01-16 23:50:38 +02:00
Marius Stanciu
7a7d6d52bf - fixed a decoding error in the Excellon parser 2023-01-16 13:17:36 +02:00
Marius Stanciu
d89deb47d3 - fixed an encoding error in the Excellon parser 2023-01-16 13:05:53 +02:00
Marius Stanciu
1cd064e3ed - added a package restriction in the requirements.txt 2023-01-16 12:42:16 +02:00
cmstein
2901afd99a Merged in Beta_8.995 (pull request #28)
Portuguese BR translation updated
2022-07-15 13:04:42 +00:00
cmsteinBR
45f93d5e2d Portuguese translation updated 2022-07-13 11:10:49 -03:00
Marius Stanciu
037a72a594 - small fix for a bug that interfere with running the 2D graphic mode 2022-05-20 04:51:28 +03:00
Marius Stanciu
c0ff26db13 - fixed the Move Plugin to use the new setting of outline for the selection shape 2022-05-19 15:36:22 +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
6e410583bb - added some safeguards in Cutout Plugin 2022-05-18 16:32:13 +03:00
Marius Stanciu
04bb085794 - the ArgThread class is no longer launched in case of Linux systems due of crashes 2022-05-17 20:35:14 +03:00
Marius Stanciu
739e41d48b - in Cutout Plugin added an extra attempt to solve the issue with creating invalid geometries 2022-05-17 15:43:36 +03:00
Marius Stanciu
b09c55daf0 - updated the Turkish language strings (by Mehmet Kaya) 2022-05-17 14:38:35 +03:00
Marius Stanciu
3a0247e7cf - in Cutout Plugin added ability to use the margin (full range of values: negative, zero, positive) when applying the cutout over a Geometry source object 2022-05-17 12:31:08 +03:00
Marius Stanciu
278727fcc7 - fixed an issue that left some parts of the Geometry Editor UI linked to the Move context menu action 2022-05-16 04:17:33 +03:00
Marius Stanciu
745e49ed50 - finished upgrading the UI in Geometry Editor sub-tools 2022-05-16 03:49:02 +03:00
Marius Stanciu
937296d9b1 - minor change 2022-05-15 01:30:02 +03:00
Marius Stanciu
3f1a77e663 - fixed the Tcl command drillcncjob so it can use positive or zero depth of cuts
- fixed the Drilling Plugin such that when the Z_CUt (depth of cut) is positive value then the up-to-zero feature will not be used
2022-05-15 01:16:57 +03:00
Marius Stanciu
acc6367507 - added a camera view example (should be useful in the future) 2022-05-14 23:05:53 +03:00
Marius Stanciu
1dc26af34c - fixed the join-as-gerber functionality 2022-05-13 01:35:23 +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
9eb42f4601 - some refactoring and updated the application strings
- updated Romanian translation
2022-05-11 23:42:46 +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
a5770d44b5 Merge remote-tracking branch 'origin/Beta_8.995' into Beta_8.995 2022-05-09 16:20:59 +03:00
Marius Stanciu
3cd3be1a5f Merged in svg_path_issue_generating_invalid_polys (pull request #26)
Svg path issue generating invalid polys
2022-05-09 13:15:33 +00:00
Marius Stanciu
ba7fafb6de - fixed an issue in the SVG parser where when parsing a path and getting multiple polygons will generate an invalid compound polygon (the polygons other than the first are seen as interiors even if they are not inside the first) 2022-05-09 16:12:12 +03:00
Marius Stanciu
a53ec7ea75 Merge remote-tracking branch 'origin/Beta_8.995' into Beta_8.995 2022-05-09 15:57:42 +03:00
Marius Stanciu
9dc6c94a45 - wip 2022-05-09 14:18:49 +03:00
Marius Stanciu
411a9320e5 - fixed an issue in the Paint Plugin where some polygons are discarded in a Geometry object made out of an imported SVG
- a few other changes
2022-05-09 12:40:12 +03:00
Marius Stanciu
217fcf55a1 - added an example of custom titlebar - still needs a lot of work 2022-05-06 03:20:42 +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
b711189608 - fixed the 'light' theme paint icon name 2022-05-05 18:41:38 +03:00
Marius Stanciu
4e21868b77 Merged in dark_mode (pull request #25)
Dark mode
2022-05-05 15:32:01 +00:00
Marius Stanciu
a623f20cf5 - updated the GCode header 2022-05-05 18:30:16 +03:00
Marius Stanciu
181a392cec - added a hack so the dark stylesheet for QWidget is reapplied if that Qwidget is removed (I don't know why it is lost in the first time)
- when exiting an Editor with a sub-tool active the cursor data display feature is removed
2022-05-05 18:25:29 +03:00
Marius Stanciu
fed9369023 - added a hack so the dark stylesheet for QWidget is reapplied if that Qwidget is removed (I don't know why it is lost in the first time) 2022-05-05 18:16:45 +03:00
Marius Stanciu
e6753346c1 - made sure that the draw color in Editors is inverted for the dark mode 2022-05-05 17:46:54 +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