Commit Graph

4161 Commits

Author SHA1 Message Date
Marius Stanciu
7bbe1e69f9 - making the above fix accept few possibilities 2022-02-20 16:39:04 +02:00
Marius Stanciu
ae4a97120c - fixed a minor error in the Gerber Editor which created a graphic glitch on shape selection 2022-02-20 00:24:37 +02:00
Marius Stanciu
012ad17a93 - updated the language strings files to the latest changes 2022-02-19 02:17:16 +02:00
Marius Stanciu
65d8dcc0b2 - the application now uses only the default values from the app.options dict, the app.defaults dict holds the definitive default values
- fixed some outstanding issues from the PyQt6 port
- PEP8 fixes
- minor fixes
- updated the saving of Preferences to update the self.options too: the `Apply` action will update the self.options but the `Save` action will save the updated preferences to the file on disk
2022-02-18 23:06:58 +02:00
Marius Stanciu
14d9ea5470 - in Excellon Object UI, Advanced Mode, added a Tools Table context menu allowing to copy the tool diameters in the selected rows to clipboard 2022-02-18 15:51:21 +02:00
Marius Stanciu
4d2181eda7 - made sure that the CNCJob UI building no longer have issues with table items added from an already existing table
- fixed CNCJob UI showing all tools in the Tools Table even when only some tools were selected for processing
- fixed the `drillcncjob` Tcl Command to work in the case of drilling a selection of tools instead of all, with toolchange inactive
2022-02-18 15:16:05 +02:00
Marius Stanciu
f7f88a34be - completed the refactoring of object options property to obj_options in preprocessors too 2022-02-18 13:21:20 +02:00
Marius Stanciu
1681b327ed - refactoring all the references to object options property to obj_options to make a difference with the application options property 2022-02-16 10:47:12 +02:00
Marius Stanciu
de1d97327c - minor debug log message change 2022-02-15 22:48:18 +02:00
Marius
363b34641a - if Start Z parameter is set in Edit -> Preferences now there is no extra lift GCode because it is replaced by the startz GCode (except for laser preprocessors) - for Drilling Plugin too 2022-02-15 22:38:37 +02:00
Marius Stanciu
ac81f4f9f4 - if Start Z parameter is set in Edit -> Preferences now there is no extra lift GCode because it is replaced by the startz GCode (except for laser preprocessors) 2022-02-15 22:19:48 +02:00
Marius Stanciu
a1a999b635 - minor fixes in the Milling Plugin 2022-02-15 16:26:09 +02:00
Marius Stanciu
d13b4ef14f - in Tcl command add_polygon added ability to use -p_coords optional parameter where the value of this argument should be a list of tuple coordinates 2022-02-15 04:22:36 +02:00
Marius Stanciu
c5b929781e - fixed an issue with the moving shape when creating an exclusion area
- added ability to copy the coordinates of the exclusion area with the context menu actions in the Exclusion areas table found in the Milling/Drilling plugins
2022-02-15 03:45:52 +02:00
Marius Stanciu
e0819ab1a6 - fixed issue when doing a custom origin set 2022-02-13 21:26:00 +02:00
Marius Stanciu
2de9bc730b - redraw_on_top_on_project_click works only for left mouse clicks on the Project objects list 2022-02-11 12:00:20 +02:00
Marius Stanciu
529148c60d - made sure that the redraw_on_top_on_project_click works properly and only on mouse click release in the Project list
- made sure that the `redraw_on_top_on_project_click` works only on single object selections
2022-02-11 11:06:08 +02:00
Marius Stanciu
5421b65b9e - made sure that the new feature of redrawing Gerber on top is not activated when that Gerber object is disabled
- added ability to turn off the outline plotting for Gerber objects (will speed up the plotting but the plotting visual quality will degrade); controlled from Preferences -> Gerber -> General
- plotting visuals in 3d graphic mode will no longer create some unnecessary lists
2022-02-11 10:42:03 +02:00
Marius Stanciu
4b611f5ce3 - a new feature that when selecting an object in the Project Tab, that object is redrawn over the other objects, in top position. Feature controlled from Preferences -> Gerber -> General. 2022-02-11 02:35:40 +02:00
Marius Stanciu
3d4e195ae1 - added a new preprocessor: default_laser
- in the app added a new tool type: "L" (laser) which when selected will autoselect the `default_laser` preprocessor in Milling Plugin
2022-02-10 14:01:32 +02:00
Marius Stanciu
1edc2cd241 - fixed some issues when exporting Excellon objects 2022-02-07 19:40:06 +02:00
Marius Stanciu
88d9d6aeb4 - fixed some issue regarding Milling Plugin, importing DXF file as Geometry 2022-02-02 17:33:05 +02:00
Marius Stanciu
851152366e - solved some more exceptions in the cncjob Tcl command 2022-02-01 23:04:07 +02:00
Marius Stanciu
b1f038dd52 - fixed some issues in panelize and cncjob Tcl commands
- reversed the mirroring axis in the `mirror` Tcl command to be consistent with the action in GUI
2022-02-01 22:09:14 +02:00
Marius Stanciu
52a0efb62e - upgraded the skew Tcl command to work on a selection of objects and added the ability to skew not only in degrees but also by distances 2022-02-01 16:48:42 +02:00
Marius Stanciu
642550b1bc - upgraded the mirror Tcl command to work on a selection of objects and also fixed a plot issue 2022-02-01 13:59:54 +02:00
Marius Stanciu
a314115448 - minor changed in camlib.py regarding the self.check_zcut() method setting the self.z_cut to 'fail' 2022-02-01 13:42:50 +02:00
Marius Stanciu
2ccd807325 - updated the offset and scale Tcl commands to work on a selection of objects 2022-02-01 05:40:05 +02:00
Marius Stanciu
afdbce81b6 - wip 2022-02-01 04:52:00 +02:00
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