Commit Graph

4083 Commits

Author SHA1 Message Date
Marius Stanciu
2bda71bcfe - fixed the GRBL_laser preprocessor such that it does not have a Z move at the end of the job due of the fact that this preprocessor has moves only in the X-Y plane
- in Milling Plugin made sure the preprocessors that have the `laser_z` in the name (case insensitive) have the ability to change the Z height at the end of the job (through End_Z parameter)
2022-01-22 21:39:19 +02:00
Marius Stanciu
90165ce0ac - improved the running of scripts when loading from GUI a script as a FlatCAM script 2022-01-22 00:23:22 +02:00
Marius Stanciu
17533aebc3 - fixed more issues with the cncjob Tcl command
- made sure that some autocomplete keywords are correctly processed by the application; needs the delete of the preferences files
2022-01-21 22:15:33 +02:00
Marius Stanciu
af688cb369 - fixed the description for the new Tcl command buffer 2022-01-21 02:39:57 +02:00
Marius Stanciu
b0db73029d - added a new Tcl command: buffer which will buffer the geometry of an object or will scale individually each geometry sub element
- fixed the buffer() method for the Excellon objects (the resulting tool diameters were calculated less than the what was expected)
2022-01-21 02:37:34 +02:00
Marius Stanciu
ba8b16e54f - fixed some issues due of the above hack 2022-01-19 21:35:26 +02:00
Marius Stanciu
a26fd24f65 - made a hack so if the Image Import plugin can't be loaded due of dependencies errors the app will not crash but this plugin will no longer be available 2022-01-19 18:05:13 +02:00
Marius Stanciu
8d06b5bf81 - remade the Image Import plugin in an attempt to fix issues with the latest packages of Gdal and Rasterio but it looks that it is a conflict between the Rasterio 1.2.10, Gdal 3.4.1 and Shapely 1.8.0
BAD MESSAGE previously
2022-01-19 17:46:59 +02:00
Marius Stanciu
a9b26b291f - the Editors require an Object UI build before launching; I've added the required code so the shortcut keys work even if the Properties tab is not current 2022-01-19 17:45:59 +02:00
Marius Stanciu
62265f020d - added comments in the default preprocessors which will help other people create their own preprocessors 2022-01-19 03:02:41 +02:00
Marius Stanciu
cdf6872e5e - updated the header of the postprocessos with 'laser' to show essential informations like some of them do not move on the Z axis
- make sure that the laser postprocessor that do move on the Z axis (like 'GRBL_laser_Z') accept negative values for the Z focus
- fixed issue in highlighter such that the keywords that have an underscore included are highlighted
- rearranged the default keywords
- fixed the generatecncjob() method default parameters to reflect new data structure names
- in Geometry object the default self.options dictionary is updated with keys that reflect new data structure
2022-01-19 02:25:40 +02:00
Marius Stanciu
04e6bf0872 - added a new Tcl command named 'list_pp' which lists the available preprocessor names 2022-01-18 00:39:09 +02:00
Marius Stanciu
3363dd0fe8 - in the 'cutout' Tcl command made sure that when an error pop-up then it returns with a "fail" string
- made sure when running scripts from the interface that if a command will generate an error then the script is aborted
2022-01-18 00:30:10 +02:00
Marius Stanciu
87f1b7e15e - modified the 'new' Tcl command to be silent and to show no popup message 2022-01-17 23:48:44 +02:00
Marius Stanciu
c08acc79eb - fixed an issue with path conversion when using Windows-style of paths in the 'set_path' Tcl command 2022-01-17 23:37:28 +02:00
Marius Stanciu
2430158334 - fixing an issue with not building the UI for the generated objects when running a script and then trying to enable/disable the plots
- attempting to add a feature in the text editors to autoselect all words in a document that are the same as the one that was clicked
- all the colors set in Preferences now have to be in the 8digits format RGBA (including the alpha channel as a suffix) - it is required to delete the current preferences files
2022-01-17 21:26:10 +02:00
Marius Stanciu
fd696b00a2 - fixed the 'isolate' Tcl command: updated to the new tools data structure elements 2022-01-17 14:08:44 +02:00
Marius Stanciu
0a9adcb82d - made sure that in Tcl commands deleting argument keys will not raise an error 2022-01-17 12:57:28 +02:00
Marius Stanciu
e18690baf0 - fixed issues in the 'millslots' and 'milldrills' Tcl commands for the case when some parameters are not used 2022-01-17 12:35:36 +02:00
Marius Stanciu
e63eaa6279 - fixed the 'save_project' Tcl Command - missing 'f_handlers' in the path 2022-01-15 18:18:05 +02:00
Marius Stanciu
f59a166503 - fixed the 'cncjob' Tcl Command to work in the new configuration of the data structures 2022-01-15 18:05:56 +02:00
Marius Stanciu
7e3152e7a3 - fixed the Tcl Command 'set_origin' to work for a specified location
- updated the Tcl Command 'set_origin' to give the option to set the origin for a specified object
2022-01-15 17:25:05 +02:00
Marius Stanciu
873cd6f947 - some changes to the FCMessageBox so the dark theme works ok on it 2022-01-15 03:34:33 +02:00
Marius Stanciu
8c154e6cc0 - All FCColorEntry GUI element instances have now a set icon for the title (and taskbar) 2022-01-15 02:53:34 +02:00
Marius Stanciu
b615edd631 - made sure that new message boxes are always centered on the app UI by setting correctly the parent 2022-01-14 12:43:14 +02:00
Marius Stanciu
200d244b9b - made sure that the FCMessageBox taskbar icons and message are the correct ones
- applied the FCMessageBox GUI elements everywhere; there is still a hack in appTranslation file where I needed to re-implement the class due of some circular imports errors
2022-01-13 18:08:11 +02:00
Marius Stanciu
dc636369a6 - modified the FCMessageBox to have a border and a single color inside the box 2022-01-13 16:42:59 +02:00
Marius Stanciu
1d1613d2d6 - subclassed the QMessageBox and created a new type of MessageBox that is frameless; started to use it throughout the app 2022-01-12 02:27:12 +02:00
Marius Stanciu
d7be3c3c3b - started to mod the qdarktheme to fit the application 2022-01-12 00:44:25 +02:00
Marius Stanciu
2165ebe419 - added an initial implementation of a dark theme using the qdarktheme (performance is not great and there are some artifacts); the theme is activated once the gray icons are checked in the Preferences 2022-01-11 23:21:18 +02:00
Marius Stanciu
1ccf4b38c6 - fixed and error in the Isolation Plugin when using the pad multi-isolations and area isolation simultaneously 2022-01-10 17:36:50 +02:00
Marius Stanciu
ab3e610324 - added a new feature in Preferences -> Gerber: a Layer Color Manager where the user can set and edit predefined colors for the Gerber objects: loading order matter 2022-01-10 17:06:12 +02:00
Marius Stanciu
747a2f0de4 - fixed a Gerber parser issue shown by Gerber files generated by Autotrax DEX ECAD software: if the last operation before a region was a flash D03 then at the beginning of the region a flash was added with the previous aperture 2022-01-09 21:20:42 +02:00
Marius Stanciu
e219562bbb - added in CNCJob preferences new preferences that allow compensation for the CNC bed skew/tilt (axes not being square one to another)
- all pre-processors are altered such they can adjust the gcode to use the compensation values set in Preferences -> CNC-Job section
2022-01-09 19:44:56 +02:00
Marius Stanciu
9d9bfa8b03 - some UI changes in the Preferences: the clicked tab now have a distinctive color (green) and some strings are optimized 2022-01-09 16:39:06 +02:00
Marius Stanciu
12e69af3ef - in Isolation Plugin fixed the issue with clicking the header not toggling all tools rows
- in Isolation Plugin fixed an issue in the reset_fields() method
2022-01-08 23:10:40 +02:00
Marius Stanciu
648fc81868 - added a donation link (some people wanted it there so...) 2022-01-06 19:08:23 +02:00
Marius Stanciu
518bedc78d - some changes in the Excellon object suggessted by an user: Karl-Heinz 2022-01-06 17:48:00 +02:00
Marius Stanciu
8f8bff3e4f - modified the 'laser-lines' method in the Paint Plugin such that the rounded part of a painted trace is painted too in the case that the trace width is much higher than the clearing tool diameter 2022-01-06 00:02:23 +02:00
Marius Stanciu
fff657389e - in Paint Plugin fixed the method 'laser-lines' for the case when the painted Gerber file has square shape apertures 2022-01-05 04:41:47 +02:00
Marius Stanciu
f3d379e4af - in Milling Plugin made sure that the UI is updated correctly when changing the type of target object depending on the Basic/Advanced mode 2021-12-24 04:49:34 +02:00
Marius Stanciu
03f096a1cd - fixed a double application of milling offset when having geometries with multiple tools
- finished the mill-excellon feature in the Milling Tool; milling will be done progressively from the hole center toward the edge
2021-12-23 22:04:41 +02:00
Marius Stanciu
da154a865c - in Milling Plugin working on milling Excellon holes by painting them from the center
- removed display of some of the logs in Tcl Shell (when in Verbose mode) when parsing the Gerber files
2021-12-23 05:07:49 +02:00
Marius Stanciu
0e4eb2631e - in Milling Plugin fixed the toolchange_xy and end_xy parameters not being used 2021-12-16 05:33:25 +02:00
Marius Stanciu
2d1cf899e8 - small optimization when deleting all objects (creating a new project) 2021-12-09 13:10:01 +02:00
Marius Stanciu
24caaedac0 - fixed some more Shapely 2.0 deprecation warnings
- fixed a message bug in the AppMain
2021-12-08 23:11:23 +02:00
Marius Stanciu
20587eaec8 - some issues fixed that were left behind rom porting to PyQt6
- trying to solve differently RuntimeError exceptions that randomly popup due of wrapped C++ objects being deleted by attempting to create a new UI for the objects
2021-11-30 00:00:18 +02:00
Marius Stanciu
2125071875 - fixed a bug in the Gerber Editor in the Move command 2021-11-27 01:41:31 +02:00
Marius Stanciu
7f472838d6 - in Follow Plugin made sure that the notebook is disabled until the user finish (or cancel) the operation when using the area type of 'follow' 2021-11-26 01:55:54 +02:00
Marius Stanciu
a54de942a3 - added a few protections against RuntimeError exceptions that randomly popup due of wrapped C++ objects being deleted 2021-11-23 12:26:11 +02:00