Marius Stanciu
e8a15156db
- upgraded the Geometry Editor main UI
...
- upgraded the FCButton widget (and made it used everywhere instead of the QPushButton) so it can have the color and font weight properties settable
2022-05-10 07:01:14 +03:00
Marius Stanciu
e6753346c1
- made sure that the draw color in Editors is inverted for the dark mode
2022-05-05 17:46:54 +03:00
Marius Stanciu
34d65a2077
- in Geometry Editor fixed an angle issue in the Circle sub-tool
...
- in Geometry Editor made sure that when using the Move sub-tool if there is no shape selected, when clicking to get selection that point is also used as reference for the Move command
2022-05-02 15:29:44 +03:00
Marius Stanciu
5e8cee8feb
- in Excellon Editor, Copy sub-tool, added UI and ability to copy as array
...
- fixed an issue in Geometry Editor, Copy sub-tool where when the geometry copied numbers over the set limit then the copy as array is incorrect
2022-05-02 03:58:36 +03:00
Marius Stanciu
7e17cdad7d
- in Geometry Editor updated the Rectangle Plugin such that when selecting different corners now the drawn rectangle will have those
...
- in Geometry Editor updated the Circle Plugin such that when the Radius parameters are not linked then an ellipse is drawn
2022-05-01 17:19:52 +03:00
Marius Stanciu
545e594ed0
- in Isolation Plugin made sure that the last displayed message is the warning, in the case of using tool validation and the tool is not validated
...
- some more work in the Excellon Editor - Drill adding
- some fixes in the image loader when clicking the an image that is in the list of previous loaded files
- a small fin in the SVG parser
- added a new Tcl command that is returning the name of the active object ('get_active') to accompany the 'set_active' command
- a small fix for the 2d graphic mode by replacing the q5agg matplotlib backend with the qtagg backend which should work with the Qt6
2022-04-28 13:39:48 +03:00
Marius Stanciu
779a8ccc9f
- activated the 'View Source' option in the project menu context menu for the Geometry objects
...
- in Image Import plugin now the created objects have the 'source_file' attribute with content
- working in the Excellon Editor - wip
2022-04-26 14:29:23 +03:00
Marius Stanciu
d7d53399a0
- some changes in the Geometry Editor UI's and in some cases, fixes for the right-click close action
2022-04-20 21:27:20 +03:00
Ali Khalil
ce4b43bd36
Menu icons location changes restored and will be addressed in future update with better mechanism. FCLabel calls updated where possible based on new method parameters
2022-04-18 11:36:08 +03:00
Ali Khalil
84cdc87030
FCLabel behavior modified to match updated method based on PR discussion
2022-04-18 09:18:17 +03:00
Marius Stanciu
3af1b189c5
- in Geometry Editor, COpy Tool, finished the copy-as-array feature except the 2D array type which was not implemented yet
2022-04-17 17:09:08 +03:00
Marius Stanciu
0df270a48d
- in Geometry Editor, in Copy Tool - linear array utility geometry is working
2022-04-17 02:14:00 +03:00
Marius Stanciu
07995fd0c8
- in Geometry Editor, in Copy Tool - work in progress (adding utility geometry for the array mode)
2022-04-17 01:22:52 +03:00
Marius Stanciu
f407c57f8f
- in Geometry Editor, in Copy Tool remade the UI and started to add the support for copy-as-array (work in progress)
2022-04-16 23:54:26 +03:00
Marius Stanciu
4d496e4539
- in Geometry Editor, in Circle Tool added UI, cursor data, radius projection and ability to add ellipses
2022-04-16 16:01:39 +03:00
Marius Stanciu
e399c6cddc
- in Geometry Editor, in Rectangle Tool added cursor data
2022-04-16 14:07:41 +03:00
Marius Stanciu
972d5c8836
- in Geometry Editor, in Move Tool and Copy Tool added UI's, move projection and cursor data. Also, now require acquiring reference point before the action.
2022-04-16 13:38:38 +03:00
Marius Stanciu
34bb741335
- in Geometry Editor, in the Simplification Tool made sure that the selected shape is highlighted
...
- in Geometry Editor, in Rectangle Tool added a modification mode where a selected shape (using the SHIFT + click combo) while the tool is active, can be modified
2022-04-16 11:46:33 +03:00
Marius Stanciu
1d1226b628
- in Geometry Editor, the Rectangle Editor Tool allows creation of rectangles with the mouse but projecting the length and width dimensions by typing a number (the choice of setting the length or width is based on the direction of the mouse move after setting the first point)
...
- in Geometry Editor, the Rectangle Editor Tool has now Ui which allows adding a rectangle by parameters
2022-04-16 02:03:11 +03:00
Marius Stanciu
d8129c8825
- in Geometry Editor moved the simplification feature in its own Editor Tool (plugin)
...
- in Geometry Editor the default draw color is now black
2022-04-15 23:14:27 +03:00
Marius Stanciu
f4e800244e
- made sure that some menu entries in the canvas popup menu are hidden when entering into an Editor and restored on exit
2022-04-14 23:39:51 +03:00
Marius Stanciu
6bab9be25a
- in Geometry Editor, for the Polygon Tool added the UI, the length projection and the cursor data, just like for the Path Tool
2022-04-14 22:00:24 +03:00
Marius Stanciu
f124ccf4df
- in Geometry Editor, for Path tool, added the ability to differentiate between creating a multidigit number for the projection and starting a new number (for a new segment)
2022-04-14 15:11:45 +03:00
Marius Stanciu
a09700929e
- solved a ZeroDivisionError exception in the Geometry Editor -> Path Tool
2022-04-14 14:24:53 +03:00
Marius Stanciu
53c92306dd
- in Geometry Editor, for Path tool, added UI that close on end of the Path tool action; it displays the projected length which now is kept for as long as it is wanted, allowing for path automation in case of repetitive lengths
2022-04-14 14:01:01 +03:00
Marius Stanciu
ff954c4f62
- in Geometry Editor for the Path tool fixed an issue with path projection when changing the grid size while the Path tool is active
2022-04-14 03:20:54 +03:00
Marius Stanciu
dd4a0dac99
- in Geometry Editor for the Path tool but only when using the 3D engine graphic mode, the mouse cursor is followed by position data
2022-04-14 02:42:07 +03:00
Marius Stanciu
b049a64684
- in Geometry Editor added a new feature. While drawing a 'Path' now the user can project a direction by moving the mouse cursor in a certain direction and after that by typing a number or an arithmetic simple expression, a line segment will be drawn in that direction with the specified length from the last point
2022-04-14 01:00:20 +03:00
Marius Stanciu
716dddb851
- in Geometry Editor made sure that the MultiPolygon shapes (like those made by the Text Tool) will update the coordinates in the UI
2022-04-13 20:12:54 +03:00
Marius Stanciu
804786c6c2
- in Geometry Editor - fixed the Explode tool to work on the result of adding Text geometry
...
- all the Geometry Editor plugins are moved inside another folder and the UI's are moved into their own class
2022-04-13 18:33:05 +03:00
Marius Stanciu
f60919f4c7
- in Geometry Editor - update (some reformatting and adding shape data)
2022-04-13 15:25:34 +03:00
Marius Stanciu
a59f996819
- some reformatting and class rename
...
- when clicking the coordinates toolbars in the status bar now the Distance Plugin is shown and if already displayed, it is closed (toggle action)
2022-04-03 15:06:36 +03:00
Marius Stanciu
c4151631ec
- changed the app main icons, hopefully they are more visible on black backgrounds than the ones that FlatCAM has
2022-03-31 11:28:35 +03:00
Marius Stanciu
a3f9d7c248
- added ability to change the mouse cursor color on the fly
...
- in Distance Plugin made sure that the 'big cursor' (when is used) is black in color (visible in most situations)
- in Distance Plugin, for the 2D graphic mode activated the utility line
2022-03-29 02:14:44 +03:00
Marius Stanciu
4745e1cab9
- in Distance Plugin added the ability to use a big cursor; not finished: when the grid is off it is not displayed
2022-03-28 20:06:11 +03:00
Marius Stanciu
eec366ce7f
- refactoring names for some classes
2022-03-24 18:35:44 +02:00
Marius Stanciu
65d8dcc0b2
- the application now uses only the default values from the app.options dict, the app.defaults dict holds the definitive default values
...
- fixed some outstanding issues from the PyQt6 port
- PEP8 fixes
- minor fixes
- updated the saving of Preferences to update the self.options too: the `Apply` action will update the self.options but the `Save` action will save the updated preferences to the file on disk
2022-02-18 23:06:58 +02:00
Marius Stanciu
1681b327ed
- refactoring all the references to object options property to obj_options to make a difference with the application options property
2022-02-16 10:47:12 +02:00
Marius Stanciu
2430158334
- fixing an issue with not building the UI for the generated objects when running a script and then trying to enable/disable the plots
...
- attempting to add a feature in the text editors to autoselect all words in a document that are the same as the one that was clicked
- all the colors set in Preferences now have to be in the 8digits format RGBA (including the alpha channel as a suffix) - it is required to delete the current preferences files
2022-01-17 21:26:10 +02:00
Marius Stanciu
bb089eb657
- refactored the is_legacy object to use_3d_engine
...
- made sure that there is no longer a double action when toggling the object visibility ('plot' attribute)
2021-10-31 14:05:00 +02:00
Marius Stanciu
205e6a4ae0
- in Geo Editor fixed another Shapely deprecation warning in flatten() method
2021-10-15 01:51:50 +03:00
Marius Stanciu
aef9d97dd7
- in Markers Plugin replaced the Margin parameters with the Offset parameters that now can be referenced either to the edge of the bounding box (effectively replacing the old Margin parameter) or to the center of the bounding box
...
- Distance Plugin Ui was upgraded
- updated the language strings
2021-10-10 01:37:09 +03:00
Marius Stanciu
3fc0ab826f
- working to differentiate between temporary units change and permanent units change
2021-09-27 17:28:54 +03:00
Marius Stanciu
0cee20a6d9
- in Excellon Editor and Geometry Editor solved some Shapely 2.0 deprecation warnings
...
- in Excellon Editor made sure that the tool diameter is always updated before adding a new drill (or drill array)
- changing units is not possible while in Editors
- changing units outside the Preferences will make no permanent changes
- deleting all shapes from the shapes collection (OpenGl graphics) will reset also the index in the collection data dict
2021-09-26 21:21:49 +03:00
Marius Stanciu
08d3a580ac
- multiple UI changes in Preferences
...
- UI changes in the Paint Plugin
2021-09-25 21:08:15 +03:00
Marius Stanciu
dd029d6ded
- fixed an error due of missing attribute of PlotCanvasLegacy when using Legacy2D graphic engine
...
- solving deprecation warnings issued by Shapely
- made sure that the Gerber Object geometry is always flattened
2021-09-21 15:55:35 +03:00
Marius Stanciu
241579d670
- on Coppper Thieving Plugin some UI updates
...
- updated the GCGridLayout GUi element to automatically stretch the first column but offered also configuration; updated the use throughout the app
2021-09-09 16:28:14 +03:00
Marius Stanciu
585231ec51
- in Geometry Editor, deleting a shape from the Table context menu will update now the plot
2021-09-02 15:33:31 +03:00
Marius Stanciu
d90e86da39
- made sure that the location labels in the InfoBar have only the decimals required when the Grid snapping is ON
2021-08-31 02:25:43 +03:00
Marius Stanciu
fc97a4ecd6
- add HUD rectangle auto size for 3D Graphic Engine
2021-08-30 17:43:35 +03:00