Commit Graph

289 Commits

Author SHA1 Message Date
Marius Stanciu
b0b2c8e7f5 - some fixes to the Tcl commands contribution from Ali Khalil
- refactoring code in Distance Plugin and making sure that the measurements are done correctly - work in progress
2022-04-07 14:58:16 +03:00
Ali Khalil
75ac180aad Updated cutout command help text to reflect options 2TB, 2LR, and 8 2022-04-06 06:53:52 +03:00
Ali Khalil
d0fe92e5d1 TCL cutout command new switch -type accepting rect and any 2022-04-06 06:41:24 +03:00
Ali Khalil
4bbe3b4c49 Minor change. Error tag updated 2022-04-04 09:40:42 +03:00
Ali Khalil
86cba9b4a1 TclCommandGeoCutout updated with gap options in uppercase to match ToolCutOut and TclCommandCutout. 2022-04-04 09:40:42 +03:00
Ali Khalil
16a013266b TclCommandCutout now uses CutOut.rect_cutout_handler for gaps 2022-04-04 09:40:42 +03:00
Marius Stanciu
eec366ce7f - refactoring names for some classes 2022-03-24 18:35:44 +02:00
Marius Stanciu
843be488a5 - some changes to the Preferences 2022-02-24 00:14:58 +02:00
Marius Stanciu
1df2570668 - some fixes in remembering the last save location and last open location 2022-02-22 15:16:03 +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
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
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
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
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
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
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
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
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
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
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
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
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
b69738d852 - minor changes 2022-01-26 13:35:01 +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
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