Commit Graph

206 Commits

Author SHA1 Message Date
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
Marius Stanciu
c27a69d5c1 - fixed issue with not being able to mill holes in a Excellon object part of a loaded project (JSON serialization makes all keys in dictionary strings so I had to make sure that the obj.tools dict keys are made integers on project reconstruction) 2020-12-31 19:29:56 +02:00
Marius Stanciu
e5cc47882f - replaced all usages of QFormLayout with QGridLayout 2020-12-31 18:03:43 +02:00
Marius Stanciu
9dfa3b497d - all the logs done on Exception are now errors (with the exception of few places where the Exception is expected) 2020-12-31 05:56:46 +02:00
Marius Stanciu
da143eb29f - fixed the issue with not saving the project on program close if selecting the 'Yes' option. 2020-12-31 04:58:51 +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
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 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
a785aabdcc - modified the way that the plotcanvas widget is added 2020-12-15 16:34:37 +02:00
Marius Stanciu
21d1569c03 - modified the centering in origin functionality to include a selection of choices in a dialog
- fixed Locate in Object functionality to work in the situations where there are negative bounds values
2020-12-14 18:41:54 +02:00
Marius Stanciu
66bd61305f - added new functionality: centering in origin for a selection of objects
- for all centering functionality, now if the moved object is of 'geometry' kind it will have the source_file attribute updated with DXF code
2020-12-14 17:29:36 +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
aed970f50c - added an experimental 3D area (archball camera) 2020-12-12 02:49:24 +02:00
Marius Stanciu
59ee9b55a1 - minor changes in App.__init__() 2020-12-11 01:24:16 +02:00
Marius Stanciu
d6c34f97ef - fixed the on_delete() method in the App class; sometime it will delete all files that have similar names
- made sure that on creation of new objects the adding of the names to the auto-complete list is done properly
2020-12-09 19:13:06 +02:00
Marius Stanciu
5a6271be09 - few changes in the Milling UI
- made some changes in the application to prepare for usage of PyQt6
2020-12-08 17:55:41 +02:00
Marius Stanciu
d843cf7da7 - Geometry object - work in upgrade of the data structure 2020-12-08 00:14:49 +02:00
Marius Stanciu
e677a6592e - in Cutout, 2Sided, Film, NCC, Paint, Panelize and Subtract Tool made sure that the object selection in Project Tab reflects in the selected object in the Tools
- set the shortcut key for Milling Tool to ALt+M and for Corner Markers Tool to Alt+B
2020-12-04 03:01:05 +02:00
Marius Stanciu
9231530e20 - fixed the display of status bar messages when they contain brackets
- in Panelize Tool - fixed the export when panelizing Excllon objects
- in Panelize Tool - remade the methods such that panelizing a Gerber object as Geometry panel will now hold all the Gerber apertures as Geometry tools and added a supplementary tool that holds the solid_geometry.
- in Panelize Tool - remade the methods such that panelizing a Geometry object as a Gerber panel will attempt to create polygons from Geometry
2020-12-03 00:56:16 +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
16ae703a61 - added the mechanism to create an error log in the data path where to write debug data for the crashes of FlatCAM 2020-11-28 15:51:37 +02:00
Marius Stanciu
42d6188836 - updated Language strings
- translated the strings to Romanian language
- Google-translated the strings to German language
2020-11-28 00:57:18 +02:00
Marius Stanciu
641fee11d1 - added some protections in case the Editors could not start such that the app is not crashed 2020-11-27 17:10:41 +02:00
Marius Stanciu
cf7c6dc9c2 - some refactoring between app_Main class and MainGUI class
- on tab close in Notebook the tool_shapes are deleted (shape markings used by some of the App Tools) therefore part fo the clean-up
2020-11-27 17:00:12 +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
db4ec25826 - fixed error in Tools Database when deleting first tool; remade the tool deletion method 2020-11-26 17:19:19 +02:00
Marius Stanciu
d49f8a87e6 - in Tools Database added a new column showing the intended target and also added in the context menu an entry that will sort the tools by tool diameter
- fixed in Tools Database the message pop-up that tools are modified but not saved on Toos Database tab closing
2020-11-25 23:06:20 +02:00
Marius Stanciu
51e3dc3308 - moved around portions of code in the App.__init__ for optimization; added a control in Preferences for usage of Log in Tcl Shell 2020-11-25 17:57:05 +02:00
Marius Stanciu
7a5f072d3f - added confirmation status messages for clearing the recent files/projects lists 2020-11-25 14:30:53 +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
ca77b8869c - had a first shot in creating a way to show the log messages in the Tcl Shell if a setting in Preferences is set
- fixed Isolation Tool tool table context menu pointing at the same method for the menu entries: Add Tool and Pick from DB
2020-11-25 12:48:38 +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