Commit Graph

271 Commits

Author SHA1 Message Date
Marius Stanciu
b328566ec1 - Gerber Editor - finished the Import Shape sub-tool single shape select feature 2020-12-27 21:22:10 +02:00
Marius Stanciu
ab7eca7b7d - Gerber Editor - working on a new sub-tool: Import Shape which should allow importing polygons from other Gerber objects 2020-12-27 01:26:52 +02:00
Marius Stanciu
09acabc0c1 - Geometry Editor - added a Beginner/Advanced toggle button
- Geometry Editor - made sure that on right clicking in the Table the geometric element associated with the row under mouse cursor is selected
2020-12-25 21:35:43 +02:00
Marius Stanciu
a8bd111731 - GCode Editor - added a Beginner/Advanced toggle button 2020-12-25 21:03:33 +02:00
Marius Stanciu
8e40ddfab0 - merged PR by Dmitriy Klabukov and expanded it a bit
- Gerber Editor - made sure that when simplification button is clicked the coordinates and vertex points field are cleared
- Gerber Editor - added a Beginner/Advanced toggle button
- Gerber Editor - added context menu to Apertures Table and also on row selection in Aperture Table, the area and vertex number fields are updated
- Excellon Editor - added a Beginner/Advanced toggle button; added context menu to Apertures Table
- Excellon Editor - fixed the Tools Table row selection handler
2020-12-25 20:51:17 +02:00
Marius Stanciu
b7c2bc8fbd - made sure that the GCode Editor does not have a misleading Cancel option when closing the tab
- made sure that some other part of the program outputs the log messages to the Tcl Shell if the Verbose Log options is set in Preferences
2020-12-21 18:25:12 +02:00
Marius
a344dd4367 Merge remote-tracking branch 'origin/Beta_8.995' into Beta_8.995 2020-12-20 16:56:36 +02:00
Marius Stanciu
3a97cd3880 - modified the way the status bar icon is set
- Drilling Tool - fixed missing feedrate code when the toolchange is Off
- AppTextEditor - working on syntax highlighting
- App - trying to speed up the new project creation
- Tcl Shell - Browser Edit - added Undo/Redo, Cut and Delete selection
- replace all the exec_() calls with exec() (except one situation in Tcl where I'm not sure of the effect)
2020-12-20 16:56:14 +02:00
Marius Stanciu
839ac35caf - Gerber Editor - when doing a selection of polygons, the displayed area is now the cummulated value 2020-12-18 16:15:14 +02:00
Marius Stanciu
2d6b78d28c - Gerber Editor - the vertex number points are now calculated also for a selection of shapes
- Geometry Editor - the vertex number points are now calculated also for a selection of shapes
- Geometry Editor - made sure that the shapes cannot be selected while the simplification is in process because it will mess things
2020-12-14 20:08:33 +02:00
Marius Stanciu
27709b11eb - SolderPaste Tool - the GCode Viewer will open a AppText Editor Tab with Plain Text
- GCode Editor - added an Exit action to the context menu in the GCode Editor Tab
2020-12-13 23:31:46 +02:00
Marius Stanciu
466e2d6b81 - GCode Editor - fixed the issue with the editor toolbar buttons not being updated like for the other editors
- GCode Editor - the plot_area tab GCode editor that is added will close the Editor when the tab itself is closed
2020-12-13 22:37:26 +02:00
Marius Stanciu
d843cf7da7 - Geometry object - work in upgrade of the data structure 2020-12-08 00:14:49 +02:00
Marius Stanciu
47f53517a7 - in Gerber Editor - fixed mistake in using cm instead of mm 2020-12-03 17:24:40 +02:00
Marius Stanciu
9fb7dbe0c5 - in Gerber Editor - for Disc and SemiDisc tools now it is allowed to start without a defined aperture; it will be assumed that we work with an aperture with size zero 2020-12-03 15:41:12 +02:00
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