Commit Graph

127 Commits

Author SHA1 Message Date
Marius Stanciu 084643eb95 - improvements in the Punch Gerber Tool aperture markings
- improved the Geometry Object functionality in regards of Tools DB, deleting a tool and adding a tool
- when using the 'T' shortcut key with Properties Tab in focus and populated with the properties of a Geometry Object made the popped up spinner to have the value autoselected
2020-10-30 04:09:23 +02:00
Marius Stanciu aa1758920b - in Punch Gerber Tool added a column in the apertures table that allow marking of the selected aperture so the user can see what apertures are selected 2020-10-30 03:26:38 +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 38abfa4f31 - fixed issues in the Tools Database due of recent changes in how the data structure is created
- made sure that the right tools go only to the intended use, in Tools Database otherwise an error status message is created and Tools DB is closed on adding a wrong tool
- fixed the usage for Tools Database in Unix-like OS's
- done some modest refactoring
- fixed the Search and Add feature in Geometry Object UI
2020-10-29 22:32:44 +02:00
Marius Stanciu 0a2aff9296 - fixed the sizePolicy for the FCComboBox widgets in the Preferences that holds the preprocessors
- fixed issue with how the preamble / postamble GCode were inserted into the final GCode
2020-10-29 17:16:54 +02:00
Marius Stanciu 443f9a51e8 - added a protection on opening the tools database UI if the tools DB file is not loaded 2020-10-29 12:53:19 +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 735a20242a - upgraded the punch Gerber Tool
- updated the Turkish translation strings (by Mehmet Kaya)
2020-10-28 19:12:15 +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 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 85eb39b6ec - minor change 2020-10-27 15:51:23 +02: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 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 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 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 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 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 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 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 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 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 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 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 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 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 f0e14640ae - minor changes 2020-09-03 13:27: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 75be9d7604 - small fixes #2 2020-09-03 01:48:56 +03:00
Marius Stanciu 12012c8e49 - small fixes 2020-09-03 01:36:21 +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 c43b70cba5 - fixed a borderline issue in CNCJob UI Autolevelling - Voronoi polygons calculations 2020-08-28 02:25:05 +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 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 e658b61e53 - Geometry object - now plotting color for an individual tool can be specified
- in CutOut Tool - when using  'thin gaps' option then the cut parts are colored differently than the rest of the geometry in the Geometry object
2020-08-26 03:38:47 +03:00
Marius Stanciu c1c819276f - in CNCJob UI Autolevelling - made the Voronoi calculations work even in the scenarios that previously did not work; it need a newer version of Shapely, currently I installed the GIT version
- in CNCJob UI Autolevelling - Voronoi polygons are now plotted
- in CNCJob UI Autolevelling - adding manual probe points now show some geometry (circles) for the added points until the adding is finished
2020-08-25 03:06:09 +03:00
Marius Stanciu 96059c4b54 - in CNCJob UI Autolevelling - GRBL controller - fixed the send_grbl_command() method 2020-08-24 13:14:54 +03:00
Marius Stanciu f8eba0084d - in CNCJob UI Autolevelling - GRBL controller - added the probing method 2020-08-24 02:13:13 +03:00