Commit Graph

528 Commits

Author SHA1 Message Date
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
Marius Stanciu
c95625beac - Cutout Tool - rectangular and freeform cutouts are done in a threaded way
- Cutout Tool - added the Mouse Bites feature for the Rectangular and Freeform cutouts and right now it fails in case of using a Geometry object and Freeform cutout (weird result)
- some changes in camlib due of warnigns for future changes in Shapely 2.0
2020-08-29 23:10:25 +03:00
Marius Stanciu
f73f6fb5da - 2Sided Tool - fixed newly introduced issues in the Alignment section
- 2Sided Tool - modified the UI such that some of the fields will allow only numbers and some special characters ([,],(,),/,*,,,+,-,%)
- Cutout Tool - working on adding mouse bites for the Freeform cutout
- updated the translation files to the current state of the app
2020-08-29 16:10:00 +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
fc539fa55b - NCC Tool - upgraded the UI and added the functionality that now adding a new tool is done by first searching the Tools DB for a suitable tool and if fails then it adds an default tool
- NCC Tool - on start will attempt to search in the Tools DB for the default tools and if found will load them from the DB
- fixes in NCC, Paint and Isolation Tool due of recent changes
2020-08-28 13:05:31 +03:00
Marius Stanciu
9b4455a7a6 - Paint Tool - upgraded the UI and added the functionality that now adding a new tool is done by first searching the Tools DB for a suitable tool and if fails then it adds an default tool
- Paint Tool - on start will attempt to search in the Tools DB for the default tools and if found will load them from the DB
2020-08-28 11:56:59 +03:00
Marius Stanciu
c43b70cba5 - fixed a borderline issue in CNCJob UI Autolevelling - Voronoi polygons calculations 2020-08-28 02:25:05 +03:00
Marius Stanciu
eee4595449 - some small fixes 2020-08-28 00:53:24 +03:00
Marius Stanciu
cebffe34b1 - in Tools: Transform, SUb, RulesCheck, DistanceMin, Distance - moved the Tool UI in its own class 2020-08-28 00:41:03 +03:00
Marius Stanciu
71ae6fe5e6 - Tool Isolation - made sure that the app can load from Tools Database only tools marked for Isolation tool
- Tool Isolation - on Tool start it will attempt to load the Preferences set tools by diameter from Tools Database. If it can't find one there it will add a default tool.
2020-08-27 23:20:30 +03:00
Marius Stanciu
6c3364c9cc - fixed some typos due of actions above 2020-08-27 21:44:17 +03:00
Marius Stanciu
c45444a772 - in Tools: Film, Image, InvertGerber, Optimal, PcbWizard - moved the Tool UI in its own class 2020-08-27 21:37:00 +03:00
Marius Stanciu
b3a22f3d0a - Film Tool - moved the Tool UI in its own class 2020-08-27 21:06:44 +03:00
Marius Stanciu
46ac265dc7 - Turkish translation strings were updated by the translator, Mehmet Kaya 2020-08-27 18:33:54 +03:00
Marius Stanciu
5cd78d211e - in Tool Cutout: modified the UI in preparation for adding the Mouse Bites feature 2020-08-27 17:29:58 +03:00
Marius Stanciu
7eeda0347f - in Tool Cutout fixed manual adding of gaps with thin gaps and plotting
- in Tool Cutout, when using fix gaps made sure that this feature is not activated if the value is zero
2020-08-27 03:29:52 +03:00
Marius Stanciu
c99b20df7b - in Tool Cutout, when using the Thin Gaps feature, the resulting geometry loose the extra color by toggling tool plot in Geometry UI Tools Table- fixed 2020-08-27 03:16:07 +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
66fcec49cc - in Gerber UI done some optimizations 2020-08-27 00:56:55 +03:00
Marius Stanciu
ffdcfb0b5d - fixed crash in Properties Tool, when applied on a CNCJob object made out of an Excellon object (fixed issue #444)
- in Properties Tool, for CNCJob objects made out of Excellon objects, added the information's from Tool Data
- in Properties Tool made sure that the set color for the Tree parents depends on the fact if the gray icons set are used (dark theme) or not
- Properties Tool - properties for a Gerber objects has the Tool Data now at the end of the information's
2020-08-27 00:17:14 +03:00
Marius Stanciu
a823de9f98 - fixed issue when plotting a CNCJob object with multiple tools and annotations on by plotting annotations after all the tools geometries are plotted 2020-08-26 22:58:40 +03:00
Marius Stanciu
9696e8faad - NCC Tool - UI change: if the operation is Isolation then some of the tool parameters are disabled 2020-08-26 18:53:38 +03:00
Marius Stanciu
be01e00898 - Isolation Tool - added ability to find the tool diameter that will guarantee total isolation of the currently selected Gerber object 2020-08-26 18:32:28 +03:00
Marius Stanciu
d4c922cdf9 - Drilling Tool - when replacing Tools if more than one tool for one diameter is found, the application exit the process and display an error in status bar; some minor fixes
- Isolation Tool - remade the UI
- Isolation Tool - modified the add new tool method to search first in Tools Database  for a suitable tool
2020-08-26 17:21:00 +03:00
Marius Stanciu
e22ae1ad6c - solved some deprecation warnings (Shapely module) 2020-08-26 15:10:36 +03:00