Commit Graph

552 Commits

Author SHA1 Message Date
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 735a20242a - upgraded the punch Gerber Tool
- updated the Turkish translation strings (by Mehmet Kaya)
2020-10-28 19:12:15 +02:00
Marius Stanciu d1368425f1 - fix in Tool Subtract where there was a typo 2020-10-28 16:02:18 +02:00
Marius Stanciu 86a931ace5 - temporary fix for comboboxes not finding the the value in the items when setting themselves with a value by defaulting to the first item in the list 2020-10-28 15:46:33 +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 7ca44fa107 - in Legacy Mode fixed a small issue: the status bar icon for the Grid axis was not colored on app start
- added a new string to the translatable strings
- fixed an error that sometime showed in Legacy Mode when moving the mouse outside canvas
- reactivated the shortcut key 'S' in TCL Shell, to close the shell dock when it was open (of course the focus has to be not on the command line)
2020-10-28 11:30:23 +02:00
Marius Stanciu bd98bb42c4 - fixed an error that did not allowed for the older preferences to be deleted when installing a different version of the software 2020-10-28 03:47:34 +02:00
Marius Stanciu 6aa95ddebe - updated the translation strings except Russian which could be in the works 2020-10-28 03:28:16 +02:00
Marius Stanciu 51afa60e4a - a series of PEP8 corrections in the FlatCAMGeometry.py
- in Geometry UI finished a very basic way for the Polish feature (this will be upgraded in the future, for now is very rough)
- added some new GUI elements by subclassing some widgets for the dialog pop-ups
- in NCC Tool and Isolation Tool, pressing the shortcut key 'T' will bring the add new tool pop up in which now it is included the button to get the optimal diameter
- in Geometry UI and for Solderpaste Tool replaced the pop up window that is launched when using shortcut key with one that has the context menu translated
- some UI cleanup in the Geometry UI
2020-10-28 03:18:56 +02:00
Marius Stanciu a6c3b98ed4 - small string change 2020-10-27 17:39:48 +02:00
Marius Stanciu 9b1e78d285 - fixed an issue in Tools Database (ToolsDB2 class) that did not made the Tab name in Red color when adding/deleting a tool by using the context menu
- optimized the Tools Database
2020-10-27 15:36:01 +02:00
Marius Stanciu 64e06720b6 - fixed a bug in conversion of any to Gerber in the section of Excellon conversion
- some PEP8 fixes
- fixed a bug due of recent chagnes in FileMenuHandlers class
2020-10-27 14:29:46 +02:00
Marius Stanciu fd7e47f60b - updated the Turkuish translation strings (by Mehmet Kaya) 2020-10-27 13:31:26 +02:00
Marius Stanciu 043f26008b - minor fix in ToolsDB2UI 2020-10-27 11:14:47 +02:00
Marius Stanciu 4077a48614 - created custom classes derived from TextEdit and from LineEdit where I overloaded the context menu and I made all the other classes that were inheriting from them to inherit from those new classes 2020-10-27 10:51:00 +02:00
Marius Stanciu 2e93c20c97 - fixed some minor issues when doing a project save 2020-10-27 01:47:34 +02:00
Marius Stanciu ff92e501ff - overloaded the context menu for FCSpinner and for FCDoubleSpinner
- added new strings and therefore updated the translation strings
2020-10-27 01:21:53 +02:00
Marius Stanciu 9fbf517adc - another GUI element for which I've overloaded the context menu to make it translatable: _ExpandableTextEdit 2020-10-27 00:33:32 +02:00
Marius Stanciu 1d92cbc750 - overloaded the context menu in several classes from GUI Elements such that the menus are now translated
- fixed a formatting issue in the MainGUI.py file
- updated the translations for the new strings that were added
2020-10-27 00:09:09 +02:00
Marius Stanciu 967ab8a795 - overloaded the context menu in the Tcl Shell and added key shortcuts; the menu entries are now translatable 2020-10-26 22:39:47 +02:00
Marius Stanciu 296bed30f0 - minor string fix; removed the 'Close' menu entry on the context menu for the TCL Shell 2020-10-26 21:41:58 +02:00
Marius Stanciu aa8a248f44 - fixed issue with not updating the model view on the model used in the Project tab when using the shortcut keys 1, 2, 3 which made the color of the tree element not reflect the change in status 2020-10-26 21:11:24 +02:00
Marius Stanciu edb1407b13 - fixed a small issue with using the shortcut key for toggling the display of Properties tab 2020-10-26 20:59:54 +02:00
Marius Stanciu 9a6cef05ae - more strings updated
- modified the shortcut strings and the way the shortcuts were listed in the Shortcut keys list such that it will allow a future Shortcuts Manager
- updated all the language strings according to the modifications done above
2020-10-26 19:26:42 +02:00
Marius Stanciu a0b4c2dd4d - changed some of the strings (added a few in the How To section) 2020-10-26 13:18:42 +02:00
Marius Stanciu d6dd64ae68 - added a new menu entry and functionality in the View category: enable all non-selected (shortcut key ALT+3)
- fixed shortcut keys for a number of functionality and in some cases added some new
- fixed the enable/disable all plots functionality
- fixed issue with the app window restored in a shifted position after doing Fullscreen
- fixed issue with coords, delta_coords and status toolbars being disabled when entering fullscreen mode and remaining disabled after restore to normal mode
2020-10-26 11:49:20 +02:00
Marius Stanciu ee3c9b515a - finished the update of the Spanish translation (Google translate) 2020-10-25 17:38:37 +02:00
Marius Stanciu 9b367e2dd5 - updated the Italian translation (by Massimiliano Golfetto) 2020-10-25 16:41:06 +02:00
Marius Stanciu 1b8f711d8e - added ability for the app to detect the current DPI used on the screen; applied this information in the Film Tool when exporting PNG files
- found that Pillow v >= 7.2 breaks Reportlab 3.5.53 (latest version) and creates an error in Film Tool when exporting PNG files. Pillow 7.2 still works.
2020-10-25 02:42:47 +03:00
Marius Stanciu b699f67855 - fixed newly introduced issues with SysTray and Splash 2020-10-25 01:14:38 +03:00
Marius Stanciu ac1dd33ae4 - fixed newly introduced issue when doing File -> Print(PDF) 2020-10-25 00:54:38 +03:00
Marius Stanciu 7f97e75d43 - reverted the preprocessors with no toolchange commands to the original but removed the M6 toolchange command 2020-10-25 00:39:32 +03: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 5a6fad46ac - created two new preprocessors (from 'default' and from 'grbl_11') that will have no toolchange commands regardless of the settings in the software 2020-10-24 16:24:52 +03:00
Marius Stanciu 8a341de4ca - UI changes in the AppTextEditor and in CNCJob properties tab and in GCoe Editor
- some changes in strings; updated all the translation strings to the latest changes
- finished the Romanian translation
2020-10-24 15:58:20 +03:00
Marius Stanciu c0671b7754 - minor changes 2020-10-24 01:52:53 +03:00
Marius Stanciu 5c845fcfb2 - added a new GUI element, an InputDialog made out of FCSliderWithSpinner named FCInputDialogSlider
- replaced the InputDialog in the Opacity pop menu for the objects in the Project Tab with a FCInputDialogSlider
2020-10-24 01:22:43 +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 Stanciu 5a929a4c60 - Excellon UI: fixed a small issue with toggling all rows in Tools Table not toggling off and also the milling section in Utilities was not updated 2020-10-23 19:16:56 +03:00
Marius Stanciu 1b3919aca7 - minor changes in the Properties Tool 2020-10-23 19:03:13 +03:00
Marius Stanciu 427118c495 - added a default properties tab which will hold a set of information's about the application 2020-10-23 18:46:55 +03:00
Marius Stanciu 55b4fbc3d8 - updated some strings, updated the translation strings
- commented the ToolsDB class since it is not used currently
- some minor changes in the AppTextEditor.py file
- removed Hungarian language since it's looking like is no longer being translated
2020-10-23 14:16:05 +03:00
Marius Stanciu a7e3a32d4a - updated Rules Check Tool - added an activity message 2020-10-23 02:43:06 +03:00
Marius Stanciu 86e870ec71 - updated Rules Check Tool - Hole Size rule to work with the new data structure for the Excellon objects 2020-10-23 02:32:06 +03:00
Marius Stanciu a39f3f7cac - updated Copper Thieving Tool to work with the updated program 2020-10-23 01:53:34 +03:00
Marius Stanciu baa67b1278 - fixed a bug in Tool PunchGerber when using an Excellon to punch holes in the Gerber apertures 2020-10-23 00:39:04 +03:00
Marius Stanciu e09ec574aa - added some new strings for translation and updated the translation strings
- in ToolsDB2UI class made the vertical layouts have a preferred minimum dimension as opposed to the previous fixed one
- in Geometry Object made sure that the Tools Table second column is set to Resize to contents
2020-10-22 22:11:28 +03:00
Marius Stanciu d5c02e2cdb - small change in the CNCJob UI by replacing the AL checkbox with a checkable QButton
- disabled the Autolevelling feature in CNCJob due of being not finished and missing also a not-yet-released package: Shapely v 1.8
2020-10-22 19:49:19 +03:00
Marius Stanciu 37408efcc7 - in NCC Tool fixed a bug when using Rest Machining; optimizations
- in NCC Tool fixed a UI issue
- updated the Turkish translation (by Mehmet Kaya)
2020-10-22 19:13:15 +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 5e4db95a33 - added a message to show if voronoi_diagram method can be used (require Shapely >= 1.8) 2020-10-22 11:14:21 +03:00
Marius Stanciu 229d5c237e - added ability to run a callback function with callback_parameters after a new FlatCAM object is created 2020-10-22 00:35:23 +03:00
Marius Stanciu 0df8423e20 - updated the Turkish translation (by Mehmet Kaya) 2020-10-21 22:20:00 +03:00
Marius Stanciu 8ba202a79c - optimized FlatCAMObj.add_properties_items() method 2020-10-21 22:17:23 +03:00
Marius Stanciu 14240e9af7 - added a button in Excellon UI that will hide/show the milling section
- optimized a bit the UI for Gerber/Excellon/Geometry objects
2020-10-21 21:42:31 +03:00
Marius Stanciu 52b7967b35 - added a button in Gerber UI that will hide/show the bounding box generation and the non-copper region section
- compacted the UI for the 2Sided Tool
2020-10-21 21:02:10 +03:00
Marius Stanciu 5de1701b3d - merged in the Autolevelling branch and made some PEP8 changes to the bilinearInterpolator.py file 2020-10-21 17:06:29 +03:00
Marius Stanciu 1a286cbf7e - added some strings to the translatable strings and updated the translation strings 2020-10-21 16:07:21 +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 265028de76 - added the exclusion parameters for Drilling Tool to the Preferences area 2020-10-21 13:27:03 +03:00
Marius Stanciu 77a1ba67c8 - fixed Cutout Tool to work with the endxy parameter 2020-10-21 13:08:46 +03:00
Marius Stanciu 261adbb861 - fixed crash on using shortcut for creating a new Document Object 2020-10-21 12:57:29 +03:00
Marius Stanciu ed26aead0c - made the Properties checkbox in the Object UI into a checkable button and added to it an icon 2020-10-21 12:16:17 +03:00
Marius Stanciu c5baf10847 - some strings changed 2020-10-21 11:56:24 +03:00
Marius Stanciu 35328c2a81 - In Excellon Object UI fixed the enable/disable for the Milling section according to the Tools Table row that is selected
- In Excellon Object UI fixed the miiling geometry generation
- updated th translations strings to the changes in the source code
2020-10-21 11:40:27 +03:00
Marius Stanciu 738cda0de5 - in NCC and Paint Tool fixed some issues with missing keys in the tool data dictionary 2020-10-21 09:48:06 +03:00
Marius Stanciu d4555c02d0 - in Geometry Object fixed the issue with not using the End X-Y value and also made some other updates here 2020-10-21 09:26:01 +03:00
Marius Stanciu af85764730 - finished to add the Properties data to the Object Properties (former Selected Tab) 2020-10-20 18:11:12 +03:00
Marius Stanciu e9598ba43c - updated the Turkish translation (by Mehmet Kaya) 2020-10-19 17:48:04 +03:00
Marius Stanciu 85640f2304 - fixed QrCode Tool 2020-10-19 17:45:50 +03:00
Marius Stanciu 408327e48f - added a check (and added to Preferences too) for the verification of tools validity in the Isolation Tool 2020-10-19 16:56:21 +03:00
Marius Stanciu 13d4192124 - fixed issue with calling the inform signal in the FlatCAMDefaults.load method
- fixed macro parsing in Gerber files generated by KiCAD 4.99 (KiCAD 5.0)
2020-10-18 22:06:06 +03:00
Marius Stanciu f643d0e4cd - updated Turkish translation (by Mehmet Kaya) 2020-10-17 23:02:45 +03:00
Marius Stanciu bedd707544 - Isolation Tool - added a check for having a complete isolation 2020-10-08 17:17:01 +03:00
Marius Stanciu 653c013ff6 - small change in the NCC Tool UI
- some strings are changed and therefore the translation strings source are updated
2020-10-08 15:42:16 +03:00
Marius Stanciu aa073a2b40 - finished updating DPI setting feature for PNG export in Film Tool 2020-10-07 00:26:12 +03:00
Marius Stanciu efdcc6d6ee - working on adding DPI setting for PNG export - update 2020-10-07 00:23:36 +03:00
Marius Stanciu 604f4b72d6 - small change in TclCommandExportSVG 2020-10-06 12:51:25 +03:00
Marius Stanciu 8cb4b5abf8 - finished working in adding DPI settings for PNG export in Film Tool although there are some limitations due of Reportlab 2020-10-06 12:49:24 +03:00
Marius Stanciu f99a5a8073 - working on adding DPI setting for PNG export in the Film Tool 2020-10-05 12:53:06 +03:00
Marius Stanciu d5cf7b4980 - the Selected Tab is now Properties Tab for FlatCAM objects
- modified the Properties Tab for various FlatCAM objects preparing the move of Properties Tool data into the Properties Tab
- if the Properties tab is in focus (selected) when a new object is created then it is automatically selected therefore it's properties will be populated
2020-09-26 14:39:52 +03:00
Marius Stanciu 2f564b5a76 - minor GUI change in Isolation Tool 2020-09-25 14:55:15 +03:00
Marius Stanciu dab3a5f703 - fixed a bug where end_xy parameter in Drilling Tool was not used
- fixed an issue in Delete All method in the app_Main.py
2020-09-24 14:37:06 +03:00
Marius Stanciu 7e4585e65f - fixed canvas selection such that when selecting shape fails to be displayed with rounded corners a square selection shape is used
- fixed canvas selection for the case when the selected object is a single line or a line made from multiple segments
2020-09-23 13:32:13 +03:00
Marius Stanciu 09aafe5601 - added support for virtual units in SVG parser; warning: it may require the support for units which is not implemented yet 2020-09-23 11:50:00 +03:00
Marius Stanciu c6a552d25a - working to add virtual units to SVG parser 2020-09-22 17:47:23 +03:00
Marius Stanciu c3bbbc40e0 - fixed an error in importing SVG that has a single line
- updated the POT file and the PO/MO files for Turkish language
2020-09-22 16:13:03 +03:00
Marius Stanciu 1d46b43c4f - in SVG parser: made sure that the minimum number of steps to approximate an arc/circle/bezier is 10 2020-09-21 03:27:52 +03:00
Marius Stanciu d3ebb08d1f - in CNCJob UI Autolevelling: on manual add of probe points, only voronoi diagram is calculated 2020-09-20 19:19:03 +03:00
Marius Stanciu 8a3770f169 - removed some brackets in the GRBL laser preprocessor due of GRBL firmware interpreting the first closing bracket as the comment end 2020-09-19 21:58:46 +03:00
Marius Stanciu af3d855285 - in CNCJob UI Autolevelling: prepared the app for bilinear interpolation
- in CNCJob UI Autolevelling: fixes in the UI
2020-09-03 12:48:50 +03:00
Marius Stanciu 743885cf0f - in CNCJob UI Autolevelling: changed the UI a bit
- added a bilinear interpolation calculation class from: https://github.com/pmav99/interpolation
- in CNCJob UI Autolevelling: made sure that the grid can't have less than 2 rows and 2 columns when using the bilinear interpolation or 1 row and 1 column when using the Voronoi polygons
2020-09-03 03:45:58 +03:00
Marius Stanciu 06c526db39 - in CNCJob UI Autolevelling - GRBL controller - added a way to save a GRBL height map
- in CNCJob UI Autolevelling: added the UI for choosing the method used for the interpolation used in autolevelling
2020-09-03 00:37:10 +03:00
Marius Stanciu 906ab83396 - in CNCJob UI Autolevelling: first added point when manual adding of probe points is auto added in origin before adding first point
- in CNCJob UI Autolevelling: temp geo for adding points in manual mode is now painted in solid black color and with a smaller diameter
2020-09-02 22:08:28 +03:00
Marius Stanciu ab414ce348 - in CNCJob UI Autolevelling: solved some small errors: when manual adding probe points dragging the mouse with left button pressed created selection rectangles; detection of click inside the solid geometry was failing
- in CNCJob UI Autolevelling: in manual adding of probe points make sure you always add a first probe point in origin
2020-09-02 01:26:18 +03:00
Marius Stanciu 42c5a69bfa - in CNCJob UI Autolevelling: made sure that plotting a Voronoi polygon is done only for non-None polygons
- in CNCJob UI Autolevelling : in manual mode, Points can be chosen only when clicking inside the object to be probed
- in CNCJob UI Autolevelling: made sure that plotting a Voronoi polygon is done only for non-None polygons
- in CNCJob UI Autolevelling: remade the probing points generation so they could allow bilinear interpolation
2020-08-31 21:47:11 +03:00
Marius Stanciu 6bb4144a40 - updated the Italian translation files by Massimiliano Golfetto 2020-08-31 01:27:36 +03:00
Marius Stanciu 15a8f718c9 - Cutout Tool - finished adding the Mouse Bites feature by adding mouse bites for manual cutouts 2020-08-30 01:08:21 +03:00
Marius Stanciu 26ac02e484 - Cutout Tool - fixed mouse bites feature in case of using a Geometry object and Freeform cutout
- Cutout Tool - can do cutouts on multigeo Geometry objects: it will automatically select the geometry of first tool
- Geometry Editor - fixed exception raised when trying to move and there is no shape to move
2020-08-30 00:05:52 +03:00