Marius Stanciu
04b3b8585f
- added option to run a script from the context menu of the sys tray icon. Changed the color of the sys tray icon to a green one so it will be visible on light and dark themes
2019-09-18 18:27:28 +03:00
Marius Stanciu
2f9ad61819
- fixed issue with the sys tray icon not hiding after application close
2019-09-18 15:22:45 +03:00
Marius Stanciu
cf0e40c318
- added possibility to edit the custom keywords used by the autocompleter (in Tcl Shell and in the Code Editor). It is done in the Edit -> Preferences -> Utilities
...
- added a new setting in Edit -> Preferences -> General -> GUI Settings -> Textbox Font which control the font on the texbox GUI elements
2019-09-18 14:30:09 +03:00
Marius Stanciu
f432b065fa
- fixed the parsing of the Manufacturing files when double clicking them and they are registered with FlatCAM
...
- fixed showing the GUI when some settings (maximized_GUI) are missing from QSettings
2019-09-18 02:33:17 +03:00
Marius Stanciu
8958ef8007
- fixed the --shellvar and --shellfile FlatCAM arguments to work together but the --shellvar has precedence over --shellfile as it is most likely that whatever variable set by --shellvar will be used in the script file run by --shellfile
2019-09-18 01:58:15 +03:00
Marius Stanciu
6723f9496c
- fixed the --shellvar and --shellfile FlatCAM arguments to work together but the --shellvar has precedence over --shellfile as it is most likely that whatever variable set by --shellvar will be used in the script file run by --shellfile
2019-09-17 20:24:34 +03:00
Marius Stanciu
97cf8f8174
- small change in the help line
2019-09-17 18:46:06 +03:00
Marius Stanciu
608f1dd958
- made --shellvars into --shellvar and make it only one list of commands passed to the Tcl. The list is separated by comma but without spaces. The variables are accessed in Tcl with the names shellvar_x where x is the index in the list of command comma separated values
...
- fixed an issue in the TclShell that generated an exception IndexError which crashed the software
2019-09-17 18:37:34 +03:00
Marius Stanciu
71b945c05e
- added a new command line parameter for FlatCAM named '--shellvars' which can load a text file with variables for Tcl Shell in the format: one variable assignment per line and looking like: 'a=3' without quotes
2019-09-17 15:25:53 +03:00
Marius Stanciu
26fe1bf5e1
- if FlatCAM is started with the 'quit' or 'exit' as argument it will close immediately and it will close also another instance of FlatCAM that may be running
2019-09-17 14:08:57 +03:00
Marius Stanciu
bd0c1da007
- fixed #315 where a script run with the --shellfile argument crashed the program if it contained a TclCommand New
...
- added messages in the Splash Screen when running FlatCAM with arguments at startup
2019-09-17 02:38:24 +03:00
Marius Stanciu
9187004f9e
- added more programmers that contributed to FlatCAM over the years, in the "About FlatCAM" -> Programmers window
2019-09-17 01:21:14 +03:00
Marius Stanciu
f51a3fa038
- made the splashscreen to be showed on the current monitor on systems with multiple monitors
...
- added a new entry in Menu -> View -> Redraw All which is doing what the name says: redraw all loaded objects
- fixed issue where in TCl Shell the Windows paths were not understood due of backslash symbol understood as escape symbol instead of path separator
- made sure that in for the TclCommand cncjob and for the drillcncjob if one of the args is stated but no value then the value used will be the default one
- made available the TSA algorithm for drill path optimization when the used OS is 64bit. When used OS is 32bit the only available algorithm is TSA
2019-09-16 23:27:02 +03:00
Camellan
f71e6992a1
Merged in camellan/flatcam/Beta (pull request #205 )
...
Beta
2019-09-16 17:33:53 +00:00
Marius Stanciu
97b6e26fae
- added new links in Menu -> Help (Excellon, Gerber specifications and a Report Bug)
2019-09-16 18:38:15 +03:00
Marius Stanciu
be4d4387f4
- more GUI optimizations related to being part of the Advanced category or not
...
- added possibility to change the positive SVG exported file color in Tool Film
2019-09-16 16:04:47 +03:00
Marius Stanciu
846e68a8c2
- some GUI optimizations
2019-09-16 05:22:07 +03:00
Marius Stanciu
4b28d980fd
- fixed the App.on_view_source() method for CNCJob objects: the Gcode will now contain the Prepend and Append code from the Edit -> Preferences -> CNCJob -> CNCJob Options
2019-09-16 04:10:02 +03:00
Marius Stanciu
61120911c6
- fixed Scripts repeating multiple time when the Code Editor is used. This repetition was correlated with multiple openings of the Code Editor window (especially after an error)
...
- added the autocomplete keywords that can be changed to the defaults dictionary
- modified the TclCommand New so it will no longer close all tabs when called (it closed the Code Editor tab which may have been holding the code that run)
2019-09-16 04:03:19 +03:00
Marius Stanciu
78b6aa9a83
- fixed Scripts repeating multiple time when the Code Editor is used. This repetition was correlated with multiple openings of the Code Editor window (especially after an error)
...
- added the autocomplete keywords that can be changed to the defaults dictionary
2019-09-16 03:47:28 +03:00
Marius Stanciu
7aebf1c60a
- added new TclCommands: NewExcellon, NewGerber
...
- fixed the TclCommand open_project
2019-09-16 02:57:46 +03:00
Marius Stanciu
8cba74647f
- made all TclCommands not to be plotted automatically
...
- made sure that all TclCommands are not threaded
2019-09-16 01:39:11 +03:00
Marius Stanciu
2f553c9005
- added a new TclCommand named PlotObjects which will plot a list of FlatCAM objects
...
- made that after opening an object in FlatCAM it is not automatically plotted. If the user wants to plot it can use the TclCommands PlotAll or PlotObjects
- modified the TclCommands that open files to not plot the opened files automatically
2019-09-16 00:47:15 +03:00
Marius Stanciu
c06317374e
- added possibility to see the GCode when right clicking on the Project tab on a CNCJob object and then clicking View Source
2019-09-15 22:46:51 +03:00
camellan
1fb70b4672
Edit About page. Edit Russian translation. Edit pot.
2019-09-15 20:52:19 +04:00
camellan
34c2d26422
Fix run a program in unix-based systems
2019-09-15 18:45:22 +04:00
camellan
c3e51e7e32
Update Russian translations
2019-09-15 18:39:50 +04:00
Marius Stanciu
b0d545eb03
- fixed isolate TclCommand to use correctly the -outname parameter
2019-09-15 17:21:15 +03:00
Marius Stanciu
8b3e1b5a77
- fixed the TclCommand cncjob to use the -outname parameter
...
- added some more keywords in the data_model for auto-completer
2019-09-15 16:46:48 +03:00
Marius Stanciu
30f00abce8
- fixed issue in ToolPaint that could not allow area painting of a geometry that was a list and not a Geometric element (polygon or MultiPolygon)
...
- fixed UI showing before the initialization of FlatCAM is finished when the last state of GUI was maximized
- finished updating the TclCommand cncjob to work for multi-geo Geometry objects with the parameters from the args
2019-09-15 13:37:06 +03:00
Marius Stanciu
9057d35cf9
- updated the translations (except RU) and the POT file
2019-09-14 15:51:32 +03:00
Marius Stanciu
0e75352266
- made optional the behavior of Excellon Export values following the values in the Excellon Loading section
2019-09-14 15:33:50 +03:00
Marius Stanciu
23cf31f4f0
- whenever the user changes the Excellon format values for loading files, the Export Excellon Format values will be updated
2019-09-14 14:59:39 +03:00
Marius Stanciu
1ab16f2d6f
- fixed the layouts to include toolbars breaks where it was needed
2019-09-14 13:41:15 +03:00
Marius Stanciu
0a005cfe40
- minor changes in the Code Editor GUI
...
- minor changes in the 'FlatCAM About' GUI
- added a new shortcut key F5 for doing the 'Plot All'
2019-09-14 11:53:08 +03:00
Marius Stanciu
e82bc22caf
- more string changes
...
- updated translation files
2019-09-14 02:14:26 +03:00
Marius Stanciu
56799a35b7
- added a new way to handle scripts with repeating Tcl commands
...
- added new buttons in the Tools toolbar for running, opening and adding new scripts
2019-09-13 22:47:38 +03:00
Marius Stanciu
f6cd63021e
- fixed some of the strings that were left in the old way
...
- updated the POT file
- updated Romanian language partially
2019-09-13 18:27:00 +03:00
Marius Stanciu
6ea9b80ad6
- converted the big strings that hold the shortcut keys descriptions to smaller string to make translations easier
2019-09-13 17:05:13 +03:00
Marius Stanciu
19444fb28c
- upgraded the Script Editor to be able to run Tcl commands in batches
...
- added some ToolTips for the buttons in the Code Editor
2019-09-13 13:52:55 +03:00
Marius Stanciu
722962084b
- added a grid layout in on_about()
2019-09-13 03:37:26 +03:00
Marius Stanciu
67808466d6
- added control for simplification when loading a Gerber file in Preferences -> Gerber -> Gerber General -> Simplify
2019-09-13 02:08:26 +03:00
Marius Stanciu
7ad03f9f0a
- remade the splash screen to show multiple messages on app initialization
...
- added a new splash image
- added a control in Preferences -> General -> GUI Settings -> Splash Screen that control if the splash screen is shown at startup
2019-09-13 01:24:54 +03:00
Marius Stanciu
1a8784f5ab
- now, Excellon and Gerber edited objects will have the source_code updated and ready to be saved
...
- the edited Gerber (or Excellon) object now is kept in the app after editing and the edited object is a new object
- added a message to the splash screen
2019-09-12 22:21:19 +03:00
Marius Stanciu
22fafd1495
- small changes to the 'About FlatCAM' windows
2019-09-12 17:42:33 +03:00
Marius Stanciu
d22592e64c
- small changes in the TclCommands: MillDrills, MillSlots, DrillCNCJob: the new parameter for tolerance is now named: tooldia
...
- cleaned up the 'About FlatCAM' window, started to give credits for the translation team
2019-09-12 17:28:56 +03:00
Marius Stanciu
90b9e2da05
- modified the TclCommand DrillCncJob to have as parameter a list of tool diameters to be drilled instead of tool indexes
2019-09-11 21:40:18 +03:00
Marius Stanciu
7af96faef6
- fixed issue #302 where a copied object lost all the tools
2019-09-11 19:54:44 +03:00
Marius Stanciu
90a8b44cdf
- fixed some minor errors in the new TclCommands: MillDrills and MillSlots
2019-09-11 17:59:24 +03:00
Marius Stanciu
1ef9e95143
- changed the name of TclCommand MillHoles to MillDrills and added a new TclCommand named MillSlots
2019-09-11 17:34:01 +03:00
Marius Stanciu
e7493a350f
- updated code in self.on_view_source() to make it more responsive
2019-09-11 06:55:17 +03:00
Marius Stanciu
91cad9c57d
- added the Gerber code as source for the panelized object in Panelize Tool
...
- whenever a Gerber file is deleted, the mark_shapes objects are deleted also
2019-09-11 04:54:30 +03:00
Marius Stanciu
4114e773dd
- when disabling plots, if the selection shape is visible, it will be deleted
...
- small changes in Tool Panel (eliminating some deepcopy() calls)
- made sure that all the progress counters count to 100%
2019-09-10 16:05:54 +03:00
Marius Stanciu
c66c841d37
- made isolation threaded
2019-09-10 04:29:06 +03:00
Marius Stanciu
d5fd084a6f
- date changed
2019-09-10 03:20:58 +03:00
Marius Stanciu
59704a6e01
- fixed issue when loading unbuffered a Gerber file that has negative regions
...
- fixed Panelize Tool to save the aperture geometries into the panel apertures. Also made the tool faster by removing the buffering at the end of the job
- modified FlatCAMEditor's files to the new string format that will allow easier translations
- updated POT file and the Romanian translation
2019-09-10 03:20:14 +03:00
Marius Stanciu
14fe5080ec
- modified camlib.py, FlatCAMApp.py and ObjectCollection.py files to the new string format that will allow easier translations
...
- updated the POT file and the German language
2019-09-09 19:30:43 +03:00
Marius Stanciu
f38dab80e3
- added for NCC Tool and Paint Tool a setting in the Preferences -> Tools --> (NCC Tool/ Paint Tool) that can set a progressive plotting (plot shapes as they are processed)
2019-09-09 05:14:44 +03:00
Marius Stanciu
198e055328
- added a setting in Preferences -> Gerber -> Gerber General named Buffering. If set to 'no' the Gerber objects load a lot more faster (perhaps 10 times faster than when set to 'full') but the visual look is not so great as all the aperture polygons can be seen
2019-09-09 02:41:14 +03:00
Marius Stanciu
c78404b737
- removed some @pyqtSlot() decorators as they interfere with the current way the program works
2019-09-08 15:38:28 +03:00
Marius Stanciu
60c5026b5d
- added some documentation strings for methods in FlatCAMApp.App class
2019-09-08 15:29:26 +03:00
Marius Stanciu
28a86aa661
- updated German language translation files
...
- separated the Plotting thread from the transformations threads
2019-09-07 23:16:20 +03:00
Marius Stanciu
bdbe0f59f0
- modified the on_about() message
2019-09-07 20:10:09 +03:00
Marius Stanciu
65ac58ae83
- made Set Origin feature, threaded
2019-09-07 19:23:11 +03:00
Marius Stanciu
f164dae7a9
- added to GUI new options for the Gerber object related to area subtraction
...
- added new feature in the Gerber object isolation allowing for the isolation to avoid an area defined by another object (Gerber or Geometry)
2019-09-07 15:13:40 +03:00
Marius Stanciu
2c2bdf5002
- remade the handlers for the Enable/Disable Project Tree context menu so they are threaded and activity is shown in the lower right corner of the main window
2019-09-07 10:55:45 +03:00
Marius Stanciu
5d854a6f1b
- added a method to gracefully exit from threaded tasks and implemented it for the NCC Tool and for the Paint Tool
...
- modified the on_about() function to reflect the reality in 2019 - FlatCAM it is an Open Source contributed software
2019-09-07 09:16:32 +03:00
Marius Stanciu
9da1defe3e
Merged jpcgt/flatcam/Beta into Beta
2019-09-07 00:23:27 +03:00
Marius Stanciu
c1ce72e9fb
- some fixes and prepared the activity monitor area to receive updated texts
2019-09-06 15:20:19 +03:00
Marius Stanciu
a138c539e4
- remade visibility threaded
...
- reimplemented the thread listening for new FlatCAM process starting with args so it is no longer subclassed but using the moveToThread function
2019-09-06 00:16:33 +03:00
Marius Stanciu
76138986bf
- fixed issue with loading files at start-up
...
- fixed issue with generating bounding box geometry for CNCJob objects
- added some more infobar messages and log.debug
- increased the priority for the worker tasks
2019-09-05 17:38:45 +03:00
Marius Stanciu
a2a3f1c1ed
- added support for G91 coordinates
...
- working in plotting the CNCjob generated with G91 coordinates
2019-09-04 17:41:17 +03:00
Mike Smith
84aba5da34
Fix kwarg names in calls to on_file_saveprojectas: thread -> use_thread, quit -> quit_action
2019-09-03 23:38:03 -04:00
Marius Stanciu
241cac8556
- finished the work on file extensions registration with FlatCAM. If the file extensions are deleted in the Preferences -> File Associations then those extensions are unregistered with FlatCAM
...
- fixed bug in NCC Tools and in SolderPaste Tool if in Edit -> Preferences only one tool is entered
2019-09-03 22:46:18 +03:00
Marius Stanciu
7ff8d893c0
- in NCC tool there is now a depth of cut parameter named 'Cut Z' which will dictate how deep the tool will enter into the PCB material
...
- in NCC tool added possibility to choose between the type of tools to be used and when V-shape is used then the tool diameter is calculated from the desired depth of cut and from the V-tip parameters
2019-09-03 01:13:03 +03:00
Marius Stanciu
60512f09a7
- in Properties Tool made threaded the calculation of convex_hull area and to work for multi-geo objects
...
- in NCC tool the type of tool that is used is transferred to the Geometry object
- in NCC tool the type of isolation done with the tools selected as isolation tools can now be selected and it has also an Edit -> Preferences entry
2019-09-02 21:39:46 +03:00
Marius Stanciu
c3505b434a
Merged jpcgt/flatcam/Beta into Beta
2019-09-02 18:56:41 +03:00
Marius Stanciu
1295a94af1
- fixed open handlers
...
- fixed issue in NCC Tool where the tool table context menu could be installed multiple times
- added new ability to create simple isolation's in the NCC Tool
2019-09-02 00:14:28 +03:00
camellan
c6b216a1a9
Fixed display of the tab Selected. Fix pot.
2019-08-27 20:23:38 +04:00
Marius Stanciu
bb9c35a527
- made FlatCAM so that whenever an associated file is double clicked, if there is an opened instance of FlatCAM, the file will be opened in the first instance without launching a new instance of FlatCAM. If FlatCAM is launched again it will spawn a new process (hopefully it will work when freezed).
2019-08-27 03:59:36 +03:00
Marius Stanciu
9a8fa1ac4c
- added support for file associations with FlatCAM, for Windows
2019-08-26 05:35:18 +03:00
Marius Stanciu
354946025c
- finished adding the TclCommandCopperClear that can be called with alias: 'ncc'
2019-08-25 16:05:03 +03:00
Marius Stanciu
8c0b8ed13d
- initial add of a new Tcl COmmand named CopperClear
...
- remade the NCC Tool in preparation for the newly added TclCommand CopperClear
2019-08-25 04:45:16 +03:00
Marius Stanciu
d606c836f4
- added a new TclCommand named Bbox who generate a bounding box.
2019-08-24 21:25:25 +03:00
Marius Stanciu
0e96be7d9a
- made PlotCanvas class inherit from VisPy Canvas instead of creating an instance of it (work of JP)
2019-08-24 04:45:25 +03:00
Marius Stanciu
3fe31dec59
- modified CutOut Tool so now the manual gaps adding will continue until the user is clicking the RMB
...
- added ability to turn on/of the grid snapping and to jump to a location while in CutOut Tool manual gap adding action
2019-08-24 04:30:27 +03:00
Marius Stanciu
1ce0ff9d4a
- changed the release date
2019-08-23 02:39:47 +03:00
Marius Stanciu
c2991b969b
- moved the canvas setup into it's own function and called it in the init() function
2019-08-22 17:23:39 +03:00
Marius Stanciu
bd8f607b32
- added possibility to turn application portable from the Edit -> Preferences -> General -> App. Preferences -> Portable checkbox
2019-08-22 02:53:18 +03:00
Marius Stanciu
62e48eb545
- added ability to turn ON/OFF the detachable capability of the tabs in Plot Tab Area through a context menu activated by right mouse button click on the Plot Tab Area header
2019-08-22 01:38:20 +03:00
Marius Stanciu
a365225416
- added ability to turn ON/OFF the detachable capability of the tabs in Notebook through a context menu activated by right mouse button click on the Notebook header
2019-08-22 01:20:33 +03:00
Marius Stanciu
fb62b58cd5
- small changes
2019-08-21 21:04:06 +03:00
Marius Stanciu
50210820e2
- added feature in Paint Tool allowing the painting to be done on Gerber objects
...
- added feature in Paint Tool to set how (and if) the tools are sorted
- added Edit -> Preferences GUI entries for the above just added features
2019-08-21 02:13:10 +03:00
Marius Stanciu
07c31bba22
- fixed bug in Tool Sub that created issues when toggling visibility of the plots
2019-08-19 23:34:37 +03:00
Marius Stanciu
5cc16a03db
- updated the Edit -> Preferences to include also the Gerber Editor complete Preferences
...
- started to update the app strings to make it easier for future translations
2019-08-19 17:24:56 +03:00
Marius Stanciu
c2563b4857
- added ability to lock toolbars within the context menu that is popped up on any toolbars right mouse click. The value is saved in QSettings and it is persistent between application startup's.
2019-08-18 19:35:21 +03:00
Marius Stanciu
8b12dbd52d
- updated the translation files for the modified strings (and for the newly added strings)
2019-08-18 15:40:59 +03:00
Marius Stanciu
36586aecce
- finished adding in Paint Tool the usage of an external object to set the extent of th area painted. For simple shapes (single Polygon) the shape can be anything, for the rest will be a convex hull of the reference object
...
- modified NCC tool so for simple objects (single Polygon) the external object used as reference can have any shape, for the other types of objects the copper cleared area will be the convex hull of the reference object
- modified the strings of the app wherever they contained the char seq <b> </b> so it is not included in the translated string
2019-08-18 14:17:46 +03:00
Marius Stanciu
1fca6ef1bf
- added possibility to drag & drop FlatCAM config files (*.FlatConfig) into the canvas to be opened into the application
2019-08-18 03:11:19 +03:00
Marius Stanciu
531beb1d97
- in NCC Tool added a new parameter (radio button) that offer the choice on the order of the tools both in tools table and in execution of engraving; added as a parameter also in Edit -> Preferences -> Tools -> NCC Tool
2019-08-18 03:03:18 +03:00
Marius Stanciu
ae5de6c149
- added messages in the application window title which show the progress in loading a project (which is not thread-safe therefore keeping the app from fully initialize until finished)
2019-08-18 02:04:36 +03:00
Marius Stanciu
2720bc34b7
- projects at startup don't work in another thread so there is no multithreading if I want to double click an project and to load it
2019-08-18 00:08:41 +03:00
Marius Stanciu
b297e15eee
- made the exported preferences formatted therefore more easily read
2019-08-17 23:26:34 +03:00
Marius Stanciu
b20203eace
- moved the initialization of the FlatCAM editors after a read of the default values. If I don't do this then only at the first start of the application the Editors are not functional as the Editor objects are most likely destroyed
...
- fixed bug in FlatCAM editors that caused the shapes to be drawn without resolution when the app units where INCH
- modified the transformation functions in all classes in camlib.py and FlatCAMObj.py to work with empty geometries
2019-08-17 18:47:41 +03:00
Marius Stanciu
b0db73497c
- updated translations and changed version
...
- fixed installer issue for the x64 version due of the used CX_FREEZE python package which was in unofficial version (obviously not ready to be used)
- RELEASE 8.95
2019-08-17 15:21:12 +03:00
Marius Stanciu
9205dd61f8
- fixed error when creating CNCJob due of having the annotations disabled from preferences but the plot2() function from camlib.CNCJob class still performed operations who yielded TypeError exceptions
2019-08-17 15:11:50 +03:00
Marius Stanciu
923ce6aa7f
- updated the translations for the new strings
...
- RELEASE 8.94
2019-08-17 01:32:54 +03:00
Marius Stanciu
9e7d81d61b
- added new menu category in File -> Backup with two menu entries that duplicate the functions of the export/import preferences buttons from the bottom of the Preferences window
2019-08-16 18:52:06 +03:00
Marius Stanciu
5c4c59d1a2
- remade the enable/disable plots functions to work only where it needs to (no sense in disabling a plot already disabled)
2019-08-16 16:37:54 +03:00
Marius Stanciu
bbc00c8f35
- fixed a weird error that created a crash in the following scenario: create a new excellon, edit it, add some drills/slots, delete it without saving, create a new excellon, try to edit and a crash is issued due of a wrapped C++ error
...
- fixed bug selection in Excellon editor with a selection window in case that the number of selected items is even
- updated the default values to more convenient ones
2019-08-16 16:03:26 +03:00
Marius Stanciu
c886e3300c
- added the Slot Type parameter for exporting Excellon in Edit -> Preferences -> Excellon -> Export Excellon. Now the Excellon object can be exported also with drilled slot command G85
...
- fixed bug in Excellon export when there are no zero suppression (coordinates with decimals)
2019-08-16 00:44:04 +03:00
Marius Stanciu
7eb0b83776
- final fix for the VisPy data files; the defaults files are saved to the Config folder when the app is set to be portable
2019-08-15 22:39:51 +03:00
Marius Stanciu
ca8a12610e
- fixed the GUI for Slot Arrays in Excellon Editor
...
- finished the Slot Array tool in Excellon Editor
- added the key shortcut handlers for Add Slot and Add Slot Array tools in Excellon Editor
- started to work on the Resize tool for the case of Excellon slots in Excellon Editor
2019-08-15 17:55:32 +03:00
Marius Stanciu
0cdf96ad38
- added a failsafe path to the source folder from which to copy the VisPy data
2019-08-15 15:54:39 +03:00
Marius Stanciu
b9123e5a72
- working on the Slots Array in Excellon Editor - building the GUI
2019-08-15 04:41:50 +03:00
Marius Stanciu
beef671613
- created a configuration file in the root/config/configuration.txt with a configuration line for portability. Set portable to True to run the app as portable
2019-08-15 02:47:09 +03:00
Marius Stanciu
5c75998dbb
- stored inside FlatCAM app the VisPy data files and at the first start the application will try to copy those files to the APPDATA (roaming) folder in case of running under Windows
...
- created an app 'switch' named 'self.portable' which when set True it will 'cx-freeze' an portable application
2019-08-15 02:18:13 +03:00
Marius Stanciu
392a58bf47
Merged jpcgt/flatcam/Beta into Beta
2019-08-15 01:09:56 +03:00
Marius Stanciu
ab12853393
- added Edit -> Preferences GUI and storage for the Excellon Editor Add Slots
...
- added a confirmation message for objects delete and a setting to activate it in Edit -> Preferences -> Global
2019-08-15 00:59:15 +03:00
Mike Smith
fb49780050
fix crash when opening non-projects as project files
2019-08-14 17:29:11 -04:00
Marius Stanciu
eb4f504911
- fixed a bug in FCDoubleSpinner GUI element
...
- added a new parameter in NCC tool named offset. If the offset is used then the copper clearing will finish to a set distance of the copper features
2019-08-13 11:32:58 +03:00
Marius Stanciu
0686e77f99
- added new settings in Edit -> Preferences -> General for Notebook Font size (set font size for the items in Project Tree and for text in Selected Tab) and for canvas Axis font size. The values are stored in QSettings.
...
- updated translations
2019-08-13 04:23:32 +03:00
Marius Stanciu
d5f74ae8b4
- some PEP8 changes in FlatCAMApp.py
2019-08-13 02:12:23 +03:00
Marius Stanciu
ee3b38327e
- added new option in ToolSub: the ability to close (or not) the resulting paths when using tool on Geometry objects. Added also a new category in the Edit -> Preferences -> Tools, the Substractor Tool Options
2019-08-13 00:42:58 +03:00
Marius Stanciu
9ef7b2668c
- made sure that the annotations are deleted when the object that contain them is deleted
2019-08-11 02:55:08 +03:00
Marius Stanciu
cf8a277825
- trying to fix reported bugs
2019-08-11 02:18:32 +03:00
Marius Stanciu
377a811810
- small changes regarding the Project Title
2019-08-10 21:32:22 +03:00
Marius Stanciu
b123d4e202
- translation files updated for the new strings (Google Translate)
2019-08-10 18:50:21 +03:00
Marius Stanciu
eea66c0311
- added new feature in NCC Tool: now another object can be used as reference for the area extent to be cleared of copper
2019-08-10 14:59:29 +03:00
Marius Stanciu
89717642ed
- fixed bug that created a choppy geometry for CNCJob when working in INCH
...
- fixed bug that did not asked the user to save the preferences after importing a new set of preferences, after the user is trying to close the Preferences tab window
2019-08-10 11:46:23 +03:00
Marius Stanciu
40dc73ce93
- finished added 'Area' type of Paint in Paint Tool
2019-08-10 01:15:31 +03:00
Marius Stanciu
6f526acb4d
- added Exception handing for the case when the user is trying to save & overwrite a file already opened in another file
2019-08-09 22:39:13 +03:00
Marius Stanciu
59b4defa0b
- fixed bug that crashed the app after creating a new geometry, if a new object is loaded and the new geometry is deleted and then trying to select the just loaded new object
...
- made some GUI elements in Edit -> Preferences to have a minimum width as opposed to the previous fixed one
2019-08-06 02:31:09 +03:00
Camellan
0ca9f3fed5
Merged in camellan/flatcam/Beta (pull request #173 )
...
Edit Russian translation
2019-08-03 20:13:29 +00:00
Marius Stanciu
c6d917dec4
- added project name to the window title
2019-08-03 03:35:21 +03:00
camellan
c62595cdce
Update pot. Edit Russian.
2019-08-01 20:35:41 +04:00
Marius Stanciu
8cadcb3837
- fixed another bug that when selecting an Excellon object after disabling it it crashed the app
...
- RELEASE 8.92
2019-08-01 00:37:11 +03:00
Marius Stanciu
45d89a716e
- fixed bug recently introduced that when changing the units in the Edit -> Preferences it did not converted the values
...
- RELEASE 8.92
2019-08-01 00:06:42 +03:00
Marius Stanciu
33344b6626
- added a detection if any values are changed in the Edit -> Preferences window and on close it will ask the user if he wants to save the changes or not
...
- created a new menu entry in the File menu named Recent projects that will hold the recent projects and the previous "Recent files" will hold only the previous loaded files
2019-07-31 22:45:03 +03:00
Marius Stanciu
0195084a51
- added categories names for the recent files
2019-07-31 19:18:55 +03:00
Marius Stanciu
6242d1809b
- changed the order of the menu entries in the FIle -> Open ...
...
- organized the list of recent files so the Project entries are to the top and separated from the other types of file
2019-07-31 17:17:08 +03:00
Marius Stanciu
0d1e960c1c
- version date change to reflect the build release date
2019-07-30 22:34:58 +03:00
Marius Stanciu
1e7421ebe9
- changed the Disable plots menu entry in the context menu, into a Toggle Visibility menu entry
...
- Spanish Google translation 100% but two strings (big ones)
2019-07-30 20:05:16 +03:00
Marius Stanciu
8e80ec156c
- fixed Panelize Tool to do panelization for multiple passes type of geometry that comes out of the isolation done with multiple passes
2019-07-29 02:36:29 +03:00
Marius Stanciu
c6e3176ac3
- in Basic mode, the tool type column is no longer hidden as it may create issues when using an painted geometry
...
- some PEP8 clean-up in FlatCAMGui.py
2019-07-29 00:35:59 +03:00
Marius Stanciu
338f12707d
- fixed issue with not using the current units in the tool tables after unit conversion
...
- after unit conversion from Preferences, the default values are automatically saved by the app
2019-07-28 23:11:35 +03:00
Marius Stanciu
dce0d971cd
- updated the CutOut tool so it will work on single PCB Gerbers or on PCB panel Gerbers
2019-07-20 19:36:37 +03:00
Marius Stanciu
2797a58165
- fixed bug in FlatCAMObj.FlatCAMGeometry.ui_disconnect(); the widgets signals were not disconnected from handlers when required therefore the signals were connected in an exponential way
...
- some changes in the widgets used in the Selected tab for Geometry object
- some PEP8 cleanup in FlatCAMObj.py
2019-07-19 21:46:11 +03:00
Marius Stanciu
86287ea10f
- version date change
2019-07-17 14:58:43 +03:00
Marius Stanciu
ac2bf56e14
- added some more strings to the translateable ones, especially the radio button labels
...
- updated the .POT file and the available translations
- 51% progress in Spanish Google translation
2019-07-17 14:11:10 +03:00
Marius Stanciu
729b7cb11c
- some changes in the app.on_togle_units() to make sure we don't try to convert empty parameters which may cause crashes on FlatCAM units change
...
- updated setup_ubuntu.sh file
- made sure to import certain libraries in some of the FlatCAM files and not to rely on chained imports
2019-07-09 13:58:33 +03:00
Marius Stanciu
769f92147a
- fixed bug that allowed empty tool in the tools generated in Geometry object
...
- fixed bug in Tool Cutout that did not allow the transfer of used cutout tool diameter to the cutout geometry object
2019-07-08 20:06:41 +03:00
Marius Stanciu
1adebfebc2
Merged jpcgt/flatcam/Beta into Beta
2019-07-02 13:22:47 +03:00
Marius Stanciu
649d0c6342
- added new translation: Spanish. Finished 10%
2019-06-27 01:03:31 +03:00
camellan
ef2a36cac4
Up version. Update ru translate.
2019-06-23 21:05:38 +04:00
Marius Stanciu
429753d211
- fixes issues with units conversion when the tool diameters are a list of comma separated values (NCC Tool, SolderPaste Tool and Geometry Object)
...
- fixed a "typo" kind of bug in SolderPaste Tool
- RELEASE 8.919
2019-06-23 00:04:49 +03:00
Marius Stanciu
21a15e73bd
- fixed bug in Gerber isolation (Geometry expects now a value in string format and not float)
...
- fixed bug in Paint tool: now it is possible to paint geometry generated by External Isolation (or Internal isolation)
- fixed bug in editing a multigeo Geometry object if previously a tool was deleted
2019-06-22 20:17:45 +03:00
Marius Stanciu
90f491491d
- moved Substract Tool from Menu -> Edit -> Conversions to Menu -> Tool
2019-06-22 18:22:04 +03:00
Marius Stanciu
68bdfaf062
- some GUI layout optimizations in Edit -> Preferences
...
- added the possibility for multiple tool diameters in the Edit -> Preferences -> Geometry -> Geometry General -> Tool dia separated by comma
- fixed scaling for the multiple tool diameters in Edit -> Preferences -> Geometry -> Geometry General -> Tool dia, for NCC tools more than 2 and for Solderpaste nozzles more than 2
- fixed bug in CNCJob where the CNC Tools table will show always only 2 decimals for Tool diameters regardless of the current measuring units
- made the tools diameters decimals in case of INCH FlatCAM units to be 4 instead of 3
- fixed bug in updating Grid values whenever toggling the FlatCAM units and the X, Y Grid values are linked, bugs which caused the Y value to be scaled incorrectly
- set the decimals for Grid values to be set to 6 if the units of FlatCAM is INCH and to set to 4 if FlatCAM units are METRIC
- updated translations
- updated the Russian translate from 51% complete to 69% complete using the Yandex translation engine
2019-06-22 17:58:31 +03:00
Marius Stanciu
32f1c4f8fe
- fixed Editor Transform Tool in Gerber Editor
...
- added a message in the status bar when copying coordinates to clipboard with SHIFT + LMB click combo
- languages update
2019-06-20 19:40:06 +03:00
Marius Stanciu
ffa92524f0
- fixed bug where for Geometry objects after a successful object rename done in the Object collection view (Project tab), deselect the object and reselect it and then in the Selected tab the name is not the new one but the old one
...
- for Geometry objects, adding a new tool to the Tools table after a successful rename will now store the new name in the tool data
2019-06-17 17:01:27 +03:00
Marius Stanciu
0244c76605
- restored the FlatCAMObj.visible() to a non-threaded default
2019-06-16 02:34:41 +03:00
camellan
66539798e6
Update Russian translation
2019-06-15 20:03:20 +04:00
Marius Stanciu
1b0cf14ef7
- fixed bug in Gerber parser that made the Gerber files generated by Altium Designer 18 not to be loaded
2019-06-15 17:20:38 +03:00
Marius Stanciu
a106472900
- fixed the Edit -> Conversion -> Join ... functions (merge() functions)
...
- updated translations
- Russian translate by @camellan is not finished yet
- some PEP8 cleanup in camlib.py
- RELEASE 8.918
2019-06-11 23:04:31 +03:00
Marius Stanciu
f4f7b65080
- some PEP8 cleanup
2019-06-09 17:39:42 +03:00
Marius Stanciu
3bd2957739
- updated translations
...
- fixed the the labels for shortcut keys for zoom in and zoom out both in the Menu links and in the Shortcut list
- made sure the zoom functions use the global_zoom_ratio parameter from App.self.defaults dictionary.
2019-06-09 17:27:11 +03:00
Marius Stanciu
5c5f2c1606
Merged in marius_stanciu/flatcam_beta/Beta_8.918 (pull request #150 )
...
Beta 8.918
2019-06-08 21:30:13 +00:00
Marius Stanciu
359cb577f4
- updated date
2019-06-09 00:28:33 +03:00
camellan
facd8301ed
solve the conflicts
2019-06-08 23:30:57 +04:00
camellan
70e939ca36
Merge remote-tracking branch 'remotes/jpcgt/flatcam/Beta' into Beta
2019-06-08 23:16:41 +04:00
Marius Stanciu
5f972ab85e
- make sure that the annotation shapes are deleted on creation of a new project
...
- added folder for the Russian translation
- made sure that visibility for TextGroup is set only if index is not None in VisPyVisuals.TextGroup.visible() setter
- RELEASE 8.918
2019-06-08 21:36:34 +03:00
Marius Stanciu
b824cf6471
FlatCAMApp.py edited online with Bitbucket
2019-06-07 21:24:59 +00:00
Marius Stanciu
24f9de8c16
- RELEASE 8.918
2019-06-08 00:10:46 +03:00
camellan
9e88950e65
Add translation strings. Update Russian translation.
2019-06-04 23:39:36 +04:00
Marius Stanciu
150bb9e999
- PEP8 cleanup in FlatCAMGui
...
- finished adding the Excellon Editor parameters into the app logic and added a selection limit within Excellon Editor just like in the other editors
2019-06-04 22:19:45 +03:00
Marius Stanciu
f06fec12ea
- added a new parameter in Edit -> Preferences -> CNCJob named Annotation Color; it controls the color of the font used for annotations
...
- added a new parameter in Edit -> Preferences -> CNCJob named Annotation Size; it controls the size of the font used for annotations
- made visibility change threaded in FlatCAMObj()
2019-06-03 22:59:45 +03:00
Marius Stanciu
2a30101bb0
- TclCommand Geocutout is now creating a new geometry object when working on a geometry, preserving also the origin object
2019-06-03 04:47:29 +03:00
Marius Stanciu
c409df0a8e
- fixed issue with geometry name not being updated immediately after change while doing geocutout TclCommand
...
- some changes to enable/disable project context menu entry handlers
2019-06-02 14:04:14 +03:00
Marius Stanciu
dca57edf24
- fixed text annotation for CNC job so there are no overlapping numbers when 2 lines meet on the same point
...
- fixed issue in CNC job plotting where some of the isolation polygons are painted incorrectly
- fixed issue in CNCJob where the set circle steps is not used
2019-06-01 03:17:28 +03:00
Marius Stanciu
9abb9c5df2
- added the possibility to display text annotation for the CNC travel lines. The setting is both in Preferences and in the CNC object properties
2019-05-31 12:43:30 +03:00
Marius Stanciu
b35ac779bd
- solved issue where after the opening of an object the file path is not saved for further open operations
2019-05-30 21:21:44 +03:00
Marius Stanciu
8ee516ec14
- editing a multi geometry will no longer pop-up a Tcl window
...
- solved issue #292 where a new geometry renamed with many underscores failed to store the name in a saved project
- the name for the saved projects are updated to the current time and not to the time of the app startup
- some PEP8 changes related to comments starting with only one '#' symbol
2019-05-30 21:05:12 +03:00
camellan
ef1ecd3a31
Update Russian translate.Fix translation string.
2019-05-27 13:57:28 +04:00
Marius Stanciu
ad7222a768
- added a toggle left panel button to the canvas context menu
2019-05-24 19:50:59 +03:00
Marius Stanciu
bc3da37e81
- added a toggle Grid button to the canvas context menu in the Grids submenu
2019-05-24 18:53:33 +03:00
Marius Stanciu
e28e109e90
- more PEP8 cleanup in FlatCAMApp.py
2019-05-23 00:08:29 +03:00
Marius Stanciu
4c49348aef
- some PEP8 cleanup in FlatCAMApp.py
2019-05-22 23:40:26 +03:00
Marius Stanciu
f400294027
- PEP8 cleanup of the Geo Editor
2019-05-22 15:37:07 +03:00
Marius Stanciu
4f2e5643d9
- added the file extension .ncd to the Excellon file extension list
...
- solved parsing issue for Excellon files generated by older Eagle versions (v6.x)
2019-05-21 16:13:36 +03:00
Marius Stanciu
94e7820dde
- PEP8 corrections in FlatCAMGrbEditor.py
...
- added a selection limit parameter for Geometry Editor
- added entries in Edit -> Preferences for the new parameter Selection limit for both the Gerber and Geometry Editors.
2019-05-20 01:18:08 +03:00
Marius Stanciu
a545658d44
- fixed the Circle Steps parameter for both Gerber and Geometry objects not being applied and instead the app internal defaults were used.
...
- fixed the Tcl command Geocutout issue that gave an error when using the 4 or 8 value for gaps parameter
2019-05-19 17:15:24 +03:00
Marius Stanciu
f779c74d0e
- fixed App.convert_any2gerber to work with the new Gerber apertures data structure
...
- fixed Tool Sub to work with the new Gerber apertures data structure
2019-05-18 18:22:02 +03:00
Marius Stanciu
8ccd73b919
- added a new toggle option in Edit -> Preferences -> General Tab -> App Preferences -> "Open" Behavior. It controls which path is used when opening a new file. If checked the last saved path is used when saving files and the last opened path is used when opening files. If unchecked then the path for the last action (either open or save) is used.
2019-05-18 17:17:37 +03:00
Marius Stanciu
630d9c733d
- remade the Properties Tool such that it works with the new Gerber data structure in the obj.apertures. Also changed the view for the Gerber object in Properties
...
- fixed issue with false warning that the Gerber object has no geometry after an empty Gerber was edited and added geometry elements
2019-05-18 00:17:37 +03:00
Marius Stanciu
d172a3ca49
- Gerber Export: made sure that if some of the coordinates in a Gerber object geometry are repeating then the resulting Gerber code include only one copy
...
- added a new parameter/feature: now the spindle can work in clockwise mode (CW) or counter clockwise mode (CCW)
2019-05-16 03:13:22 +03:00
Marius Stanciu
b566f4e601
- changed date
2019-05-11 03:56:36 +03:00
Marius Stanciu
500c54711d
- made sure that only units toggle done in Edit -> Preferences will toggle the data in Preferences. THe menu entry Edit -> Toggle Units and the shortcut key 'Q' will change only the display units in the app
2019-05-11 02:48:44 +03:00
Marius Stanciu
6fb33ebc5e
- Gerber Export - finished
...
- added zoom fit for Set Origin command
- added move action for solid_geometry stored in the gerber_obj.apertures
2019-05-08 06:02:38 +03:00
Marius Stanciu
bdd13a3800
- work in Gerber Export: finished the body export but have some errors with clear geometry (LPC)
2019-05-07 21:13:20 +03:00
Marius Stanciu
cb355d6070
- work in Gerber Export: finished the header export
2019-05-07 15:14:32 +03:00
Marius Stanciu
dd60c7be30
- modified the default values for toolchangez and endz parameters so they are now safe in all cases
2019-05-07 02:24:58 +03:00
Marius Stanciu
0106d95e84
- added a new parameter in the Edit -> Preferences -> App Preferences named Geo Tolerance. This parameter control the level of geometric detail throughout FlatCAM. It directly influence the effect of Circle Steps parameter.
2019-05-06 22:33:45 +03:00
Marius Stanciu
d35ae3a39a
- made units change from Edit -> Toggle Units not to affect the preferences
...
- remade the way the aperture marks are plotted in Gerber Object
2019-05-06 16:40:31 +03:00
Marius Stanciu
7c334d7606
- made units change from shortcut key 'Q' not to affect the preferences
2019-05-06 03:58:11 +03:00
Marius Stanciu
b07ce477a3
- small bug fixes
2019-05-05 17:40:03 +03:00
Marius Stanciu
4c00f567a4
- renamed the menu entry Edit -> Copy as Geo to Convert Any to Geo and moved it in the Edit -> Conversion
...
- created a new function named Convert Any to Gerber and installed it in Edit -> Conversion. It's doing what the name say: it will convert an Geometry or Excellon FlatCAM object to a Gerber object.
2019-05-05 00:56:04 +03:00
Marius Stanciu
d7031bc89a
- fixed bug in camlib.parse_lines() in the clear_geometry processing section for self.apertures
2019-05-04 22:39:51 +03:00
Marius Stanciu
53620007db
- changed date
2019-05-01 21:25:24 +03:00
Marius Stanciu
7294c88ef9
- made sure that the Tools Tab is cleared on Editors exit
2019-05-01 21:22:28 +03:00
Marius Stanciu
52ab274b1c
- fixed bugs in Excellon Editor
...
- Excellon Editor: made Add Pad tool to work until right click
2019-05-01 17:26:38 +03:00
Marius Stanciu
747a0817f3
- made some mods to what can be translated as some of the translations interfered with the correct functioning of FlatCAM
...
- updated the translations
2019-05-01 16:04:40 +03:00
Marius Stanciu
6f3cbf1077
- fixed a crash when triggering 'Jump To' menu action (shortcut key 'J' worked ok)
2019-05-01 12:55:16 +03:00
Marius Stanciu
f172d5b765
- Enable/Disable Object toggle key ("Space" key) will trigger also the datChanged signal for the Project MVC
...
- added a new setting for the color of the Porject items, the color when they are disabled.
2019-05-01 12:29:47 +03:00
Marius Stanciu
8062af7feb
- the project items color is now controlled from Foreground Role in ObjectCollection.data()
...
- made again plot functions threaded but moved the dataChanged signal (update_view() ) to the main thread by using an already existing signal (plots_updated signal) to avoid the errors with register QVector
2019-05-01 03:33:15 +03:00
Marius Stanciu
eda4202952
- added new setting for the color of the Project Tree items; it helps in providing contrast when using dark theme like the one in MacOS
2019-04-30 23:34:35 +03:00
Marius Stanciu
bc981ab92c
- started to modify the Substract Tool to work on Geometry objects too
2019-04-30 15:52:12 +03:00
Marius Stanciu
eb00176519
- renamed SilkScreen Tool to Substract Tool and move it's menu location in Edit -> Conversion
2019-04-30 13:16:32 +03:00
Marius Stanciu
faf92ff3d9
- fixed some bugs recently introduced in Editors due of the changes done to the way mouse panning is detected
...
- cleaned up the context menu's when in Editors; made some structural changes
2019-04-26 23:16:52 +03:00
Marius Stanciu
8fcd75a8e4
- commented the camlib.alpha_shape() as it is not needed but require a huge package (scipy)
2019-04-26 18:02:07 +03:00
Marius Stanciu
8eb390e706
- small changes in GUI
2019-04-26 02:31:21 +03:00
Marius Stanciu
ac3833f746
- added a toggle button in Preferences to toggle on/off the display of the selection box on canvas when the user is clicking an object or selecting it by mouse dragging.
2019-04-25 20:59:45 +03:00
Marius Stanciu
4c275b25af
- fixed Edit -> Copy as Geom function handler to work for Excellon objects, too
...
- made sure that the mouse pointer is restored to default on Editor exit
2019-04-25 20:42:56 +03:00
Marius Stanciu
386e811c65
- New tool: Silkscreen Tool: I am trying to remove the overlapped geo with the soldermask layer from overlay layer; layed out the class and functions - not working yet
2019-04-25 01:13:37 +03:00
Marius Stanciu
b11c67d453
- PDF import tool: solved a bug in parsing the rectangle subpath (an extra point was added to the subpath creating nonexisting geometry)
...
- PDF import tool: finished layer rendering multithreading
2019-04-24 22:26:13 +03:00
Marius Stanciu
e4faa27351
- PDF import tool: working in making the PDF layer rendering multithreaded in itself (one layer rendered on each worker)
2019-04-24 14:11:15 +03:00
Marius Stanciu
49120c088e
- Gerber Editor: made Add Pad repeat until user exits the Add Pad through either mouse right click, or ESC key or deselecting the Add Pad menu item
...
- Gerber and Geometry Editors: fixed some issues with the Add Arc/Add Semidisc; in mode 132, the norm() function was not the one from numpy but from a FlatCAM Class. Also fixed some of the texts and made sure that when changing the mode, the current points are reset to prepare for the newly selected mode.
2019-04-23 13:13:10 +03:00
Marius Stanciu
82a0287f4d
- PDF Import tool: added support for detection of circular geometry drawn with white color which means actually invisible color. When detected, FlatCAM will build an Excellon file out of those geoms.
...
- PDF Import tool: fixed storing geometries in apertures with the right size (before they were all stored in aperture D10)
2019-04-23 02:02:20 +03:00
Marius Stanciu
8f1a0c1fdc
- added PDF file as type in the Recent File list and capability to load it from there
...
- PDF's can be drag & dropped on the GUI to be loaded
2019-04-22 19:18:23 +03:00
Marius Stanciu
53444fc685
- fixed the PDF import tool to work with files generated by the Microsoft PDF printer (chained subpaths)
...
- in PDF import tool added support for paths filled and at the same time stroked ('B' and 'B*'commands)
- added a shortcut key for PDF Import Tool (ALT+Q) and updated the Shortcut list (also with the 'T' and 'R' keys for Gerber Editor where they control the bend in Track and Region tool and the 'M' and 'D' keys for Add Arc tool in Geometry Editor)
2019-04-22 03:28:05 +03:00
Marius Stanciu
108f11eacf
- finished adding the PDF import tool although it does not support all kinds of outputs from PDF printers. Microsoft PDF printer is not supported.
2019-04-21 04:43:49 +03:00
Marius Stanciu
52fceae054
- started to work on PDF import tool
2019-04-19 17:12:10 +03:00
Marius Stanciu
a27d19c64e
- fixed version check
2019-04-17 02:49:12 +03:00
Marius Stanciu
2ba0b494ff
- Gerber Editor: finished a new tool: Poligonize Tool (ALT+N in Editor). It will fuse a selection of tracks into a polygon. It will fill a selection of polygons if they are apart and it will make a single polygon if the selection is overlapped. All the newly created filled polygons will be stored in aperture '0' (if it does not exist it will be automatically created)
...
- fixed a bug in Move command in context menu who crashed the app when triggered
- Gerber Editor: when adding a new aperture it will be store as the last selected and it will be used for any tools that are triggered until a new aperture is selected.
2019-04-15 22:48:22 +03:00
Marius Stanciu
d7cb8a5825
- Gerber Editor: reduced the delay to show UI when editing an empty Gerber object
...
- update the order of event handlers connection in Editors to first connect new handlers then disconnect old handlers. It seems that if nothing is connected some VispY functions like canvas panning no longer works if there is at least once nothing connected to the 'mouse_move' event
- Excellon Editor: update so always there is a tool selected even after the Execllon object was just edited; before it always required a click inside of the tool table, not you do it only if needed.
- fixed the menu File -> Edit -> Edit/Close Editor entry to reflect the status of the app (Editor active or not)
2019-04-15 16:19:30 +03:00
Marius Stanciu
db26895b5b
- working on a new tool to process automatically PcbWizard Excellon files which are generated in 2 files
2019-04-15 03:29:43 +03:00
Marius Stanciu
fc1dfb8550
- cleaned up Measuring Tool
2019-04-14 16:59:20 +03:00
Marius Stanciu
84f3166e2f
- Gerber Editor: Remade the processing of 'clear_geometry' (geometry generated by polygons made with Gerber LPC command) to work if more than one such polygon exists
2019-04-13 22:56:46 +03:00
Marius Stanciu
a1f7c86996
- made optional the saving of an edited object. Now the user can cancel the changes to the object.
...
- replaced the standard buttons in the QMessageBox's used in the app with custom ones that can have text translated
- updated the POT translation file and the MO/PO files for English and Romanian language
2019-04-12 22:55:20 +03:00
Marius Stanciu
f1b034e50c
- fixed a bug in editing a blank Gerber object
...
- added handlers for the Gerber Editor context menu
2019-04-12 12:58:10 +03:00
Marius Stanciu
036e886af4
- in all Editors, manually deactivating a button in the editor toolbar will automatically select the 'Select' button
...
- fixed Excellon Editor selection: when a tool is selected in Tools Table, all the drills belonging to that tool are selected. When a drill is selected on canvas, the associated tool will be selected without automatically selecting all other drills with same tool
2019-04-11 20:32:40 +03:00
Marius Stanciu
7c0cfac8de
- created menu links and shortcut keys for adding a new empty Gerber objects; on update of the edited Gerber, if the source object was an empty one (new blank one) this source obj will be deleted
...
- removed the old apertures editing from Gerber Obj selected tab
2019-04-10 20:31:37 +03:00
Marius Stanciu
28dac56051
- Gerber Editor: added Add Track and Add Region functions
...
- Gerber Editor: fixed key shortcuts
- fixed setting the Layout combobox in Preferences according to the current layout
2019-04-10 17:12:21 +03:00
Marius Stanciu
942d9e2b01
- Gerber Editor: finished the selection on canvas; should be used as an template for the other Editors
...
- Gerber Editor: finished the Copy, Aperture Add, Buffer, Scale, Move including the Utility geometry
- Trying to fix bug in Measurement Tool: the mouse events don't disconnect
2019-04-10 03:56:56 +03:00
Marius Stanciu
57176b7e28
- default values for Jump To function is jumping to origin (0, 0)
2019-04-07 03:43:58 +03:00
Marius Stanciu
1e57054bd2
- fixed issue with not possible to close the app after a project save (for real this time)
2019-04-06 01:38:19 +03:00
Marius Stanciu
da991c103b
- fixed issue with not possible to close the app after a project save.
2019-04-06 01:15:29 +03:00
Marius Stanciu
1307026d83
- fixed bug in Geometry Editor in buffer_int() function that created an Circular Reference Error when applying buffer interior on a geometry.
2019-04-06 01:02:59 +03:00
Marius Stanciu
e8a0fcaef1
- fixed bug in saving the maximized state
...
- fixed bug in applying default language on first start
- on activating 'V' key shortcut (zoom fit) the mouse cursor is now jumping to origin (0, 0)
- fixed bug in saving toolbars state; the file was saved before setting the self.defaults['global_toolbar_view]
2019-04-06 00:10:38 +03:00
Marius Stanciu
b7fce74ca3
- increased the number of workers in FlatCAM and made the number of workers customizable from Preferences
2019-04-05 16:27:55 +03:00
Marius Stanciu
cefb74d792
- Gerber Editor: made geometry transfer (which is slow) to Editor to be multithreaded
...
- Gerber Editor: plotting process is showed in the status bar
2019-04-05 15:28:32 +03:00
Marius Stanciu
c623b8d63c
- added support for Gerber format specification D (no zero suppression) - PCBWizard Gerber files support
2019-04-04 16:21:26 +03:00
Marius Stanciu
8fc7c0ffc1
- fixed the quit action when denying the save, to save the default values and the QSettings
2019-04-04 01:20:33 +03:00
Marius Stanciu
8fc916b746
- working on Gerber Editor - added the key shortcuts: wip
...
- made saving of the project file non-blocking and also while saving the project file, if the user tries again to close the app while project file is being saved, the app will close only after saving is complete (the project file size is non zero)
2019-04-04 00:47:08 +03:00
Marius Stanciu
06ac0b03b1
- modified the calling of the editor2object() slot function
2019-04-03 20:24:47 +03:00
Marius Stanciu
0a9148f30a
- fixed plotting in Gerber Editor
...
- working on GUI in Gerber Editor
2019-04-03 16:00:44 +03:00
Marius Stanciu
40c8ef1cf8
- wip in Gerber editor
2019-04-01 02:54:34 +03:00
Marius Stanciu
b202de338f
- fixed errors when the File -> New Project is initiated while an Editor is still active.
...
- the File->Exit action handler is now self.final_save()
2019-04-01 02:47:20 +03:00
Marius Stanciu
ecd6472220
- fixed issue #281 by making generation of a convex shape for the freeform cutout in Tool Cutout a choice rather than the default
...
- fixed bug in Tool Cutout, now in manual cutout mode the gap size reflect the value set
2019-03-31 21:52:27 +03:00
Marius Stanciu
1c1d8bd637
- fix error in plotting Excellon when toggling units
...
- FlatCAM editors now are separated each in it's own file
- fixed TextTool in Geometry Editor so it will open the notebook on activation and close it after finishing text adding
- started to work on a Gerber Editor
2019-03-29 23:45:50 +02:00
Marius Stanciu
c5a77841f8
- update the TCL keyword list
...
- fix on the Gerber parser that makes searching for '%%' char optional when doing regex search for mode, units or image polarity. This allow loading Gerber files generated by the ECAD software TCl4.4
2019-03-29 13:02:53 +02:00
Marius Stanciu
e0417b034b
- modified Gerber parser to copy the follow_geometry in the self.apertures
...
- modified the Properties Tool to show the number of elements in the follow_geometry for each aperture
- modified the copy functions to copy the follow_geometry and also the apertures if it's possible (only for Gerber objects)
2019-03-29 02:13:20 +02:00
Marius Stanciu
ecc2c90f2a
- changed all the info messages that are of type warning, error or success so they have a space added after the keyword
...
- changed the Romanian translation by adding more diacritics
2019-03-29 00:26:00 +02:00
Marius Stanciu
6d9eb10a59
- new feature: added ability to edit MultiGeo geometry (geometry from Paint Tool)
2019-03-28 21:11:37 +02:00
Marius Stanciu
a7e6914584
- fixed an issue where the Geometry plot function protested that it does not have an parameter that is used by the CNCJob plot function. But both inherit from FaltCAMObj plot function which does not have that parameter so something may need to be changed. Until then I provided a phony keyboard parameter to make that function 'shut up'
2019-03-26 15:53:07 +02:00
Marius Stanciu
43f89397d7
- added all the TCL keywords in the completer keyword list
2019-03-25 04:26:11 +02:00
Marius Stanciu
f8cbafe84d
- in the TCL completer if the word is already complete don't add it again but add a space
2019-03-25 03:35:26 +02:00
Marius Stanciu
9648bcd693
- added a header in the New Script
2019-03-25 03:14:55 +02:00
Marius Stanciu
d67700c38b
- changed the autoname for saving Preferences, Project and PNG file
2019-03-22 20:59:02 +02:00
Marius Stanciu
9a2279708e
- added an icon and title text for the Toggle Units QMessageBox
2019-03-21 02:02:34 +02:00
Marius Stanciu
b09f311b5c
- added autocomplete finish with ENTER key for the TCL Shell
...
- made sure that the autocomplete function works only for FlatCAM Scripts
2019-03-20 16:54:03 +02:00
Marius Stanciu
bebb827bd2
- added autocomplete for Code editor; TODO: needs to be enabled only when doing Scripts, right now is available for everyone.
2019-03-19 03:05:00 +02:00
Marius Stanciu
39eaf12fef
- added ability to run a FlatCAM Tcl script by double-clicking on the file
2019-03-19 01:27:57 +02:00
Marius Stanciu
6e465d97cd
- the Code Editor tab name is changed according to the task; 'save' and 'open' buttons will have filters installed for the QOpenDialog fit to the task
2019-03-19 01:05:25 +02:00
Marius Stanciu
74d1765a95
- added ability to create new scripts and open scripts in FlatCAM Script Editor
2019-03-18 22:59:13 +02:00
Marius Stanciu
b79c26ec4b
- some changes on how the first layout is applied
...
- minor bug fixes (typos from copy/paste from another part of the program)
2019-03-18 03:54:31 +02:00
Marius Stanciu
3daed4cbfb
- made the translations work when the app is frozen with CX_freeze
...
- some formatting changes for the application strings
2019-03-18 03:30:47 +02:00
Marius Stanciu
abfa78d898
- remade the layout in 2Sided Tool
...
- work in progress for translation in Romanian - 91%
2019-03-17 15:47:17 +02:00
Marius Stanciu
fe6fa826ce
- remade the layout in 2Sided Tool
...
- work in progress for translation in Romanian - 91%
2019-03-17 04:35:04 +02:00
Marius Stanciu
011f684b38
- fixed bug in Paint Tool - Single Poly: no geometry was generated
...
- work in progress for translation in Romanian - 70%
- changed date
2019-03-16 01:01:00 +02:00
Marius Stanciu
46da2dfd1e
- made the layout combobox current item from Preferences -> General window to reflect the current layout
...
- remade the POT translate file
- work in progress in translation for Romanian language 44%
- fix for showing tools by activating them from the Menu - final fix.
2019-03-16 00:59:59 +02:00
Marius Stanciu
c0d21ee4e0
- made the layout combobox current item from Preferences -> General window to reflect the current layout
...
- remade the POT translate file
- work in progress in translation for Romanian language 44%
- fix for showing tools by activating them from the Menu - final fix.
2019-03-14 01:09:06 +02:00
Marius Stanciu
255254a292
- some strings were left outside the translation formatting - fixed
...
- finished the replacement of '_' symbols throughout the app which conflicted with the _() function used by the i18n
2019-03-11 20:00:07 +02:00
Marius Stanciu
e54ee9b569
- fixed the Properties Project menu entry to work on the new way
...
- in Properties tool now the Gerber apertures show the number of polygons in 'solid_geometry' instead of listing the objects
2019-03-11 19:30:38 +02:00
Marius Stanciu
9d33e08ecf
- added a visual cue in Menu -> Edit about the entries to enter the Editor and to Save & Exit Editor. When one is enabled the other is disabled.
...
- grouped all the UI files in flatcamGUI folder
2019-03-11 12:23:26 +02:00
Marius Stanciu
29722de6ac
- fixed the Properties Project menu entry to work on the new way
...
- in Properties tool now the Gerber apertures show the number of polygons in 'solid_geometry' instead of listing the objects
2019-03-11 03:31:33 +02:00
Marius Stanciu
91549587e2
- changed some icons here and there
2019-03-11 02:08:29 +02:00
Marius Stanciu
f51c146f71
- fixed an issue created by the fact that I used the '_' char inside the app to designate unused info and that conflicted with the _() function used by gettext
...
- made impossible to try to reapply current language that it's already applied (un-necessary)
2019-03-11 00:41:49 +02:00
Marius Stanciu
3c2cc96b62
- updated the App.final_save() function
2019-03-10 23:56:06 +02:00
Marius Stanciu
a6e23b28a7
- fix app crash for the case that there are no translation files
...
- fixed some forgotten strings to be prepared for internationalization in ToolCalculators
- fixed Tools menu no longer working due of changes
- added some test translation for the ToolCalculators (in Romanian)
- fixed bug in ToolCutOut where for each tool invocation the signals were reconnected
2019-03-10 17:12:58 +02:00
Marius Stanciu
53627b566c
- added a fix in the Gerber parser when adding the geometry in the self.apertures dict for the case that the current aperture is None (Allegro does that)
...
- finished support for internationalization by adding a set of .po/.mo files for the English language. Unfortunately the final action can be done only when Beta will be out of Beta (no more changes) or when I will decide to stop working on this app.
- changed the tooltip for 'feedrate_rapids' parameter to point out that this parameter is useful only for the Marlin postprocessor
2019-03-10 14:34:13 +02:00
Marius Stanciu
de79370fb3
- sorted the languages in the Preferences combobox
2019-03-09 00:34:04 +02:00
Marius Stanciu
4422aee5df
- fix for issue #262 : when doing Edit-> Save & Close Editor on a Geometry that is not generated through first entering into an Editor, the geometry disappear
2019-03-08 16:28:55 +02:00
Marius Stanciu
6ba037fd83
- fixed issue when doing th CTRL (or SHIFT) + LMB, the focus is automatically moved to Project Tab
...
- further work in internationalization, added a fallback to English language in case there is no translation for a string
2019-03-08 14:10:23 +02:00
Marius Stanciu
328182d863
- made sure that when the Measuring Tools is active after last click the Status bar is no longer deleted
2019-03-08 01:42:01 +02:00
Marius Stanciu
574184f44c
- fixed Measuring Tool - after doing a measurement the Notebook was switching to Project Tab without letting the user see the results
...
- more work on the translation engine; the app now restarts after a language is applied
- added protection against using Travel Z parameter with negative or zero value (in Geometry).
2019-03-08 01:32:18 +02:00
Marius Stanciu
934d971002
- WIP for internationalization
2019-03-07 18:04:11 +02:00
Marius Stanciu
94d2fb23e2
- made showing a shape when hovering over objects, optional, by adding a Preferences -> General parameter
...
- starting to work in internationalization using gettext()
- Finished adding _() in FlatCAM Tools
2019-03-07 17:37:38 +02:00
Marius Stanciu
b20a6a1a85
- modified the way the FlatCAM Tools are run from toolbar as opposed of running them from other sources
...
- some Gerber UI changes
2019-03-06 15:22:35 +02:00
Marius Stanciu
996b63cf4e
- modified the grbl-laser postprocessor lift_code()
...
- treated an error created by Z_Cut parameter being None
- changed the hover and selection box transparency
2019-03-04 21:19:55 +02:00
Marius Stanciu
d775e999fe
- remade the CutOut Tool
...
- finished Manual Cutout Tool by adding utility geometry to the cutting geometry
- added CTRL + click behavior for adding manual bridge gaps in Cutout Tool
- in Tool Cutout added shortcut key 'Escape' to cancel the current adding of bridge gaps
2019-03-04 16:09:41 +02:00
Marius Stanciu
85ff3805ae
- finished work on object hovering
2019-03-04 03:52:12 +02:00
Marius Stanciu
06fb48eb6a
- minor UI changes for Gerber UI
...
- ~~after an object move, the apertures plotted shapes are deleted from canvas and the 'mark all' button is deselected~~
- after move tool action or any other transform (rotate, skew, scale, mirror, offset), the plotted apertures are kept plotted.
- changing units now will convert all the default values from one unit type to another
- prettified the selection shape and the moving shape
- initial work in object hovering shape
2019-03-04 03:47:19 +02:00
Marius Stanciu
9f60df850e
- progress in ToolChange Custom commands replacement and rename
2019-02-28 18:02:29 +02:00
Marius Stanciu
546f643035
- added a change that when a double click is performed in a object on canvas resulting in a selection, if the notebook is hidden then it will be displayed
2019-02-28 16:39:44 +02:00
Marius Stanciu
1839843fad
- added toggle effect for the tools in the toolbar.
...
- enhanced the toggle effect for the tools in the Tools Toolbar and also for Notebook Tab selection: if the current tool is activated it will toggle the notebook side but only if the installed widget is itself. If coming from another tool, the notebook will stay visible
2019-02-27 17:32:52 +02:00
Marius Stanciu
18132eab4c
- made the polygon fusing in modified Gerber creation, a list comprehension in an attempt for optimization
...
- when right clicking the files in Project tab, the Save option for Excellon no longer export it but really save the original.
2019-02-27 00:14:53 +02:00
Marius Stanciu
7b4ea1dfa9
- added a Mark All button in the Gerber aperture table.
...
- because adding shapes to the shapes collection (when doing Mark or Mark All) is time consuming I made the plot_apertures() threaded.
2019-02-26 23:12:15 +02:00
Marius Stanciu
5cade2ec4e
- fixed mouse selection on canvas, mouse drag, mouse click and mouse double click
2019-02-26 21:37:43 +02:00
Marius Stanciu
874ce11d84
- work in progress to Toolchange_Custom code replacememnt -> finished the parse and replace function
2019-02-26 17:03:57 +02:00
Marius Stanciu
386c3408ca
- added in Preferences a new Category: Gerber Advanced Options. For now it controls the display of Gerber Aperture Table and the "follow" attribute4
...
- fixed FlatCAMGerber.merge() to merge the self.apertures[ap]['solid_geometry'] too
- started to work on a new feature that allow adding a ToolChange GCode macro - GUI added both in CNCJob Selected tab and in CNCJob Preferences
- added a limited 'sort-of' Gerber Editor: it allows buffering and scaling of apertures
2019-02-26 00:33:31 +02:00
Marius Stanciu
d43de2ea77
- fixed the Gerber object UI layout
...
- added ability to mark individual apertures in Gerber file using the Gerber Aperture Table
2019-02-25 16:28:32 +02:00
Marius Stanciu
a25fc1e88c
- fixed bug in Set Origin function
2019-02-24 17:10:01 +02:00
Marius Stanciu
8acb3b782d
- fixed bug that after changing the layout all the toolbar actions are no longer working
2019-02-24 16:43:46 +02:00
Marius Stanciu
fac11586b3
- added all the Tools in a new ToolBar
2019-02-24 16:22:21 +02:00
Marius Stanciu
322a63ef3b
- ability to double click the FlatConfig files and open them in the FlatCAM Code Editor - fixed and verified
2019-02-23 22:16:53 +02:00
Marius Stanciu
14dc34a18c
- when saving a file from Code Editor and there is no object active then the OpenFileDialog filters are reset to FlatConfig files.
2019-02-23 20:39:38 +02:00
Marius Stanciu
88c9001784
- added a Toggle Code Editor Menu and key shortcut
...
- added the ability to open FlatConfig configuration files in COde Editor, Modify them and then save them.
- added ability to double click the FlatConfig files and open them in the FlatCAM Code Editor (to be verified)
2019-02-23 20:27:26 +02:00
Marius Stanciu
6d0ed52308
- prettified the defaults files and the recent file. Now they are ordered and human readable
2019-02-23 19:06:20 +02:00
Marius Stanciu
2291a58727
- fixed a small bug in the Tool Solder Paste: the App don't take into consideration pads already filled with solder paste.
2019-02-23 18:51:42 +02:00
Marius Stanciu
3bad47b3be
- updated the Properties Tool to include more information's, also details if a Geometry is of type MultiGeo or SingleGeo
...
- remade the Preferences GUI to include the Advanced Options in a separate way so it is obvious which are displayed when App Level is Advanced.
2019-02-23 16:02:45 +02:00
Marius Stanciu
2843810ab3
- some GUI elements changes
2019-02-23 06:11:42 +02:00
Marius Stanciu
21f970204e
- added the ability of context menu inside the GuiElements.FCCombobox() object.
...
- remade the UI for ToolSolderPaste. The object comboboxes now have context menu's that allow object deletion. Also the last object created is set as current item in comboboxes.
2019-02-23 03:38:39 +02:00
Marius Stanciu
a67e31bda3
- added ability to toggle globally the display of ToolTips. Edit -> Preferences -> General -> Enable ToolTips checkbox.
...
- added true fullscreen support (for Windows OS)
2019-02-22 22:23:29 +02:00
Marius Stanciu
7272b46dd9
- added Repetier postprocessor file
...
- removed "added ability to regenerate objects (it's actually deletion followed by recreation)" because of the way Python pass parameters to functions by reference instead of copy
2019-02-22 16:54:58 +02:00
Marius Stanciu
60b08dfec5
- date changed
2019-02-22 03:28:56 +02:00
Marius Stanciu
18f38999c4
- added ability to regenerate objects (it's actually deletion followed by recreation)
2019-02-22 03:28:04 +02:00
Marius Stanciu
45b5cba68a
- fixed issue with not updating correctly the plot kind (all, cut, travel) when clicking in the CNC Tools Table plot buttons
...
- made the GCode Editor for ToolSolderPaste clear the text before updating the Code Editor tab
- all the Tabs in Plot Area are closed (except Plot Area itself) on New Project creation
2019-02-22 00:37:57 +02:00
Marius Stanciu
d453c31bf5
- finished work in ToolSolderPaste
2019-02-21 23:48:13 +02:00
Marius Stanciu
d5768d3b34
- creating the camlib functions for the ToolSolderPaste gcode generation functions
2019-02-21 17:07:38 +02:00
Marius Stanciu
9557e1af60
- added protection against creating CNCJob from an empty Geometry object (with no geometry inside)
...
- changed the shortcut key for YouTube channel from F2 to key F4
- changed the way APP LEVEL is showed both in Edit -> Preferences -> General tab and in each Selected Tab. Changed the ToolTips content for this.
- added the functions for GCode View and GCode Save in Tool SolderPaste
2019-02-21 03:04:38 +02:00
Marius Stanciu
f62e7e51fd
- finished the Edit -> Preferences defaults section
...
- finished the UI, created the postprocessor file template
- finished the multi-tool solder paste dispensing: it will start using the biggest nozzle, fill the pads it can, and then go to the next smaller nozzle until there are no pads without solder.
2019-02-20 22:46:46 +02:00
Marius Stanciu
448f34c090
- finished added a Tool Table for Tool SolderPaste
...
- working on multi tool soder paste dispensing
2019-02-20 17:10:43 +02:00
Marius Stanciu
3ee6eb4a87
- fixed a bug in rotate from shortcut function
...
- finished generating the solder paste dispense geometry
2019-02-20 03:27:17 +02:00
Marius Stanciu
bd7a82e116
- added icons for Solder Paste Tool
2019-02-19 17:57:50 +02:00
Marius Stanciu
89052379b2
- started to work on Solder Paste Dispensing Tool
2019-02-19 17:48:24 +02:00
Marius Stanciu
4dbecde32f
- added a new setting in Edit -> Preferences -> General that allow to select the type of saving for the FlatCAM project: either compressed or uncompressed. Compression introduce an time overhead to the saving/restoring of a FlatCAM project.
2019-02-19 15:59:19 +02:00
Marius Stanciu
9d0bcf477a
- removed the Open Gerber with 'follow' menu entry and also the open_gerber Tcl Command attribute 'follow'. This is no longer required because now the follow_geometry is stored by default in a Gerber object attribute gerber_obj.follow_geometry
...
- added a new parameter for the Tcl CommandIsolate, named: 'follow'. When follow = 1 (True) the resulting geometry will follow the Gerber paths.
2019-02-19 14:53:55 +02:00
Marius Stanciu
d998b87601
- fixed issue with not loading old projects that do not have certain information's required by the new versions of FlatCAM
...
- compacted a bit more the GUI for Gerber Object
2019-02-19 13:00:38 +02:00
Marius Stanciu
7f65cf628d
- added the ability to compress the FlatCAM project on save with LZMA compression. There is a setting in Edit -> Preferences -> Compression Level between 0 and 9. 9 level yields best compression at the price of RAM usage and time spent.
...
- made FlatCAM able to load old type (uncompressed) FlatCAM projects
2019-02-19 01:22:17 +02:00
Marius Stanciu
783604f2aa
- made the output of Panelization Tool a choice out of Gerber and Geometry type of objects. Useful for those who want to engrave multiple copies of the same design.
2019-02-18 23:47:59 +02:00
Marius Stanciu
7c2d8ff28e
- added Tool Transform preferences in Edit -> Preferences and used them through out the app
2019-02-18 22:48:28 +02:00
Marius Stanciu
88a0be7cf1
- modified the GUI in Objects Selected Tab to accommodate 2 different modes: basic and Advanced. In Basic mode, some of the functionality's are hidden from the user.
2019-02-18 21:19:57 +02:00
Marius Stanciu
8c882cfdc4
- made the app not remember the window size if the app is maximized and remember in QSettings if it was maximized. This way we can restore the maximized state but restore the windows size unmaximized
...
- added a button to clear de GUI preferences in Preferences -> General -> Gui Settings -> Clear GUI Settings
- added key shortcuts for the shape transformations within Geometry Editor: X, Y keys for Flip(mirror), SHIFT+X, SHIFT+Y combo keys for Skew and ALT+X, ALT+Y combo keys for Offset
- adjusted the plotcanvas.zomm_fit() function so the objects are better fit into view (with a border around)
2019-02-18 19:35:18 +02:00
Marius Stanciu
cc2fe29942
- fixed an issue where the function handler that changed the layout had a parameter changed accidentally by an index value passed by the 'activate' signal to which was connected
...
- fixed bug in paint function in Geometry Editor that didn't allow painting due of overlap value
- added protections again wrong values for the Buffer and Paint Tool in Geometry Editor
- the Paint Tool in Geometry Editor will load the default values from Tool Paint in Preferences
- when the Tools in Geometry Editor are activated, the notebook with the Tool Tab will be unhidden. After execution the notebook will hide again for the Buffer Tool.
- changed the font in Tool names
- added in Geometry Editor a new Tool: Transformation Tool. It still has some bugs, though ...
2019-02-18 03:45:34 +02:00
Marius Stanciu
032f68a848
- added ability to save the Gerber file content that is stored in FlatCAM on Gerber file loading. It's useful to recover from saved FlatCAM projects when the source files are no longer available.
2019-02-17 16:05:06 +02:00
Marius Stanciu
b717b60d45
- in Editors, if the modifier key set in Preferences (CTRL or SHIFT key) is pressed at the end of one tool operation it will automatically continue to that action until the modifier is no longer pressed when Select tool will be automatically selected.
...
- in Geometry Editor, on entry the notebook is automatically hidden and restored on Geometry Editor exit.
2019-02-17 15:06:43 +02:00
Marius Stanciu
5a631a2881
- fixed issue where after loading a project, if the default kind of CNCjob view is only 'cuts' the plot will revert to the 'all' type
2019-02-16 23:39:19 +02:00
Marius Stanciu
941cec30ae
- Serialized the source_file of the Objects so it is saved in the FlatCAM project and restored.
...
- if there is a single tool in the tool list (Geometry , Excellon) and the user click the Generate GCode, use that tool even if it is not selected
2019-02-16 21:03:27 +02:00
Marius Stanciu
326599e4a3
- changed some status bar messages
...
- New feature: added the capability to view the source code of the Gerber/Excellon file that was loaded into the app. The file is also stored as an object attribute for later use. THe view option is in the project context menu and in Menu -> Options -> View Source
2019-02-16 19:47:50 +02:00
Marius Stanciu
4f882c821e
- changed the initial layout to 'compact'
...
- updated the install scripts to uninstall a previously installed FlatCAM Beta (that has the same GUID)
2019-02-16 16:19:57 +02:00
Marius Stanciu
3293223991
- added the 'Save' menu entry to the Project context menu, for CNCJob: it will export the GCode.
2019-02-16 03:01:54 +02:00
Marius Stanciu
31f36fd01e
- small change in tab width so the tabs looks good in Linux, too.
2019-02-16 02:45:58 +02:00
Marius Stanciu
679b33fa72
- updated the Excellon plot function so it can plot the Excellon's from old projects
...
- removed the message boxes that popup on Excellon Export errors and replaced them with status bar messages
2019-02-16 01:52:20 +02:00
Marius Stanciu
33b722aa1a
- more update s on project save choice
2019-02-16 00:40:51 +02:00
Marius Stanciu
367d6f3155
- reworked the offer to save a project so it is done only if there are objects in the project but those objects are new and/or are modified since last project load (if an old project was loaded.)
2019-02-16 00:29:54 +02:00
Marius Stanciu
e717cb8f15
- remade the Excellon export function to work with parameters entered in Edit -> Preferences -> Excellon Export
...
- added a new entry in the Project Context Menu named 'Save'. It will actually work for Geometry and it will do Export DXF and for Excellon and it will do Export Excellon
2019-02-15 23:35:23 +02:00
Marius Stanciu
aea67a4a1d
- rearranged the FIle and Edit menu's and added some explanatory tooltips on certain menu items that could be seen as cryptic
...
- added Excellon Export Options in Edit -> Preferences
- started to work in using the Excellon Export parameters
2019-02-15 16:41:42 +02:00
Marius Stanciu
a978b5621d
- the notebook is automatically collapsed when there are no objects in the collection and it is showed when adding an object
...
- added new options in Edit -> Preferences -> General -> App Preferences to control if the Notebook is showed at startup and if the notebook is closed when there are no objects in the collection and showed when the collection has objects.
2019-02-15 01:48:34 +02:00
Marius Stanciu
098de7f030
- added shortcut key 'J' (jump to location) in Editors and added an icon to the dialog popup window
2019-02-15 00:23:29 +02:00
Marius Stanciu
8f7d169e9c
- when linked, the grid snap on Y will copy the value in grid snap on X in real time
2019-02-14 22:12:12 +02:00
Marius Stanciu
cda10998e8
- updated the function for the project context menu 'Generate CNC' menu entry (Action) to use the modernized function FlatCAMObj.FlatCAMGeometry.on_generatecnc_button_click()
2019-02-14 21:33:42 +02:00
Marius Stanciu
b84f56545e
- remade the Grids context menu (right mouse button click on canvas). Now it has values linked to the units type (inch or mm). Added ability to add or delete grid values and they are persistent.
2019-02-14 20:08:56 +02:00
Marius Stanciu
899e8b433d
- added new parameter for Excellon Object in Preferences: Fast Retract. If the checkbox is checked then after reaching the drill depth, the drill bit will be raised out of the hole asap.
...
- started to work on GUI forms simplification
- changed the Preferences GUI for Geometry and Excellon Objects to make a difference between parameters that are changed often and those that are not.
2019-02-13 14:30:29 +02:00
Marius Stanciu
02793f7ae2
- starting to work on storing the solid_geometry for each tool in part in Excellon Object
2019-02-12 16:55:43 +02:00
Marius Stanciu
d0641458e4
- whenever a FlatCAM tool is activated, if the notebook side is hidden it will be unhidden
...
- reactivated the Voronoi classed
- added a new parameter named Offset in the Excellon tool table - work in progress
2019-02-12 04:00:11 +02:00
Marius Stanciu
e8b9555a94
- added a strong focus to the object_name entry in the Selected tab
...
- the keypad keyPressed are now detected correctly
2019-02-10 22:55:51 +02:00
Marius Stanciu
f35994a712
- repurposed shortcut key 'Delete' to delete tools in tooltable when the mouse is over the Seleted tab (with Geometry inside) or in Tools tab (when NCC Tool or Paint Tool is inside). Or in Excellon Editor when mouse is hovering the Selected tab selecting a tool, 'Delete' key will delete that tool, if on canvas 'Delete' key will delete a selected shape (drill). In rest, will delete selected objects.
2019-02-10 02:09:05 +02:00
Marius Stanciu
b68a010bde
- the SELECTED type of messages are no longer printed to shell from 2 reasons: first, too much spam and second, issue with displaying html
...
- on set_zero function and creation of new geometry or new excellon there is no longer a zoom fit
2019-02-09 19:44:01 +02:00
Marius Stanciu
59e12cf295
- fixed an error in Excellon Editor -> add drill array that could appear by starting the function to add a drill array by shortcut before any mouse move is registered while in Editor
...
- changed the messages from status bar on new object creation/selection
- in Geometry Editor fixed the handler for the Rotate shortcut key ('R')
2019-02-09 16:00:47 +02:00
Marius Stanciu
8665b1d8c3
- added into Preferences the Calculator Tools
...
- made the Preferences window scrollable on the horizontal side (it was only vertically scrollable before)
- made invisible some buttons that could mislead (the ones for slots converted to drills which I deem unsafe)
2019-02-09 11:52:08 +02:00
Marius Stanciu
d17fc12196
- added a protection for when saving a file first time, it require a saved path and if none then it use the current working directory
2019-02-09 01:58:08 +02:00
Marius Stanciu
da7029dc0b
- if trying to add a tool using shortcut key 'T' with value zero the app will react with a message telling to use a non-zero value.
2019-02-09 01:18:03 +02:00
Marius Stanciu
8f000c0a18
- in Excellon Editor added a protection for Tool_dia field in case numbers using comma as decimal separator are used. Also added a QDoubleValidator forcing a number with max 4 decimals and from 0.0000 to 9.9999
...
- in Excellon Editor added a shortcut key 'T' that popup a window allowing to enter a new Tool with the set diameter
- in App added a shortcut key 'T' that popup a windows allowing to enter a new Tool with set diameter only when the Selected tab is on focus and only if a Geometry object is selected
- changed the shortcut key for Transform Tool from 'T' to 'ALT+T'
- fixed bug in Geometry Selected tab that generated error when used tool offset was less than half of either total length or half of total width. Now the app signal the issue with a status bar message
- added Double Validator for the Offset value so only float numbers can be entered.
- in App added a shortcut key 'T' that popup a windows allowing to enter a new Tool with set diameter only when the Tool tab is on focus and only if a NCC Tool or Paint Area Tool object is installed in the Tool Tab
2019-02-09 00:08:54 +02:00
Marius Stanciu
2524e6bd59
- minor GUI changes
2019-02-08 15:24:47 +02:00
Marius Stanciu
f39fea072c
- when shortcut keys 1, 2, 3 (tab selection) are activated, if the splitter left side (the notebook) is hidden it will be mae visible
...
- changed the menu entry Toggle Grid name to Toggle Grid Snap
2019-02-08 14:55:50 +02:00
Marius Stanciu
5b75d416ec
- moved some graphical classes out of Tool Shell to GUIElements.py where they belong
...
- when selecting an object on canvas by single click, it's name is displayed in status bar. When nothing is selected a blank message (nothing) it's displayed
- in Move Tool I've added the type of object that was moved in the status bar message
- color coded the status bar bullet to blue for selection
- the name of the selected objects are displayed in the status bar color coded: green for Gerber objects, Brown for Excellon, Red for Geometry and Blue for CNCJobs.
2019-02-07 22:37:51 +02:00
Marius Stanciu
c888303146
- added a new function and the shortcut 'leftquote' (left of Key 1) for toggle of the notebook section
...
- changed the Shortcut list shortcut key to F3
2019-02-07 20:39:37 +02:00
Marius Stanciu
ab026a1a9d
- added a disable menu entry in the canvas contextual menu
2019-02-07 03:16:29 +02:00
Marius Stanciu
6c6a802afb
- commented some debug messages
...
- imported speedups for shapely
2019-02-07 01:36:37 +02:00
Marius Stanciu
700222d5dc
- in Paint Tool, when painting single polygon, when clicking on canvas for the polygon there is no longer a selection of the entire object
2019-02-07 00:53:51 +02:00
Marius Stanciu
2ee80990e5
- added a new function (and shortcut key Escape) that when triggered it deselects all selected objects and delete the selection box(es)
...
- fixed bug in Excellon Gcode generation that made the toolchange X,Y always none regardless of the value in Preferences
2019-02-06 21:37:50 +02:00
Marius Stanciu
9dfbae7515
- added plot kind for CNC Job in the App Preferences
2019-02-06 20:29:53 +02:00
Marius Stanciu
05ae92726c
- renamed the theme to layout because it is really a layout change
...
- combined the geocutout and cutout_any TCL commands - work in progress
2019-02-06 16:59:17 +02:00
Marius Stanciu
8bbb9ba534
- all kwy shortcuts work across the entire application; started to move all the shortcuts definitions in FlatCAMGUI.keyPressEvent()
2019-02-06 16:23:09 +02:00
Marius Stanciu
dedf8c09de
- fixed the name self-insert in save dialog file for GCode; added protection in case the save path is None
...
- fixed FlatCAM crash when trying to make drills GCode out of a file that have only slots.
- made the shell toggle shortcut key work when focused on Selected Tab; toggle units shortcut also
- changed the messages for Units COnversion
2019-02-06 14:03:59 +02:00
Marius Stanciu
299a6585a7
- done a regression on Tool Tab default text. It somehow delete Tools in certain scenarios so I got rid of it
...
- fixed bug in multigeometry geometry not having the bounds in self.options and crashing the GCode generation
- fixed bug that crashed whole application in case that the GCode editor is activated on a Tool gcode that is defective.
2019-02-06 00:16:14 +02:00
Marius Stanciu
2ea2ed0cb0
- fixed the units calculators crash FlatCAM when using comma as decimal separator
2019-02-05 22:32:48 +02:00
Marius Stanciu
3b8b7d470a
- added a new parameter to set the feedrate of the probing in case the used postprocessor does probing (has toolchange_probe in it's name)
...
- fixed bug in Marlin postprocessor for the Excellon files; the header and toolchange event always used the parenthesis witch is not compatible with GCode for Marlin
- fixed a issue with a move to Z_move before any toolchange
2019-02-05 19:40:46 +02:00
Marius Stanciu
822800e7f5
- added a way to set the Probe depth if Toolchange_Probe postprocessors are selected
...
- finished the postprocessor file for MACH3 tool probing on toolchange event
2019-02-05 16:43:12 +02:00
Marius Stanciu
ed6d262780
- added an initial text in the Tools tab
...
- added possibility to use the shortcut key for shortcut list in the Notebook tabs
2019-02-05 13:37:49 +02:00
Marius Stanciu
bd3cb3aba3
- added a text in the Selected Tab which is showed whenever the Selected Tab is selected but without having an object selected to display it's properties
2019-02-05 13:04:37 +02:00
Marius Stanciu
8a6c48c7a9
- changed the shortcut keys for Zoom In, Zoom Out and Zoom Fit from 1, 2, 3 to '-', '=' respectively 'V'. Added new shortcut keys '1', '2', '3' for Select Project Tab, Select Selected Tab and Select Tool Tab.
2019-02-04 22:35:01 +02:00
Marius Stanciu
713b584841
- added a new parameter in the Tool Film which control the thickness of the stroke width in the resulting SVG. It's a scale parameter.
...
- whatever was the visibility of the corresponding toolbar when we enter in the Editor, it will be set after exit from the Editor (either Geometry Editor or Excellon Editor).
- added ability to be detached for the tabs in the Notebook section (Project, Selected and Tool)
- added ability for all detachable tabs to be restored to the same position from where they were detached.
- restored the way the tools autoloaded the objects in the comboboxes
2019-02-04 20:49:37 +02:00
Marius Stanciu
4e8f8905c8
- modified the Toolchange_Probe_general postprocessor file to include now Z moves before the actual toolchange event
...
- created a prototype postprocessor file for usage with tool probing in MACH3
- added the default values for Tool Film and Tool Panelize to the Edit -> Preferences
2019-02-04 16:29:12 +02:00
Marius Stanciu
e1888b1647
- added an automatic name on each save operation based on the object name and/or the current date
...
- added more information's for the statistics
2019-02-03 23:08:09 +02:00
Marius Stanciu
5e55f0d499
- fixed remove_tools() so the Tcl Shell action is readded to the Tools menu and reconnected to it's slot function
2019-02-03 16:49:33 +02:00
Marius Stanciu
7da1d23098
- added a remove_tools() function before install_tools() in the init_tools() that is called when creating a new project. Should solve the issue with having double menu entry's in the TOOLS menu
2019-02-03 16:29:56 +02:00
Marius Stanciu
6ea3499d39
- updated the new shortcut list with the shortcuts added lately
...
- now the special messages in the Shell are color coded according to the level. Before they all were RED. Now the WARNINGS are yellow, ERRORS are red and SUCCESS is a dark green. Also the level is in CAPS LOCK to make them more obvious
- some more changes to GUI interface (solved issues)
- added some status bar messages in the Geometry Editor to guide the user when using the Geometry Tools
- now the '`' shortcut key that shows the 'shortcut key list' in Editors points to the same window which is created in a tab no longer as a pop-up window. This tab can be detached if needed.
2019-02-03 15:13:09 +02:00
Marius Stanciu
7607aad8d8
- added protection against entering float numbers with comma separator instead of decimal dot separator in key points of FlatCAM (not everywhere)
...
- added a choice of plotting the kind of geometry for the CNC plot (all, travel and cut kind of geometries) in CNCJob Selected Tab
2019-02-02 23:56:08 +02:00