Commit Graph

292 Commits

Author SHA1 Message Date
Marius Stanciu
28372c1e08 - updated the isolate, cutout and geocutout Tcl commands and now they yield multigeo Geometry objects 2022-01-31 21:19:37 +02:00
Marius Stanciu
7306e7ada1 - updated the join_geometry and join_excellon Tcl commands format to follow the format of other commands 2022-01-31 20:39:30 +02:00
Marius Stanciu
b64c11885a - yet another fix for Shapely 2.0 deprecation warnings 2022-01-31 18:40:22 +02:00
Marius Stanciu
5cee4109b8 - another fix for Shapely 2.0 deprecation warning 2022-01-31 18:32:57 +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
fa25644f8f - now the verbose log parameter from the Preferences can take 3 values (0, 1, 2). Value = 0 means that the logging is disabled (mostly), value = 1 means that the logging is only in console and value = 3 means that the logging is now displayed in the Tcl box 2022-01-31 01:25:30 +02:00
Marius Stanciu
33897e8e83 - fixed a minor UI glitch in the CNCJob UI
- made sure that the `drillcncjob` and `cncjob` Tcl commands will use the `-las_power` parameter to set the laser power when using a preprocessor with `laser` in its name
2022-01-31 00:29:59 +02:00
Marius Stanciu
7420ac9fd5 - fixed all the laser preprocessors to work correctly and the resulting GCode to be plotted
- made sure that when drilling and milling with a `laser` preprocessor the first move is not done with the laser on
2022-01-31 00:04:49 +02:00
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
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
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
b003b95022 - made sure that for the Tcl command cncjob when using the dpp parameter (multi depth) the value is always positive, as expected
- the `cutout` Tcl command creates a non-multigeo Geometry object
2022-01-27 14:36:24 +02:00
Marius Stanciu
805cf75e85 - modified the bounding box utility feature in the Gerber Object UI to work with negative margin values 2022-01-26 13:49:48 +02:00
Marius Stanciu
5d3fce12d5 - modified the bounding box utility feature in the Gerber Object UI to work with buffer value of 0.0 and rounded corners 2022-01-26 12:23:12 +02:00
Marius Stanciu
6cdb276a08 - minor changes 2022-01-25 04:30:14 +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
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
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
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
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
518bedc78d - some changes in the Excellon object suggessted by an user: Karl-Heinz 2022-01-06 17:48:00 +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
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
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
Marius Stanciu
ee913e16a5 - when building the UI for the CNCJob first clear the CNCJob Tools Table 2021-11-22 13:16:32 +02:00
Marius Stanciu
8f0b591d74 - in AppTextEditor made some changes (added some placeholders and a message popup when reaching the end of document)
- when viewing GCode the Find field can now keep the focus
2021-11-22 03:26:09 +02:00
Marius Stanciu
538f949983 - solved some Shapely 2.0 deprecation warnings in the Geometry object 2021-11-19 20:27:47 +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
ffa861fb1f - in Geometry Property Tab, clicking the tools table header will toggle the selection for all tools in the table 2021-11-06 01:26:42 +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
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
156ffb23ed - fixed a Shapely deprecation warning in export_dxf() in GeometryObject class 2021-10-15 01:46:04 +03:00
Marius Stanciu
55ea7a6be0 - in Markers Plugin: changed the name of the resulting object to reflect this plugin name
- fixed an issue with toggling the visibility of objects
2021-10-11 21:21:13 +03:00
Marius Stanciu
866e2fb4b7 - changing the Excellon Object color from Project Tab context menu is now persistent 2021-10-08 23:48:18 +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
54d4c7cb78 - make sure that if the Properties Tab is selected then the Object UI is updated (built) on object selection on canvas
- code cleanup
2021-10-07 19:46:07 +03:00
Marius Stanciu
56451688d5 - the Proprties tab UI is now populated with the object UI only when the Properties tab is selected and not on object selection like it was done previously 2021-10-07 16:53:24 +03:00
Marius Stanciu
1b6b432f7c - added the circle approximation parameter for Excellon geometry in Preferences
- updated the language strings
2021-10-04 20:57:42 +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
1fb520e829 - minor changes, code cleanup 2021-09-28 15:52:05 +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
89426e8ac3 - in Gerber Object trying to solve the issue with too little details on plotting geometry with inch units 2021-09-27 15:22:27 +03:00
Marius Stanciu
0cee20a6d9 - in Excellon Editor and Geometry Editor solved some Shapely 2.0 deprecation warnings
- in Excellon Editor made sure that the tool diameter is always updated before adding a new drill (or drill array)
- changing units is not possible while in Editors
- changing units outside the Preferences will make no permanent changes
- deleting all shapes from the shapes collection (OpenGl graphics) will reset also the index in the collection data dict
2021-09-26 21:21:49 +03:00
Marius Stanciu
33f5749a7f - more Qt6 port bugs fixed
- in Autolevelling Plugin modified the UI; work in progress - the frame disable is not working
2021-09-26 06:26:35 +03:00
Marius Stanciu
0854101297 - in Cutout Plugin remade the UI and fixed different issues 2021-09-24 21:09:54 +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