Commit Graph

106 Commits

Author SHA1 Message Date
Marius Stanciu
ebdcbcb1bf - in Gerber Editor - modified the UI
- in Gerber Editor - added new parameters for selected polygons: is_valid and area
2020-12-03 15:31:07 +02:00
Marius Stanciu
4309d1f8a7 - Subtraction Tool - minor changes
- in Gerber Editor - added some parameters to the UI: selected polygon coordinates and vertexes number and also added polygon simplification
- in Gerber Editor - fixed update of Aperture Table rows selection on multiple shapes selection
- in Geometry Editor - modified the FCCircle class to work as is the rest of the Geometry Editor add shapes classes
2020-12-02 21:18:08 +02:00
Marius Stanciu
356a13bf8b - Subtraction Tool - minor changes
- in Gerber Editor - added some parameters to the UI: selected polygon coordinates and vertexes number and also added polygon simplification
- in Gerber Editor - fixed update of Aperture Table rows selection on multiple shapes selection
2020-12-02 21:09:03 +02:00
Marius Stanciu
112588d293 - Milling Tool - more or less made the CNCJob generation for multigeo Geometries to work; still the parameters may not be used
- removed the Generate CNCJob context menu action in the Project Menu as this will not work anymore
2020-12-02 00:13:57 +02:00
Marius Stanciu
32839637d3 - in Geometry Editor - the Length and Vertex Points GUI elements are now read only since it does not make sense to edit them 2020-11-29 15:48:50 +02:00
Marius Stanciu
bdabd6cfdf - in Geometry Editor - made sure that selecting shapes on canvas will update the UI - final fix 2020-11-29 15:44:16 +02:00
Marius Stanciu
4f46620e7e - in Geometry Editor - fixed multiple plotting for the same selection 2020-11-29 15:30:13 +02:00
Marius Stanciu
ac145b283b - in Geometry Editor - improvement in update of the whole Geometry Editor UI on shape selection on canvas 2020-11-29 03:43:47 +02:00
Marius Stanciu
89039a9606 - in Geometry Editor - improvements and some issues are solved 2020-11-29 03:35:40 +02:00
Marius Stanciu
6a3631a401 - in Geometry Editor - reverted to using non-threaded move
- in Geometry Editor - made sure that polygons are displayed as such in order to not create confusion (the plotted shapes now have 'content')
- in Geometry Editor - in Polygon tool solved issues with adding a double point at the last position
- in Geometry Editor - the Rectangle and Polygon tools are now the result stored as LinearRing instead of Polygon
- in Geometry Editor - upgraded the Intersection and Subtraction tools to work correctly using as inputs LinearRing's
- in Geometry Editor - fixed the display of coordinates for MultiLineString's
- in Geometry Editor - fixed the Explode tool to work in the new conditions
- in Geometry Editor - fixed the Buffer tool to work in the new conditions
2020-11-28 23:42:30 +02:00
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
231c033b5e - in GCode Editor added handlers for the Insert Code buttons 2020-11-07 15:55:06 +02:00
Marius Stanciu
073fe3d50d - in Gerber Editor fixed an error in the Eraser tool trying to disconnect the Jump signal 2020-11-07 06:26:43 +02:00
Marius Stanciu
06f6491472 - In Gerber Editor upgraded the UI
- in Gerber Editor made sure that trying to add a Circular Pad array with null radius will fail
- in Gerber Editor when the radius is zero the utility geometry is deleted
- in Excellon Editor made sure that trying to add a Circular Drill/Slot array with null radius will fail
- in Excellon Editor when the radius is zero the utility geometry is deleted
2020-11-07 05:39:37 +02:00
Marius Stanciu
0d1fad0a3c - fixed a small issue in Excellon Editor that reset the delta coordinates on right mouse button click too, which was incorrect. Only left mouse button click should reset the delta coordinates. 2020-11-07 03:56:34 +02:00
Marius Stanciu
d526d16cdf - made some changes in the Region Tool from the Gerber Editor 2020-11-07 03:45:04 +02:00
Marius Stanciu
a4b5d117b8 - in Gerber editor added the G key shortcut to toggle the grid snapping 2020-11-06 21:37:19 +02:00
Marius Stanciu
d6b2ed5d40 - Turkish language strings updated (by Mehmet Kaya)
- both for Excellon and Gerber editor fixed the direction of slots/pads when adding a circular array
2020-11-06 20:53:06 +02:00
Marius Stanciu
5d5ff75796 - in Excellon Editor remade the utility geometry generation for Circular Drill/Slot Array to show the array updated in real time and also fixed the adding of array in negative quadrants 2020-11-06 19:55:34 +02:00
Marius Stanciu
df9dd8f353 - in Gerber Editor remade the utility geometry generation for Circular Pad Array to show the array updated in real time and also fixed the adding of array in negative quadrants 2020-11-06 17:43:07 +02:00
Marius Stanciu
fbcf92bc13 - in Gerber Editor fixed the Add circular array capability 2020-11-06 16:37:25 +02:00
Marius Stanciu
01806d77a3 - in Gerber editor, for selection now the intersection of the click point and the geometry is determined for chunks of the original geometry, each chunk gets done in a separate process 2020-11-06 06:06:13 +02:00
Marius Stanciu
f1107fbd3b - in Gerber Editor made the selection multithreaded in a bid to get more performance but until Shapely will start working on vectorized geometry this don't yield too much improvement 2020-11-06 05:17:12 +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
a4c8737ab7 - added a method for intersection to FlatCAMRtree class 2020-11-05 12:22:12 +02:00
Marius Stanciu
cbcd6595cb - added more icons in the Gerber and Excellon Editors for the buttons 2020-11-05 02:42:51 +02:00
Marius Stanciu
fc85c00842 - refactored the name of the classes from the Gerber Editor 2020-11-05 01:54:37 +02:00
Marius Stanciu
675c7028bb - in Gerber Editor added the shortcut key 'Space' to change the direction of the array of pads 2020-11-04 21:53:47 +02:00
Marius Stanciu
846c0dc59d - fixed the UI layout in Excellon Editor and made sure that after changing a value in the Notebook side after the mouse is inside the canvas, the canvas takes the focus allowing the key shortcuts to work
- Turkish language strings updated (by Mehmet Kaya)
2020-11-04 21:40:17 +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
2536bd6a7d - in the Excellon Editor, added shortcut keys Space and Ctrl+Space for toggling the direction of the Slots, respectively for the Array of Slots 2020-11-04 03:20:42 +02:00