Commit Graph

2509 Commits

Author SHA1 Message Date
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 5dcddb168e - added the outname parameter for the geocutout Tcl command 2020-04-13 05:50:59 +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 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 13644187e4 - removed some packages from setup_ubuntu.sh as they are not needed in FlatCAM beta 2020-04-09 22:40:43 +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 c13721184c - if FlatCAM is not run with Python version >= 3.5 it will exit. 2020-04-09 04:36:41 +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 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 e1269cdb34 - updated the requirements file 2020-04-06 21:39:23 +03:00
Marius Stanciu 573070f154 - some PEP8 changes and other minor changes 2020-04-06 21:10:02 +03:00
Marius Stanciu d14e5d9445 - fixed a bug in handling the UP/DOWN key shortcuts that caused a crash when no object was selected in the Project Tab; also made sure that the said keys are handled only for the Project Tab 2020-04-06 20:52:00 +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 b11ac0ca4d - added a minor change to the ListSys Tcl command 2020-04-06 19:04:32 +03:00
Marius Stanciu 69b39e2937 - added key shortcuts (arrow up/down) that will select the objects in the Project tab if the focus is in that tab 2020-04-06 06:28:55 +03:00
Marius Stanciu 8a2ed1c726 - some changes in the Geometry UI 2020-04-06 01:56:38 +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 376c8058d9 - fixed the Repeated code parsing in Excellon Parse 2020-04-04 18:02:40 +03:00
Marius Stanciu 280eb1dc3a - PEP8 changes 2020-04-01 18:59:53 +03:00
Marius Stanciu 3d39916b5f - minor changes to increase compatibility with Python 3.8 2020-04-01 18:45:20 +03:00
Marius Stanciu d326524fe3 Merged in new_ncc_tool_2 (pull request #6)
New ncc tool 2
2020-04-01 07:55:19 +00: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 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 d6adb99ec8 - fixed a bug in Geometry object that generated a change of dictionary while iterating over it 2020-03-29 15:09:30 +03:00
Marius Stanciu e8adcb0c10 - fixed issues in the new database when adding the tool in a Geometry object 2020-03-29 15:07:18 +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 5554cf0afa - finished the new database based on a QTreeWidget 2020-03-28 22:22:53 +02: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 7415ebc8af - fixed bugs in cncjob TclCommand 2020-03-20 17:12:20 +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 f4f87eb2a7 - updated the "re-cut" feature in Geometry object; now if the re-cut parameter is non zero it will cut half of the entered distance before the isolation end and half of it after the isolation end 2020-03-20 05:04:52 +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 98f4a82ad4 - fixed a bug in CNCJob generation out of a Excellon object; the plot failed in case some of the geometry of the CNCJob was invalid 2020-03-13 13:29:59 +02:00
Marius Stanciu 1a06ce6a2d - working on the new database
- fix a bug in the TextInputTool in FlatCAM Geometry Editor that crashed the sw when some fonts are not loaded correctly
2020-03-12 18:20:22 +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 bac37865e9 - updated the UI in Geometry Editor 2020-03-01 20:40:07 +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 77e01825c2 - wip on the new tools database 2020-03-01 01:55:35 +02:00