Commit Graph

970 Commits

Author SHA1 Message Date
Marius 3b8b4254b9 - fixed an issue regarding the statusbar pixmap selection 2020-04-24 08:37:47 +03:00
Marius Stanciu 527dcf6270 - added possibility to save as text file the content in Tcl Shell browser window when clicking the Save log context menu entry 2020-04-24 08:12:21 +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 1f36ed9369 - added an extra check if old preferences files are detected, a check if the type of the values is the same with the type in the current preferences file. If the type is not the same then the current type is preferred. 2020-04-23 02:43:26 +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 f690c2b09d - added a new feature, project auto-saving controlled from Edit -> Preferences -> General -> APP. Preferences -> Enable Auto Save checkbox 2020-04-22 01:19:49 +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 ecf61fdf6d - made the Grid icon in the status bar clickable and it will toggle the snap to grid function 2020-04-20 00:57:13 +03:00
Marius Stanciu 5a5a18ef43 - some PEP8 changes in Geometry Editor and other minor changes 2020-04-20 00:12:58 +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 46cc9f3f19 - minor optimization 2020-04-15 05:45:09 +03:00
Marius Stanciu 334a28fb6a - made sure that the Tcl commands descriptions listed on help command are aligned 2020-04-15 05:42:38 +03:00
Marius Stanciu c5926ae99f - modified the extensions all over such the names include also the extension name. For Linux who does not display the extensions in the native FileDialog.
- added descriptions for some of the methods in the app.
- added lightened icons for the dark theme from Leandro Heck
2020-04-14 13:42:49 +03:00
Marius Stanciu e64c7060e5 - updated DrillCncJob Tcl Command with new parameters and fixed it to work in the new format of the Excellon methods
- changed CncJob Tcl Command parameter 'depthperpass' to a shorter 'dpp'
2020-04-13 23:43:48 +03:00
Marius Stanciu 4c196f6bae - the Show Shell in Edit -> Preferences will now toggle the Tcl shell based on the current status of the Tcl Shell
- updated the Tcl command Isolate help for follow parameter
2020-04-13 20:44:51 +03:00
Marius Stanciu 7e98365885 - minor update to the autocomplete dictionary 2020-04-13 20:31:32 +03:00
Marius Stanciu 742180d6e3 - updated the Tcl commands PlotAll and PlotObjects to have a parameter that control if the objects are to be plotted or not on canvas; it serve as a disable/enable 2020-04-13 20:28:39 +03:00
Marius Stanciu 1b14e9d451 - updated the App.plot_all() method giving it the possibility to be run as threaded or not
- updated the Tcl command PlotAll to be able to run threaded or not
2020-04-13 20:04:44 +03:00
Marius Stanciu 8a299e8fc8 - multiple fixes in the Tcl commands (especially regarding the interchange between True/false and 1/0 values)
- updated the help for all Tcl Commands
- in Tcl Shell, the 'help' command will add also a brief description for each command in the list
2020-04-13 19:15:20 +03:00
Marius Stanciu 45a2890850 - when the Save button is clicked in the Edit -> Preferences the Preferences tab is closed. 2020-04-11 04:37:37 +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 418ebd6606 - minor changes in GUI (Save locations in Menu -> File) and the key shortcuts 2020-04-11 01:51:43 +03:00
Marius Stanciu 42949021b1 - fixed the Tcl Command Delete to have an argument -f that will force deletion evading the popup (if the popup is enabled). The sme command without a name now will delete all objects
- fixed the Tcl Command JoinExcellons
- fixed the Tcl Command JoinGeometry
- fixed the Tcl Command Mirror
- updated the Tcl Command Mirror to use a (X,Y) origin parameter. Works if the -box parameter is not used.
- updated the Tcl Command Offset. Now it can use only -x or -y parameter no longer is mandatory to have both. The one that is not present will be assumed 0.0
- updated the Tcl Command Panelize. The -rows and -columns parameters are no longer both required. If one is not present then it is assumed to be zero.
- updated the Tcl Command Scale. THe -origin parameter can now be a tuple of (x,y) coordinates.
- updated the Tcl Command Skew. Now it can use only -x or -y parameter no longer is mandatory to have both. The one that is not present will be assumed 0.0
- updated the help for all the Tcl Commands
2020-04-09 04:13:04 +03:00
Marius Stanciu ee6ac2593f - fixed an crash generated when running the Tool Database from the Menu -> Options menu entry 2020-04-06 20:31:42 +03:00
Marius Stanciu 139baaff64 - fixed issue #386 - multiple Cut operation on a edited object created a crash due of the bounds() method 2020-04-05 21:50:32 +03:00
Marius Stanciu fdd5344581 - fixed bug in Gerber parser that allowed loading as Gerber of a file that is not a Gerber
- fixed a bug in extension detection for Gerber files that allowed in the filtered list files that extension *.gb*
- added a processEvents method in the Gerber parser parse_lines() method
2020-04-05 21:11:48 +03:00
Marius Stanciu 836122ca24 - fix to work with Python 3.8 (closing the application) 2020-04-05 16:53:10 +03:00
Marius Stanciu b53c1c403a - fix for contextual menus on canvas when using PyQt versions > 5.12.1
- decision on which mouse button to use for panning is done now once when setting the plotcanvas
2020-04-05 16:32:16 +03:00
Marius Stanciu bee2a9dddc - made sure that the HDPI scaling attribute is set before the QApplication is started
- made sure that when saving a project, the app will try to update the active object from UI form only if there is an active object
2020-04-05 13:48:47 +03:00
Marius Stanciu 3d39916b5f - minor changes to increase compatibility with Python 3.8 2020-04-01 18:45:20 +03:00
Marius Stanciu 1d13b997f2 - updated the SVG parser to take into consideration the 'Close' svg element and paths that are made from a single line (we may need to switch to svgpathtools module) 2020-04-01 00:09:50 +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 1ca650e883 - modified the new database to accept data from NCC and Paint Tools 2020-03-29 14:22:11 +03: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 70d3895799 - working on a new type of database 2020-03-01 00:52:24 +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 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 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 64912949c6 - modified the Paint Tool UI 2020-02-16 03:11:46 +02:00
Marius Stanciu 49c82a3e33 - added the Preferences entries for the Gerber Invert Tool 2020-02-15 03:41:11 +02:00
Marius Stanciu 9fc2ba8ffd - added a new FlatCAM Tool: Gerber Invert Tool. It will invert the copper features in a Gerber file: where is copper there will be empty and where is empty it will be copper 2020-02-14 17:08:06 +02:00