Commit Graph

548 Commits

Author SHA1 Message Date
Marius Stanciu 9f13b47077 - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute
- removed the import of the whole FlatCAMApp file only for the usage of GracefulException
- remove the import of FlatCAMApp and used alternate ways
- optimized the imports in some files
- moved the Bookmarksmanager and ToolDB classes into their own files
- solved some bugs that were not so visible in the Editors and HPGL parser
- split the FlatCAMObj file into multiple files located in the flatcamObjects folder and renamed the contained classes with names more suggestive
- updated the Google Translation for the German language
2020-04-27 12:34:56 +03:00
Marius Stanciu 3ec666edbb - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute
- removed the import of the whole FlatCAMApp file only for the usage of GracefulException
- remove the import of FlatCAMApp and used alternate ways
- optimized the imports in some files
- moved the Bookmarksmanager and ToolDB classes into their own files
- solved some bugs that were not so visible in the Editors and HPGL parser
2020-04-27 10:03:22 +03:00
Marius Stanciu 61020e3624 - finished the moving of all Tcl Shell stuff out of the FlatCAAMApp class to flatcamTools.ToolShell class
- updated the requirements.txt file to request that the Shapely package needs to be at least version 1.7.0 as it is needed in the latest versions of FlatCAM beta
- some TOOD cleanups
- minor changes
2020-04-27 06:55:08 +03:00
Marius Stanciu 0295950000 - ensured that on Graceful Exit (CTRL+ALT+X key combo) if using Progressive Plotting, the eventual residual plotted lines are deleted. This apply for Tool NCC and Tool Paint 2020-04-25 06:55:41 +03:00
Marius Stanciu 935d556c93 - updated Paint Tool for the new Tool DB
- updated the Tcl commands CopperClear and Paint
2020-04-24 21:08:27 +03:00
Marius Stanciu 7df7e17569 - some message strings cleanup 2020-04-24 07:23:14 +03:00
Marius Stanciu 26dd29e7dd - the status bar messages that are echoed in the Tcl Shell will no longer have all text colored but only the identifier 2020-04-24 06:59:49 +03:00
Marius Stanciu b569fa1748 - added a new menu entry in the context menu of the Tcl Shell: 'Save Log' which will save the content of the Tcl Shell browser window to a file 2020-04-24 04:51:55 +03:00
Marius Stanciu ea4502b965 - some PEP changes, some method descriptions updated
- added a placeholder text to 2Sided Tool
2020-04-24 04:18:01 +03:00
Marius Stanciu 3735753a93 - fixed the Tcl Command Help to work as expected; made the text of the commands to be colored in Red color and bold
- added a 'Close' menu entry in the Tcl Shell context menu that will close (hide) the Tcl Shell Dock widget
- on launching the Tcl Shell the Edit line will take focus immediately
- in App.on_mouse_move_over_plot() method no longer will be done a setFocus() on every move, only when it is needed
2020-04-23 02:07:55 +03:00
Marius Stanciu a1499158c2 - refactored some of the code in the App class and created a new Tcl Command named Help 2020-04-22 23:00:54 +03:00
Marius Stanciu dc1a198235 - added ability to use line width when adding shapes for both Legacy and OpenGL graphic engines
- added the linewidth=2 parameter for the Tool Distance utility geometry
- fixed a selection issue in Legacy graphic mode for single click
2020-04-20 04:18:12 +03:00
Marius Stanciu 26ec98d64b - some mods in the Distance Tool 2020-04-20 01:48:12 +03:00
Marius Stanciu 2dfcdc95e4 - fixed more issues (new) in NCC Tool
- added a new layout named 'minimal'
2020-04-19 22:22:19 +03:00
Marius Stanciu 49fa926d50 - fixed a bug that did not allow to edit GUI elements of type FCDoubleSpinner if it contained the percent symbol
- some small optimizations in the GUI of Cutout Tool
2020-04-19 04:41:58 +03:00
Marius cb52f1c10a - lightened the hue of the color for 'success' messages printed in the Tcl Shell browser 2020-04-14 04:30:47 +03:00
Marius Stanciu abce81d802 - fixed issue #394 - the saveDialog in Linux did not added the selected extension
- fixed issue #389 - in previous commits
- fixed issue #391 - in previous commits
2020-04-11 02:55:32 +03:00
Marius Stanciu 496be49027 - made sure that the timeout parameter used by some Tcl Commands is seen as an integer in all cases
- minor changes in Paint Tool
2020-04-10 18:54:04 +03:00
Marius Stanciu d80de538e3 - modified all CTRL+ with Ctrl+ and all ALT+ with Alt+ and all SHIFT+ with Shift+. Fixed issue #387. 2020-04-09 05:16:48 +03:00
Marius Stanciu ecba1a9232 - updated the 2Sided Tool by not allowing the Gerber file to be mirrored without a valid reference and added some placeholder texts 2020-04-06 22:28:18 +03:00
Marius Stanciu 3d39916b5f - minor changes to increase compatibility with Python 3.8 2020-04-01 18:45:20 +03:00
Marius Stanciu 9a74139497 - fixed some issues in Paint Tool 2020-03-30 23:56:38 +03:00
Marius Stanciu 8a2f5fed05 - working to update the Paint Tool 2020-03-30 23:12:27 +03:00
Marius Stanciu 70dd9aecae - working in updating NCC Tool 2020-03-29 21:39:20 +03:00
Marius Stanciu a872a958ca - in the new Tools DB added ability to double click on the ID in the tree widget to execute adding a tool from DB 2020-03-29 21:10:30 +03:00
Marius Stanciu 4aeadde3da - started to add the new database links in the NCC and Paint Tools 2020-03-29 17:48:46 +03:00
Marius Stanciu 91884a57e0 - fixed Cutout Tool to work with negative values for Margin parameter 2020-03-21 09:12:15 +02:00
Marius Stanciu ffaea546db - fixed issue in "re-cut" feature when combined with multi-depth feature 2020-03-20 16:28:59 +02:00
Marius Stanciu 22f74edfab - added to Paint and NCC Tool a feature that allow polygon area selection when the reference is selected as Area Selection
- in Paint Tool and NCC Tool added ability to use Escape Tool to cancel Area Selection and for Paint Tool to cancel Polygon Selection
2020-03-20 13:25:14 +02:00
Marius Stanciu e6917ba1ab - fixed Properties Tool due of recent changes to the FCTree widget 2020-03-13 15:43:26 +02:00
Marius Stanciu 15ee54d057 - updated all the FlatCAM Tools and the Gerber UI FCComboBoxes to update the box value with the latest object loaded in the App
- some fixes in the NCC Tool
- modified some strings
2020-03-04 00:27:51 +02:00
Marius Stanciu 0477a9860a - added property that allow the FCComboBox to update the view with the last item loaded; updated the app to use this property 2020-03-02 06:17:18 +02:00
Marius Stanciu 5b10e9faf0 - updated the CutOut Tool such that while adding manual gaps, the cutting geometry is updated on-the-fly if the gap size or tool diameter parameters are adjusted 2020-03-01 19:23:06 +02:00
Marius Stanciu 70d3895799 - working on a new type of database 2020-03-01 00:52:24 +02:00
Marius Stanciu acc61d460b - fixed error in CutOut Tool when trying to create a FreeFrom Cutout out of a Gerber object with the Convex Shape checked 2020-02-29 22:21:09 +02:00
Marius Stanciu 2c7dff5dbe - compacted the NCC Tool UI by replacing some Radio buttons with Combo boxes due of too many elements 2020-02-29 19:05:00 +02:00
Marius Stanciu 8a6ada1984 - added a new parameter named 'End Move X,Y' for the Geometry and Excellon objects. Adding a tuple of coordinates in this field will control the X,Y position of the final move; not entering a value there will cause not to make an end move 2020-02-26 04:43:54 +02:00
Marius Stanciu b6663ddd43 - in NCC Tool modified the UI 2020-02-20 06:14:17 +02:00
Marius Stanciu a2c0244e18 - in Paint Tool replaced the Selection radio with a combobox GUI element that is more compact 2020-02-20 05:14:48 +02:00
Marius Stanciu 72ce53182d - on Set Origin, Move to Origin and Move actions for Gerber and Excellon objects the source file will be also updated (the export functions will export an updated object) 2020-02-19 21:26:08 +02:00
Marius Stanciu 042dc26cfa - fixed the Offset spinbox not being controller by offset checkbox in NCC Tool 2020-02-18 04:26:53 +02:00
Marius Stanciu a9c6db73bf - when multiple tools are selected in Excellon UI and parameters are modified it will applied to all selected
- in Excellon UI, Paint Tool and NCC Tool finished the "Apply parameters to all tools" functionality
- updated Paint Tool and NCC Tool in the UI functionality
2020-02-18 04:12:23 +02:00
Marius Stanciu 7292a30b9e - fixed some issues realted to the usage of the new confirmation message in FlatCAM Tools
- made sure that the FlatCAM Tools UI initialization is done only in set_tool_ui() method and not in the constructor
2020-02-17 14:27:45 +02:00
Marius Stanciu ea1b99242c - updated all FlatCAM tools to use the new confirmation message for QSpinBoxes, too 2020-02-17 04:56:57 +02:00
Marius Stanciu 1e9232aeaa - updated the Excellon UI to hold data for each tool
- in Excellon UI removed the tools table column for Offset Z and used the UI form parameter
- updated the Excellon Editor to add for each tool a 'data' dictionary
- updated all FlatCAM tools to use the new confirmation message that show if the entered value is within range or outside
2020-02-17 04:43:01 +02:00
Marius Stanciu d1408a3d2c - small update to NCC Tool UI 2020-02-16 16:50:24 +02:00
Marius Stanciu 64912949c6 - modified the Paint Tool UI 2020-02-16 03:11:46 +02:00
Marius Stanciu 25c9a31179 - more work in the new Laser Mode in the Paint Tool 2020-02-15 21:11:06 +02:00
Marius Stanciu d24290a2b6 - in Paint Tool added a new method of painting named Combo who will pass through all the methods until the polygon is cleared
- in Paint Tool attempting to add a new mode suitable for Laser usage
2020-02-15 06:23:39 +02:00
Marius Stanciu 49c82a3e33 - added the Preferences entries for the Gerber Invert Tool 2020-02-15 03:41:11 +02:00