Commit Graph

4517 Commits

Author SHA1 Message Date
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
262e795f2e - fixed the drillcncjob Tcl command to use the parameters: endz and endxy 2022-01-30 22:26:14 +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
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
16af642409 - in drillcncjob Tcl command added the usage of RTree path optimization and made it the default choice 2022-01-30 16:54: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
619a9b7fe9 - fixed more issues in the ncc and paint Tcl commands (missing segx and segy keys) 2022-01-30 14:26:00 +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
05c4993f92 - minor description update for export_gcode Tcl command 2022-01-29 22:39:25 +02:00
Marius Stanciu
7e927b9626 - fixed some issues in the paint Tcl command 2022-01-29 22:36:56 +02:00
Marius Stanciu
1467c5e0bc - fixed some issues in the ncc Tcl command 2022-01-29 22:21:32 +02:00
Marius Stanciu
a29d18bd12 - updated the new Tcl command: now it has an argument -keep_scripts that when True, will keep the loaded scripts in the new project 2022-01-29 20:35:28 +02:00
Marius Stanciu
54def9a426 - in the panelize, cutout and geocutout Tcl commands updated the error strings and made sure that if an error occur then a potential script execution in chain is aborted 2022-01-29 16:24:29 +02:00
Marius Stanciu
a0fb8b5413 - added a new preprocessor for Marlin that has movemements on the Z axis named Marlin_laser_Z
- cleaned up Marlin preprocessors
2022-01-29 13:51:41 +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
2ebc231f6f - in camlib.CNCjob.gcode_parse() fixed an assumption that a certain object is present: tool_data["tools_drill_toolchange"] 2022-01-28 03:26:22 +02:00
Marius Stanciu
c48ebdea00 - in Tcl command geocutout fixed an error due of a no longer used parameter 2022-01-28 03:19:09 +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
d6d251173c - fixed some errors in the buffer and isolate Tcl commands
- updated the camlib.Geometry.buffer() method
2022-01-26 17:12:03 +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
b69738d852 - minor changes 2022-01-26 13:35:01 +02:00
Marius Stanciu
73fca98f90 - fix the Transform plugin, buffer functionality for Geometry objects such that the buffer with negative values will work by crating a buffer toward the interior of that geometry 2022-01-26 13:11:44 +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
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
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
6cdb276a08 - minor changes 2022-01-25 04:30:14 +02:00
Marius Stanciu
0c656ab10c - fixed a syntax error in a call of the log.error()
- trying to solve a 'circular reference' error when saving a project in Arch Linux
2022-01-25 00:32:52 +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
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