Commit Graph

283 Commits

Author SHA1 Message Date
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
0a9adcb82d - made sure that in Tcl commands deleting argument keys will not raise an error 2022-01-17 12:57:28 +02:00
Marius Stanciu
e18690baf0 - fixed issues in the 'millslots' and 'milldrills' Tcl commands for the case when some parameters are not used 2022-01-17 12:35:36 +02:00
Marius Stanciu
e63eaa6279 - fixed the 'save_project' Tcl Command - missing 'f_handlers' in the path 2022-01-15 18:18:05 +02:00
Marius Stanciu
f59a166503 - fixed the 'cncjob' Tcl Command to work in the new configuration of the data structures 2022-01-15 18:05:56 +02:00
Marius Stanciu
7e3152e7a3 - fixed the Tcl Command 'set_origin' to work for a specified location
- updated the Tcl Command 'set_origin' to give the option to set the origin for a specified object
2022-01-15 17:25:05 +02: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
7a7214752c - fixed some issues with using the exec_() which now should be exec()
- added a context menu action in the canvas context menu for moving selected objects to origin
2021-08-15 02:19:24 +03:00
Marius Stanciu
53272da959 - porting to PyQt6 2021-08-04 18:34:24 +03:00
Marius Stanciu
f08466e7f2 - preferences UI is now started on preferences open
- more work/fixes in working on data structures (offset, offset_value, job_type, shape)
2021-07-14 22:35:29 +03:00
Marius Stanciu
8a01a0b04b - fixed some issues with error reporting for the Tcl commands
- fixed drillcncjob Tcl command crashing the app when the used name is wrong and therefore no Excellon objects are located
2021-06-10 14:25:20 +03:00
Marius Stanciu
95fb418966 - upgraded the Drilling Plugin and all the related parts in the CNCJob Object and in all preprocessors. Now, the parent 'tools' attribute is inherited and also the GCode is stored here 2021-03-14 13:05:19 +02:00
Marius Stanciu
0986ef143c - aperture keys in the gerber 'tools' dictionary are now stored as integers instead of strings as before; need to check the application especially the Gerber Editor
- fixed issues in Gerber Editor (using the '0' insteadd of 'REG' type for apertures)
2021-03-04 17:45:47 +02:00
Marius Stanciu
e715870d12 - major rafactoring: replaced the name of the Gerber object data structure from 'apertures' to 'tools' to make the object data structure uniform across the app 2021-03-01 17:46:23 +02:00
Marius Stanciu
a68dc429e3 - fix of Tcl command AlignDrill by Bogusz Jagoda
- small changes in FlatCAMExcellon.py file to fix milling the drill holes (due of the new changes in Geometry data structure)
2021-02-10 14:43:17 +02:00
Marius Stanciu
f1c216478c - fixed the export_dxf and export_svg Tcl commands 2021-01-06 21:57:17 +02:00
Marius Stanciu
ca8db9cacd - changing some parameters from 'geometry_' to 'tools_mill_' format 2021-01-05 06:20:13 +02:00
Marius Stanciu
e726899167 - added a new parameter to the New Tcl command named -reset. If set False (or 0) the TCL instance will not be recreated, allowing to keep the TCL variable content on the new project.
- included the modifications from PR #336 from Andre Spahlinger
2021-01-04 00:44:57 +02:00
Marius Stanciu
f9b3cb0794 - fixed the Tcl Commands: new_geometry, new_gerber and new_excellon to create correct objects. New Geometry object created with the new_geometry Tcl command accept now the usage of add_circle/polygon/polyline/rectangle Tcl commands
- updated the autocompleter list for the Tcl commands with missing Tcl commands names
- added three new Tcl Commands: add_aperture (adds an aperture to a Gerber object), add_drill and add_slot (add a drill/slot to an Excellon object)
2021-01-03 19:58:46 +02:00
Marius Stanciu
3995080503 - applied the changes from Andre Spahlinger from PR's #332 and #334 2021-01-02 17:17:53 +02:00
Marius Stanciu
9dfa3b497d - all the logs done on Exception are now errors (with the exception of few places where the Exception is expected) 2020-12-31 05:56:46 +02:00
Marius Stanciu
7e35575b2d - fixed issue #478 - Tcl Command 'New' updated 2020-12-29 00:02:09 +02:00
Marius Stanciu
3a97cd3880 - modified the way the status bar icon is set
- Drilling Tool - fixed missing feedrate code when the toolchange is Off
- AppTextEditor - working on syntax highlighting
- App - trying to speed up the new project creation
- Tcl Shell - Browser Edit - added Undo/Redo, Cut and Delete selection
- replace all the exec_() calls with exec() (except one situation in Tcl where I'm not sure of the effect)
2020-12-20 16:56:14 +02:00
Marius Stanciu
88b4a4dbba - fixed the Tcl command export_gcode to return the actual gcode 2020-12-18 01:12:14 +02:00
Marius Stanciu
d843cf7da7 - Geometry object - work in upgrade of the data structure 2020-12-08 00:14:49 +02:00
Marius Stanciu
bb279cbebe - removed the enforced ActivityView width
- various string changes; updated the strings
- brought up-to-date the Romanian translation strings
- updated the source file when creating Excellon objects in various places in the app
2020-11-15 15:05:58 +02:00
Marius Stanciu
dea7ce3028 - PEP8 changes and PyCharm suggestions 2020-11-12 20:47:43 +02:00
Marius Stanciu
48c12c2a5c - fixed Paint Tcl command; fixes issue #437 2020-11-10 21:08:00 +02:00
Robert Niemöller
97e179140c Description for TCL command SplitGeometry updated 2020-11-07 23:24:07 +01:00
Robert Niemöller
c4c1c87d53 TCL command SplitGeometry added 2020-11-07 23:14:18 +01:00
Robert Niemöller
40f5bf9c12 Workaround: Could not use tcl command mill drills 2020-11-07 23:14:00 +01:00
Robert Niemöller
36bfcdce6f Bugfix for tcl command NCC method 2020-11-07 23:13:20 +01:00
Robert Niemöller
84e8d3b8c3 Merge remote-tracking branch 'upstream/Beta' into Beta 2020-11-07 10:59:11 +01:00
Marius Stanciu
90e3b26b68 - fixed issue with arrays of items could not be added in the Gerber/Excellon Editor when a translation is used
- fixed issue in the Excellon Editor where the Space key did not toggle the direction of the array of drills
- combed the application strings all over the app and trimmed them up until those starting with letter 'O'
- updated the translation strings
2020-11-04 18:40:59 +02:00
Marius Stanciu
f5310148eb - trimmed the application strings 2020-11-03 22:37:39 +02:00
Marius Stanciu
5170505f53 - trying to optimize Gerber Editor selection with the mouse
- optimized some of the strings
2020-11-03 06:21:53 +02:00
Marius Stanciu
374c29b4b0 - fixed the Tcl Command AlignDrill
- fixed the Tcl Command AlignDrillGrid
- fixed the Tcl COmmand Panelize, Excellon panelization section
- Fixed an issue in Tool Calibration export_excellon method call
- PEP8 corrections all over the app
2020-11-02 03:32:00 +02:00
Marius Stanciu
c7b96b7a68 - fixed issue with preamble not being inserted when used alone
- modified the way that the start GCode is stored such that now the bug in GCode Editor that did not allowed selection of the first tool is now solved
2020-10-30 02:01:33 +02:00
Marius Stanciu
31a84bb4cc - fixed an issue in Isolation Tool when running the app in Basic mode;
- fixed Paint, Isolation and NCC Tools such the translated comboboxes values are now stored as indexes instead of translated words as before
- in Geometry Object made sure that the widgets in the Tool Table gets populated regardless of encountering non-recognizable translated values
- in Paint Tool found a small bug and fixed it
2020-10-28 23:00:18 +02:00
Marius Stanciu
9c97ce49b9 - brought up-to-date and fixed the Tcl Command Drillcncjob and Cncjob
- fixed Tcl command Isolate to not print messages on message bar in case it is run headless
- fixed Tcl command Copper Clear (NCC)
- fixed Tcl command Paint
2020-10-28 13:15:38 +02:00
Marius Stanciu
8de411d4c4 - fixed some of the Tcl Commands that depended on the methods refactored above 2020-10-24 20:28:37 +03:00
Marius Stanciu
9491bdc4fc - updated the Turkish translation (by Mehmet Kaya)
- the methods of the APP class that were the handlers for the File menu are now moved to their oen class
2020-10-24 19:50:34 +03:00
Marius Stanciu
f771838c81 - some refactoring in the keys of the defaults dictionary
- fixed an ambiguity in the Tools Database GUI elements
2020-10-23 23:14:13 +03:00
Marius
5446570409 - modified behind the scene the UI for Tool Subtract
- modified some strings and updated the translation strings
- in NCC Tool added a check for the validity of the used tools; its only informative
- in NCC Tool done some refactoring
2020-10-22 15:09:12 +03:00
Marius Stanciu
66a3e36701 - cascaded_union() method will be deprecated in Shapely 1.8 in favor of unary_union; replaced the usage of cascaded_union with unary_union in all the app 2020-10-21 13:55:41 +03:00
Marius Stanciu
604f4b72d6 - small change in TclCommandExportSVG 2020-10-06 12:51:25 +03:00
Marius Stanciu
6c9c367540 - modified the Tools Database and Preferences with the new parameters from CutOut Tool
- changes in Tool Cutout: now on Cutout Tool start the app will look into Tools Database and search for a tool with same diameter (or within the set tolerance) as the one from Preferences and load it if found or load a default tool if not
- Tool Cutout - this Tool can now load tools from Tools Database through buttons in the Cutout Tool
2020-08-28 18:52:05 +03:00
Marius Stanciu
19b5e100d5 - fixed the Tcl commands AddCircle, AddPolygon, AddPolyline and AddRectangle to have stored bounds therefore making them movable/selectable on canvas 2020-08-27 02:25:07 +03:00
Marius Stanciu
cf78211a6f - wip in the GCode Editor 2020-07-22 17:08:40 +03:00
Marius Stanciu
1c77e3cc2a - Drilling Tool - now slots are converted to drills if the checkbox is ON for the tool investigated
- Drilling Tool - fixes due of changes in properties (preferences)
- fixed the Drillcncjob TCL command
2020-07-13 15:19:24 +03:00