Commit Graph

317 Commits

Author SHA1 Message Date
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
Marius Stanciu
01df27f45f - fixed issues in units conversion
- in CNCJob UI Autolevelling - changed how the probing code is generated and when
- changed some strings in CNCJob UI Autolevelling
2020-08-24 00:51:07 +03:00
Marius Stanciu
26ac43bd2e - in CNCJob UI Autolevelling - autolevelling is made to be not available for cnc code generated with Roland or HPGL preprocessors
- in CNCJob UI Autolevelling - added a save dialog for the probing GCode
- added a new GUI element, a DoubleSlider
- in CNCJob UI Autolevelling - GRBL controller - Control: trying to add DoubleSlider + DoubleSpinner combo controls
2020-08-23 15:20:12 +03:00
Marius Stanciu
e07c9b9560 - minor changes 2020-08-22 03:38:20 +03:00
Marius Stanciu
2deba3a8f9 - in CNCJob UI Autolevelling - GRBL controller - added handlers for the Zeroing and for Homing and for Pause/Resume; some UI optimizations 2020-08-22 03:34:45 +03:00
Marius Stanciu
1b31abeb62 - in CNCJob UI Autolevelling - GRBL controller - Control: added a Origin button; changed the UI to have rounded rectangles
- in CNCJob UI Autolevelling - GRBL controller - Control: added feedrate and step size controls and added them in Preferences
2020-08-21 18:08:40 +03:00
Marius Stanciu
35cdf4e4cb - minor change 2020-08-21 00:16:35 +03:00
Marius Stanciu
f610739390 - minor change 2020-08-20 01:20:01 +03:00
Marius Stanciu
a75e7e5cf8 - in CNCJob UI Autolevelling - GRBL Sender - now only a single command can be sent
- in CNCJob UI Autolevelling - GRBL controller - changed the UI
- in CNCJob UI Autolevelling - added some VOronoi poly calculations
2020-08-19 17:20:05 +03:00
Marius Stanciu
d62793c9bd - in CNCJob UI Autolevelling - GRBL Control and Sender tabs are disabled when the serial port is disconnected 2020-08-19 04:44:50 +03:00
Marius Stanciu
7285ee0b82 - in CNCJob UI Autolevelling - Grbl Connect tab colors will change with the connection status 2020-08-19 04:36:46 +03:00