Commit Graph

2654 Commits

Author SHA1 Message Date
Marius Stanciu eed7e3d620 - some minor changes in the Python version detection
- added a new Tcl Command named SetPath which will set a path to be used by the Tcl commands. Once set will serve as a fallback path in case that the files fail to be opened first time. It will be persistent, saved in preferences.
- added the GUI for the new Open Example in the FIle -> Scripting menu.
- I am modifying all the open ... handlers to add a parameter that will flag if the method was launched from Tcl Shell. This way if the method will fail to open the filename (which include the path) it will try to open from a set fallback path.
- fixed issue #406, bug introduced recently (leftover changes).
- modified the ImportSVG Tcl command name to OpenSVG (open_svg alias)
- added a new Tcl command named OpenDXF (open_dxf alias)
- fixed some errors in Scripting features
- added a new Tcl command named GetPath as a convenient way to get the current default path stored in App.defaults['global_tcl_path']
2020-04-28 14:37:34 +03:00
Marius Stanciu 37924303cd Merged jpcgt/flatcam/Beta into Beta 2020-04-28 10:02:15 +03:00
Marius Stanciu c5ede20113 Merged marius_stanciu/flatcam_beta/Beta into Beta 2020-04-28 10:00:27 +03:00
Leandro Heck 7d37610d10 Merged in leoheck/flatcam/linux-script-path-fix (pull request #304)
Fix linux script path
2020-04-28 06:51:05 +00:00
Marius Stanciu 2549e9925e - handled a possible situation in App.load_defaults() method
- fixed some issues in FlatCAMDB that may appear in certain scenarios
2020-04-28 09:48:49 +03:00
David Robertson e4f3912f4f Cleanup of defaults 2020-04-28 04:15:21 +01:00
David Robertson 723e242c2b Remove duplicate factory defaults saving code in App 2020-04-28 03:36:15 +01:00
David Robertson e3ffa30518 Clean up the factory defaults writing 2020-04-28 03:30:30 +01:00
David Robertson 136b461919 Start extraction of defaults into its own class 2020-04-28 03:07:38 +01:00
Leandro e7a42d037b Normalize messages 2020-04-27 17:07:11 -03:00
Leandro 8b9a3885eb Add minium python version check 2020-04-27 16:55:03 -03:00
Leandro 392d93aa05 Fix script path 2020-04-27 15:22:12 -03:00
Marius Stanciu e36ed05a36 Merged jpcgt/flatcam/Beta into Beta 2020-04-27 20:41:26 +03:00
Leandro Heck 4f4063a99a Merged in leoheck/flatcam/linux-improvements-new (pull request #303)
Linux assets and installation improvements
2020-04-27 17:39:11 +00:00
Leandro f01b3be869 Add pyqt5 as requested 2020-04-27 14:37:30 -03:00
Leandro 970a21184d Remove comment and spicy 2020-04-27 14:13:46 -03:00
Leandro fbaaee4cce Update Linux install info 2020-04-27 13:49:06 -03:00
Leandro 4098c8ad6f Organize installation scritps for Linux (specially Ubuntu) 2020-04-27 13:48:53 -03:00
Leandro 997bf131a5 Add linux assets 2020-04-27 13:47:56 -03:00
Marius Stanciu f55ed888d4 Merged in marius_stanciu/flatcam_beta/Beta (pull request #301)
beta 8.992
2020-04-27 11:20:50 +00:00
Marius Stanciu fe2d232f60 - minor changes
- moved the ObjectCollection class to the flatcamObjects folder where it belongs
2020-04-27 14:05:40 +03:00
Marius Stanciu bea3fbe488 Merged in marius_stanciu/flatcam_beta/Beta (pull request #300)
Beta 8.992
2020-04-27 09:40:56 +00:00
Marius Stanciu a30d2d9185 - added support for Hungarian language - no translation for now 2020-04-27 12:37:44 +03:00
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
camellan 091218176e Edit Russian translation(not finished) 2020-04-26 12:54:35 +04:00
camellan 7c83cd3f87 Merge remote-tracking branch 'remotes/jpcgt/flatcam/Beta' into Beta 2020-04-25 21:02:42 +04:00
camellan d3b9fd8689 update ru 2020-04-25 21:00:27 +04:00
Marius Stanciu c7bd395368 - added some '\n' chars in the Help Tcl command to make the help more readable 2020-04-25 19:59:50 +03:00
Marius Stanciu d9e41b36f4 Merged in marius_stanciu/flatcam_beta/Beta (pull request #299)
Beta 8.992
2020-04-25 14:48:40 +00:00
Marius Stanciu 769b5165b4 - updated Google Translations for French and Spanish languages 2020-04-25 17:46:06 +03:00
Marius Stanciu 74582d02df - fixed links in Attributions tab in Help -> About FlatCAM to be able to open external links. 2020-04-25 07:30:10 +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 92d5f7b303 Merged in marius_stanciu/flatcam_beta/Beta (pull request #298)
Beta
2020-04-24 18:19:26 +00:00
Marius Stanciu a76a7d29da - updated the language template and the Romanian translation to the latest changes 2020-04-24 21:14:00 +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 c9ba61dea9 - updated some of the icons in the dark_resources folder (some added, some modified) 2020-04-24 14:21:57 +03:00
Marius Stanciu b67c00fef6 - update the language template strings.pot and updated the Romanian translation
- updated the Readme file with the steps for installation for MacOS
- updated the requirements.txt file
2020-04-24 11:25:21 +03:00
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 495650fc73 - remove some method declaration with type hints that work only in Python > 3.8 2020-04-23 03:41:58 +03:00
Marius Stanciu 32ff35b4ff - fixed the Tcl command Plot_All that malfunctioned if there were any FlatCAM scripts (or FlatCAM documents) open
- updated the shortcuts list
2020-04-23 03:34:09 +03:00
Marius Stanciu bfd938e577 - aligned the Tcl commands display when the Help Tcl command is run without parameters 2020-04-23 03:10:03 +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