Commit Graph

194 Commits

Author SHA1 Message Date
Marius Stanciu
d6c345656c - finished implementing the new feature that add a new parameter laser minimum power for the Drillin, Milling Plugins and for the cncjob and drillcncjob Tcl commands:
- modified all the preprocessors that are for `laser` to use the new parameter: `laser minimum power`
2022-01-30 21:33:06 +02:00
Marius Stanciu
dbc2e5c381 - finished the UI for adding a new parameter that is used in conjunction with the laser preprocessors: laser minimum power parameter which should help in doing a full power up/down cycle (should prolong the lifetime for the laser diode)
- fixed some UI issues for the Milling and Drilling plugins when using a `laser` preprocessor
2022-01-30 19:03:20 +02:00
Marius Stanciu
71441a80e5 - fixed not adding the feedrate code in drillcncjob Tcl command
- fixed crash when trying to do a `select all` and there are app Scripts present
- updated the `drillcncjob` Tcl command to make a script exit in case of an error
2022-01-30 16:25:11 +02:00
Marius Stanciu
6965c91447 - some more work on the Isolation plugin 2022-01-30 14:13:36 +02:00
Marius Stanciu
66b874835c - refactored the Isolation Plugin class 2022-01-30 03:50:27 +02:00
Marius Stanciu
965ccca885 - upgraded/fixed the Panelize Tcl command 2022-01-29 03:11:56 +02:00
Marius Stanciu
eb6ea7e623 - fixed an KeyError exception in the GCode Editor regarding the key: 'offset' not existing
- updated the Tcl command `drillcncjob` to store the tool gcode and the parsed tool gcode in each tool data structure
- updated the Tcl command `drillcncjob` description and examples
2022-01-28 15:54:41 +02:00
Marius Stanciu
c470023719 - fixed an error in Drilling Plugin when selecting only a few tools and not all for drilling
- fixed an error when building the UI for a CNCJob object created from drilling an Excellon object with a limited selection of tools
2022-01-28 04:03:19 +02:00
Marius Stanciu
7bc941f3dd - in Cutout plugin added the ability to create Manual Geometries with negative tool diameters 2022-01-26 12:51:08 +02:00
Marius Stanciu
5a912c6885 - fixed the Cutout plugin for the rectangular cutout: the name of the resulting object is now correct if there is no extension in the source file 2022-01-26 11:47:07 +02:00
Marius Stanciu
b94514786c - fixed the Cutout plugin not working with Geometry objects that are made out of a LineString or LinearRing geometric elements 2022-01-26 11:30:06 +02:00
Marius Stanciu
51d4f9030d - fixed the Milling Plugin who changed the tools information "tools_mill_multidepth" when changing from Basic to Advanced mode to the application default value but that defeated the change made by the Cutout plugin
- fixed a Shapely 2.0 deprecation warning in the Report plugin
2022-01-25 23:55:51 +02:00
Marius Stanciu
ff805880e1 - fixed the Follow plugin not marking correctly the resulting Geometry objet as a multigeo
- fixed the Cutout plugin not working with Geometry objects that are made out of a MultiLineString
2022-01-25 22:31:50 +02:00
Marius Stanciu
4089438392 - in Milling Plugin there was issue that did not showed the Z focus parameter for the GRBL_laser_Z preprocessor
- updated the `GRBL_laser_Z` preprocessor to show more complete parameter information's in the header
2022-01-22 23:28:21 +02:00
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
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
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
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
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
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
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
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
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
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
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
c98066834a - fixed a bug in Panelize Plugin where the Geometry objects could not be panelized
- fixed some more Shapely 2.0 deprecation warnings in the Panelize Plugin
2021-11-21 20:34:05 +02:00
Marius Stanciu
640739cc65 - fixed another issue when using Python 3.10, in GUI elements
- fixed the Rtree optimization when drilling with no toolchange such that all drill points are used
- fixed the CNCJob object Tools Table when drilling with no toolchange: now only one tool is displayed
2021-11-20 06:30:52 +02:00
Marius Stanciu
1ed9714d92 - solved some Shapely 2.0 deprecation warnings in the Panelize Plugin 2021-11-19 20:25:17 +02:00
Marius Stanciu
b29586388b - fixed the issue with toggling visibility for Excellon objects
- fixed some issue when using Python 3.10
2021-11-10 22:48:59 +02:00
Marius Stanciu
825701c73c - in Cutout Plugin made sure that mouse bytes feature will not autoselect the Excellon object that is created 2021-11-07 00:17:02 +02:00
Marius Stanciu
67fa5596e1 - in Isolation Plugin there is no longer auto-switch to Properties Tab
- when editing Geometry objects with multiple geometry fixed the issue with the edited geometry always being the one in the first tool
2021-11-06 01:15:14 +02:00
Marius Stanciu
0a2a8cbe41 - Markers Plugin - fixed issue when adding existing markers to an external Geometry object - done 2021-11-01 03:33:55 +02:00
Marius Stanciu
1e5bc400a5 - Markers Plugin - fixed issue when adding existing markers to an external Geometry object 2021-11-01 02:07:20 +02:00
Marius Stanciu
29457e9867 - Cutout Plugin - improved the functionality in Manual mode: depending on the state of the Shape parameter different types of cutout manual geometry is generated
- fixed a bug in the Editors when trying to launch the Editor without an object selected
2021-11-01 00:53:52 +02:00
Marius Stanciu
c401ece84c - fixed issue in Cutout Plugin: there was an offset from the object center when using automatic gaps, both on X and Y axis
- fixed issue in Cutout Plugin: when the margin parameter was bigger than the gaps size (automatic gaps) the gaps are not created
2021-10-31 23:58:50 +02:00
Marius Stanciu
a4deb42d52 - working on Cutout Plugin - refactoring code 2021-10-31 23:10:25 +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
25bca44996 - in Markers Plugin made sure that whenever new markers are added, the previous ones are first cleared so there is no accumulative action
- in Markers Plugin added utility geometry for the manual mode
2021-10-31 02:28:30 +03:00
Marius Stanciu
1596f69e2b - in Isolation Plugin: if using a V-shape tool, restored the ability to change the tool diameter as a function of tip diameter, tip angle and the depth of cut 2021-10-30 16:13:32 +03:00
Marius Stanciu
2acc5e9e4c - fixing a possible error in the Subtract Plugin: trying to remove the aperture with id: 0 will create an exception if this aperture does not exist 2021-10-18 01:57:25 +03:00
Marius Stanciu
02741cf37f - added an ugly form of extra pad passes functionality in Isolation Plugin - does not take into consideration the milling direction 2021-10-15 01:35:16 +03:00
Marius Stanciu
9057966aa9 - updated the translation strings 2021-10-14 19:37:34 +03:00
Marius Stanciu
f355fc2fb1 - finished the new feature in the Object Distance Plugin (calculate the distance between the bounding box centers) and code refactoring 2021-10-13 21:46:26 +03:00