Commit Graph

237 Commits

Author SHA1 Message Date
Marius Stanciu
1c06c05c22 - cleaned up the Geometry and Gerber object classes
- more cleanup in Isolation Plugin
2021-08-19 15:20:23 +03:00
Marius Stanciu
261b83b445 - cleaning up Isolation Plugin 2021-08-18 16:28:10 +03:00
Marius Stanciu
75fff68cc9 - changed the translators tab in the on_about() method
- added the usage of the FCLabel widget instead of QtWidgets.QLabel
2021-08-18 03:31:23 +03:00
Marius Stanciu
d25cad8780 - changed the ColorRole in the on_about() method to 'window' os the programmers and translator tab is set to white color 2021-08-18 01:40:34 +03:00
Marius Stanciu
08e6eaa084 - when creating a nw project the user is asked if he wants to save the preferences 2021-08-18 01:31:58 +03:00
Marius Stanciu
db8a85c493 - fixed the "Set Color" functionality broken by recent changes
- updated the "Set Color" functionality to store the used color in a correct way
2021-08-18 01:14:06 +03:00
Marius Stanciu
7a7214752c - fixed some issues with using the exec_() which now should be exec()
- added a context menu action in the canvas context menu for moving selected objects to origin
2021-08-15 02:19:24 +03:00
Marius Stanciu
835ef0620e - small change due of porting to PyQt6 in self.on_portable_checked() method 2021-08-14 00:14:43 +03:00
Marius Stanciu
40034540cf - fixed splash screen position on current screen when using multiple screens 2021-08-11 15:36:59 +03:00
Marius Stanciu
061e109e45 - wip in porting to PyQt6: fixed OptionalInput and OptionalHideInput GUI elements 2021-08-09 12:25:20 +03:00
Marius Stanciu
2daf191948 - changed the spacings in the new custom Grid layout 2021-08-07 11:58:11 +03:00
Marius Stanciu
461aa763ad - created a new custom layout based on the Grid Layout where I can set the horizontal and vertical spacings between grid items and used it throughout the app 2021-08-07 11:46:45 +03:00
Marius Stanciu
1d88491a18 - more work in PyQt6 porting 2021-08-05 21:14:37 +03:00
Marius Stanciu
584134a27a - changes the exit method from exit(0) to quit() 2021-08-05 21:04:00 +03:00
Marius Stanciu
e0a7afb2cd - fixed fullscreen functionality for PyQt6 and a few other fixes regarding the port to PyQt6 2021-08-05 02:00:54 +03:00
Marius Stanciu
ffce6b437f - continuing to fix the PyQt6 port
- added an Exception when App.on_canvas_setup() fails
2021-08-05 00:50:09 +03:00
Marius Stanciu
53272da959 - porting to PyQt6 2021-08-04 18:34:24 +03:00
Marius Stanciu
c3d5fccb80 - toggling the plot is now deleting the selection shape, if any 2021-08-04 12:52:08 +03:00
Marius Stanciu
1330b1047c - when using the NCCAD9 preprocessor (for Kosy machines) at GCode save the .knc extension will be automatically preselected
- added a preprocessor for Roland MDX-540
2021-07-21 23:56:53 +03:00
Marius Stanciu
f08466e7f2 - preferences UI is now started on preferences open
- more work/fixes in working on data structures (offset, offset_value, job_type, shape)
2021-07-14 22:35:29 +03:00
Marius Stanciu
277d5e4440 - optimized the data storage in the on_about() method
- randomized the order in the programmers list at each launch of the on_about() method
2021-06-21 22:21:05 +03:00
Marius Stanciu
ba59e9ed58 - fixed the setting color functionality on right click on the objects in the Project Tab such that the set color (or opacity) it is stored in a persistent setting correctly and the colors for Gerber objects are restored in order
- trying to fix a Runtime exception that may happen when the Plugin Tab is deleted completely
2021-06-17 22:09:58 +03:00
Marius Stanciu
8cd5d253be - fixed SVG import to show an error for SVG files that have SVG units not mm or cm or inch
- for SVG files with cm units the scaling factor is multiplied by 10
- the app will signal failure when encountering the 'g' SVG element which is not supported and cancel the SVG import
2021-05-16 20:31:43 +03:00
Marius Stanciu
9ed395df99 - changed the save_project() method such that when the project is saved as compressed now the compression is first done in memory and only after that the app will attempt to write it to a file on disk 2021-05-03 00:12:24 +03:00
Marius Stanciu
27c927c100 - small string change 2021-04-12 15:07:57 +03:00
Marius Stanciu
4acdd51d1f - now every version of FlatCAM beta creates it's own set of Preferences files 2021-04-05 01:10:51 +03:00
Marius Stanciu
c2677cac26 - fixed bug in the Drilling Tool when there are tools without drill points 2021-04-01 19:34:46 +03:00
Marius Stanciu
b91bd36055 - fixed errors when using the new ... canvas context menu entries which crated a hard crash 2021-03-28 22:41:20 +03:00
Marius Stanciu
b790f36282 - created a new category in Preferences where only the Engraving Related preferences are located
- added a new set of options in the Preferences for the Milling Plugin by taking them out of the Geometry section
2021-03-28 16:57:57 +03:00
Marius Stanciu
4c92083c01 - upgraded all the plugins such that at each launch the Plugin UI is reinitialized reducing the chances to get errors like "wrapped up C++ object deleted" with the side effect that the performance might be slightly reduced 2021-03-28 15:21:17 +03:00
Marius Stanciu
546f4c2361 - updated the Milling Plugin and all the related parts in the CNCJob Object and in all preprocessors. Now, the parent 'tools' attribute is inherited and also the GCode is stored here
- made sure that old projects load but without the CNCjob objects which would have crashed the app due different data structures
- the FlatCAm Evo projects load now in succession, no longer on threads
2021-03-15 00:02:33 +02:00
Marius Stanciu
f9d496f1e0 - made sure that possible temporary drawn shapes are deleted when the UI of the Plugin that created them is closed (by closing it in the Plugin Tab) 2021-03-07 23:35:01 +02:00
Marius Stanciu
f103cc0a70 - added detection of Gerber files in Gerber X2 format
- added a new feature: if a Gerber file in format Gerber X2 having Drill information's is detected then after loading, it will be converted to an Excellon object
2021-03-05 05:36:40 +02:00
Marius Stanciu
0986ef143c - aperture keys in the gerber 'tools' dictionary are now stored as integers instead of strings as before; need to check the application especially the Gerber Editor
- fixed issues in Gerber Editor (using the '0' insteadd of 'REG' type for apertures)
2021-03-04 17:45:47 +02:00
Marius Stanciu
f317061792 - fixed a problem in saving done at the app closure 2021-03-03 01:23:41 +02:00
Marius Stanciu
7a50b2f045 - removed the spacing between icons in toolbars 2021-03-02 04:48:07 +02:00
Marius Stanciu
e715870d12 - major rafactoring: replaced the name of the Gerber object data structure from 'apertures' to 'tools' to make the object data structure uniform across the app 2021-03-01 17:46:23 +02:00
Marius Stanciu
f85be8d095 - added possibility of changing the Axis color and created a new parameter for that in Preferences
- some refactoring
- in a FCColorEntry GUI element, setting a color in the Color dialog will trigger the editingFinished signal therefore propagating the changes
2021-02-27 02:08:17 +02:00
Marius Stanciu
f480bafb66 - changed some confusing strings regarding the 'Properties'
- Properties Tool is now ObjectReport Tool
- fixed some attributes in Milling Slots Excellon Object utilities functionality
- fixed some issues in the translated strings .po files
2021-02-26 16:26:30 +02:00
Marius Stanciu
a68dc429e3 - fix of Tcl command AlignDrill by Bogusz Jagoda
- small changes in FlatCAMExcellon.py file to fix milling the drill holes (due of the new changes in Geometry data structure)
2021-02-10 14:43:17 +02:00
Marius Stanciu
04649622eb - some refactoring
- working on Milling Tool and Drilling Tool: made sure that the plugin UI is initialized only when the plugin (Tool) is run in order to avoid errors like (wrapped C++ objects was deleted)
2021-01-29 02:08:34 +02:00
Marius Stanciu
575e29fcaa - when doing 'Set Origin' the right mouse click will cancel the action 2021-01-22 16:01:36 +02:00
Marius Stanciu
5b0ec590f3 - made sure that the Offset fields in the Properties Tab are updated on object: move, origin change, transformations 2021-01-22 15:07:41 +02:00
Marius Stanciu
1c9fcbfd20 - fixed minor issue with not having the Cancel option on exiting the GCode Editor through the Toolbar button 2021-01-22 14:26:04 +02:00
Marius Stanciu
79a285fb38 - made more changes in the names; Tools Toolbar is now Plugin Toolbar
- the detachable tabs are now not detachable by default after first install
2021-01-11 01:24:17 +02:00
Marius Stanciu
7291d85c07 - renamed the Tool menu category to Plugins
- for all the plugins optimized the plugin name
- renamed the app to FlatCAM Evo in order to make a difference from FlatCAM app which follows its own path
- modified the splash image to reflect the new naming of the app
- modified some of the documents (License, Readme) in the app to reflect the actual reality in 2021
2021-01-10 21:59:53 +02:00
Marius Stanciu
e726899167 - added a new parameter to the New Tcl command named -reset. If set False (or 0) the TCL instance will not be recreated, allowing to keep the TCL variable content on the new project.
- included the modifications from PR #336 from Andre Spahlinger
2021-01-04 00:44:57 +02:00
Marius Stanciu
f9b3cb0794 - fixed the Tcl Commands: new_geometry, new_gerber and new_excellon to create correct objects. New Geometry object created with the new_geometry Tcl command accept now the usage of add_circle/polygon/polyline/rectangle Tcl commands
- updated the autocompleter list for the Tcl commands with missing Tcl commands names
- added three new Tcl Commands: add_aperture (adds an aperture to a Gerber object), add_drill and add_slot (add a drill/slot to an Excellon object)
2021-01-03 19:58:46 +02:00
Marius Stanciu
230b8b9f3a - moved all the Levelling stuff out of the CNCjob Properties Tab to its own tool, Levelling Tool. The functionality itself is not finished yet. 2021-01-02 22:04:05 +02:00
Marius Stanciu
f5751d3f59 - removed the 'machinist setting' and allow all over the app the usages of both negative and positive values (where it is the case) 2021-01-02 16:53:50 +02:00