Commit Graph

4132 Commits

Author SHA1 Message Date
Marius Stanciu
93b1c5c3a2 - fixed the multi-color feature in the Gerber object UI
- fixed the marking of apertures in Gerber object UI and in Extract plugin
2022-02-01 04:48:05 +02:00
Marius Stanciu
103f2c42a8 - fixed the cncjob Tcl command: forgot to pop the arguments that are not recognized by the non-multigo handler 2022-02-01 03:41:46 +02:00
Marius Stanciu
fc085217c9 - minor change in the way the app quits 2022-01-31 22:25:43 +02:00
Marius Stanciu
e8ceda4809 - yet another fix for a Shapely 2.0 deprecation warning 2022-01-31 22:05:09 +02:00
Marius Stanciu
0276f6cfbb - fixed a performance issue in panelize Tcl command: when panelizing a Geometry object the total solid_geometry was calculated for each tool, but it was enough to be calculated once 2022-01-31 21:59:19 +02:00
Marius Stanciu
9df8e215bf - fixed an issue in panelize Tcl command where the some parameters (spacing_columns and spacing_rows where forced into integers where correct was to keep them as floats) 2022-01-31 21:36:16 +02:00
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
cc8f5cc27d - improved the quit application process; now the quit_flatcam Tcl command works properly 2022-01-31 17:17:45 +02:00
Marius Stanciu
7ac1ff6364 - made sure that for laser preprocessors, the laser is always turned off completely at the end of a job
- added a new script example
2022-01-31 04:13:41 +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
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