Commit Graph

45 Commits

Author SHA1 Message Date
Marius Stanciu
b0ccc15f70 - in Geometry Object Properties UI - finished the new feature Simplification and Vertex Points calculation which should greatly reduce the resulting GCode size 2020-11-27 15:16:17 +02:00
Marius Stanciu
fd3f03afba - in Geometry Object Properties UI - added the UI for Utilities and within Utilities added the Simplification UI 2020-11-27 14:44:22 +02:00
Marius Stanciu
675d7455d4 - fixed crash when launching with 2D Graphic Engine (due of recent changes)
- in Geometry Editor - added new feature: Zoom on selected (by selecting a geometry element in the Geometry Table)
2020-11-27 14:16:26 +02:00
Marius Stanciu
be84e2b18d - in Geometry Editor - fixed the limits for the simplification tolerance 2020-11-27 03:43:14 +02:00
Marius Stanciu
ae5d9af9ae - in Geometry Editor - added a context menu in the Geometry Table 2020-11-27 03:39:13 +02:00
Marius Stanciu
25279dd340 - in Geometry Editor - added a new feature: ability to change the orientation (from CW to CCW and the revers) for Polygon and LinearRing geometry elements. 2020-11-27 03:23:09 +02:00
Marius Stanciu
cb494d7e8f - in Geometry Editor - fixed a crash on Geometry Editor exit 2020-11-27 02:43:45 +02:00
Marius Stanciu
ae302244a6 - in Geometry Editor - simplification method is now threaded and optimized 2020-11-27 02:14:59 +02:00
Marius Stanciu
e79a53012a - in Geometry Editor - added a new feature: Simplification. It will greatly reduce the number of vertex points in a geometry element selected in the Geometry Table thus potentially greatly reducing the resulting GCode number of lines 2020-11-27 02:05:04 +02:00
Marius Stanciu
49c26f06de - in Geometry Editor - added more parameters displayed for the geometric elements selected in the Geometry Table: is_valid, is_empty, is_ccw, is_simple, is_ring 2020-11-27 01:37:52 +02:00
Marius Stanciu
d34b1f1c71 - in Tool Follow made sure that the resulting geometry elements are all valid and not empty and also do not contain Points as those are irrelevant in the Follow Tool
- in Geometry Editor fixed the selection on the Geometry Table
- in Geometry Editor - made sure that the edited Geometry do not contain Shapely Points and that when adding shapes, that the geometry of that shapes is valid and non empty and it is not a Shapely Point
- in Geometry Editor - added new information's (length, coordinates and vertex points number) for the geometric element selected in the Geometry Table
2020-11-27 01:09:43 +02:00
Marius Stanciu
fb983872d0 - using 'Escape' key shortcut while the focus is in the Tcl Shell command line will set focus on the main canvas 2020-11-25 21:14:18 +02:00
Marius Stanciu
4cc88ec5fe - fixed an error in Geo Editor when trying to save an empty Geometry
- in Preferences made sure that clicking the Restore Defaults will update the values in the Preferences Tab
- some changes in the Tools visibility in the Tools ToolBar
2020-11-25 14:24:47 +02:00
Marius Stanciu
1af4ec0474 - changed how the Editor toolbar button works; added a background for the 'Exit Editor' toolbar button when in Editor 2020-11-25 02:56:10 +02:00
Marius Stanciu
d0288cb5a5 - some small fixes in the Geo Editor such that the Tool Tab is no longer shown on Editor Exit if it was used by an Editor sub-tool 2020-11-25 02:05:00 +02:00
Marius Stanciu
5f39a7b634 - in Geometry Editor and in the Gerber Editor made sure that for the sub-tools that open in the Tool Tab, if the tab is closed then the Select Tool is automatically selected. And also trying to open that sub-tool again will open a new tab. 2020-11-20 22:49:34 +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
6373f66e99 - Geo Editor - Text sub-tool - fixed font size control not shown; fixes issue #470 2020-11-13 18:04:55 +02:00
Marius Stanciu
04de960ecb - updated the Geometry Editor such that loading objects into Editor and updating the edited object is done now multithreaded
- most of the functions in the Geometry Editor are now multithreaded
- fixed the Subtract sub-tool in the Geometry Editor
- added an alternative Subtract sub-tool in the Geometry Editor, one that do not delete the subtracting shapes
- added some not-so-good icons for the Subtract Alt sub-tool in Geometry Editor
2020-11-13 03:42:27 +02:00
Marius Stanciu
dea7ce3028 - PEP8 changes and PyCharm suggestions 2020-11-12 20:47:43 +02:00
Marius Stanciu
d4fec5ae60 - fixed the annotation plotting in the CNCJob object
- created a new InputDialog widget that has the buttons and the context menu translated and replaced the old widget throughout the app
- updated the translation strings
2020-11-05 16:36:41 +02: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
4f9bb918d5 - in Copper Thieving Tool added a new parameter to filter areas too small to be desired in the copper thieving; added it to Preferences too
- Copper Thieving Tool added a new parameter to select what extra geometry to include in the Pattern Plating Mask; added it to the Preferences
- made a wide change on the spinners GUI ranges: from 9999.9999 all values to 10000.0000
- fixed some late issues in Corner Markers Tool new feature (messages)
- upgraded Calculator Tool and added the new parameter is the Preferences
- updated translation strings
2020-11-02 18:03:13 +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
094060f6e1 - added a parent to some of the FCInputDialog widgets used in the app such that those pop-up windows will b displayed in the center of the app main window as opposed to the center of the screen
- finished the Google-translation of not translated strings in Russian language
2020-10-31 21:50:56 +02:00
Marius Stanciu
e71a48ff5c - minor PEP corrections 2020-10-31 18:46:20 +02:00
Marius Stanciu
fdfa6a22be - more bugs that were introduced by recent changes done to solve other bugs and so on: fixed issues with the Editors and Delete shortcut 2020-10-30 20:04:55 +02:00
Marius Stanciu
11f494a1d1 - fixed issue #454; trigger signals for Editor Toolbars lost after changing the layout 2020-10-30 19:07:38 +02:00
Marius Stanciu
fcfc819fff - fixed NCC Tool not working with the new changes; the check for not having complete isolation is just a Warning 2020-10-29 15:03:17 +02:00
Marius Stanciu
c0671b7754 - minor changes 2020-10-24 01:52:53 +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
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
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
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
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
b8fb64a143 - added a Laser preprocessor named 'Z_laser' which will change the Z to the Travel Z on each ToolChange event allowing therefore control of the dot size
- by default now a new blank Geometry object created by FlatCAM is of type multigeo
- made sure that optimizations of lines when importing SVG or DXF as lines will not encounter polygons but only LinesStrings or LinearRings, otherwise having crashes
- fixed the import SVG and import DXF, when importing as Geometry to be imported as multigeo tool
- fixed the import SVG and import DXF, the source files will be saved as loaded into the source_file attribute of the resulting object (be it Geometry or Gerber)
2020-07-23 00:44:33 +03:00
Marius Stanciu
7b891900be - added Editor Push buttons in Geometry and CNCJob UI's 2020-07-15 03:31:39 +03:00
Marius Stanciu
24192540d7 - in Gerber and Excellon UI added buttons to start the Editor
- in all Editors Selected Tab added a button to Exit the Editor
2020-07-10 05:03:54 +03:00
Marius Stanciu
c0a4e2f3cc - in Paint and NCC Tools made sure that using the key ESCAPE to cancel the tool will not create mouse events issues
- some updates in Tcl commands Paint and CopperClear data dicts
2020-06-14 15:59:06 +03:00
Marius Stanciu
c44f395625 - made the coordinates / delta coordinates / grid toolbar / actions toolbar visibility an option, controlled from the infobar (Status bar) context menu. How it's at app shutdown it's restored at the next application start 2020-06-13 19:50:55 +03:00
Marius Stanciu
850b80bb41 - more refactoring in the app Editors 2020-06-08 19:53:31 +03:00