Commit Graph

2710 Commits

Author SHA1 Message Date
Marius Stanciu 267db756e1 - fixed the Tcl command Cncjob: there was a problem reported as issue #416. The command did not work due of the dpp parameter
- modified the Tcl command Cncjob such that if some of the parameters are not used then the default values will be used (set with set_sys)
- modified the Tcl command Drillcncjob to use the defaults when some of the parameters are not used
2020-05-12 03:12:21 +03:00
Marius Stanciu 4ff5fb6b55 Merged in new_snap_widget (pull request #10)
New snap widget
2020-05-11 22:29:32 +00:00
Marius Stanciu eb56c249b5 - pass 2020-05-12 01:27:53 +03:00
Marius Stanciu 086526441d - pass 2020-05-12 01:26:35 +03:00
Marius Stanciu d739a5b05d - re-added the position labels in the status bar; they will be useful if HUD is Off (Altium does the same :) so learn from the best) 2020-05-12 01:21:29 +03:00
Marius Stanciu 3a337212f0 - fix issue in Legacy2D graphic mode where the snap function was not accessible when the PlotCanvasLegacy class was created
- modified the HUD in Legacy2D when using Dark Theme to use different colors
- modified how the graphic engine change act in Preferences: now only by clicking Apply(or Save) the change will happen. And there is also a message asking for confirmation
2020-05-12 01:09:00 +03:00
Marius Stanciu 40c52455e1 - made sure that the corner snap buttons are shown only in Editors
- changed the HUD color when using Dark theme
2020-05-11 22:56:06 +03:00
Marius Stanciu 3c0ee97c61 - Snap Toolbar is now visible in Fullscreen
- in Fullscreen now the Notebook is available but it will be hidden on Fullscreen launch
- fixed some minor issues (in the HUD added a separating line, missing an icon in toolbars on first launch)
2020-05-11 20:10:27 +03:00
Marius Stanciu d7677b5e08 - remade the Snap Toolbar presence; now it is always active and situated in the Status Bar 2020-05-11 18:02:34 +03:00
Marius Stanciu 46367c433f - removed the labels in status bar that display X,Y positions and replaced it with a HUD display on canvas (combo key SHIFT+H) will toggle the display of the HUD
- made the HUD work in Legacy2D mode
- fixed situation when the mouse cursor is outside of the canvas and no therefore returning None values
2020-05-11 07:29:46 +03:00
Marius Stanciu f81be6f0a9 - fixed the problem with using comma as decimal separator in Grid Snap fields 2020-05-10 13:50:24 +03:00
Marius Stanciu 541813c22b - finished the GUI for exclusion areas both in the Excellon and Geometry Objects. Need to think if to make it visible only in Advanced Mode 2020-05-10 01:05:02 +03:00
Marius Stanciu 0e07ea1541 - modified the GUI for Exclusion areas; now the shapes are displayed in a Table where they can be selected and deleted. Modification applied for Geometry Objects only (for now).
- fixed and error when converting units, error that acted when in those fields that accept lists of tools only one tool was added
2020-05-09 05:18:05 +03:00
Marius Stanciu ee69744d6e - removed the Apply theme button in the Preferences; it is now replaced by the more general buttons (either Save or Apply)
- added a confirmation/warning message when applying a new theme
2020-05-08 22:01:18 +03:00
Marius Stanciu 484fb51bf0 - added a parameter to the FlatCAMDefaults class, whenever a value in the self.defaults dict change it will call a callback function and send to it the modified key
- optimized and fixed some issues in the self.on_toggle_units() method
- the Exclusion areas will have all the orange color but the color of the outline will differ according to the type of the object from where it was added (cosmetic use only as the Exclusion areas will be applied globally)
2020-05-08 01:41:40 +03:00
Marius Stanciu eea80aafc3 - added the ability to add exclusion areas from the Excellon object too. Now there is a different in color to differentiate from which type of object the exclusion areas were added but they all serve the same purpose 2020-05-07 01:38:08 +03:00
Marius Stanciu 4ece23c456 - added a fix so the app close is now clean, with exit code 0 as set 2020-05-07 00:46:02 +03:00
Marius Stanciu a161354c25 - solved issue with new parameter end_xy when it is None
- solved issue with applying theme and not making the change in the Preferences UI. In Preferences UI the theme radio is always Light (white)
- now the annotations will invert the selected color in the Preferences, when selecting Dark theme
2020-05-06 16:37:48 +03:00
Marius Stanciu afbe2d974f - handled the New project event and the object deletion (when all objects are deleted then the exclusion areas will be deleted too) 2020-05-06 04:11:31 +03:00
Marius Stanciu 343d4ee534 - changed the above: too many shapes collections and the performance will go down. Created a class Exclusion areas that holds all the require properties and the Object UI elements will connect to it's methods. This way I can apply this to Excellon object too (who are a special type of Geometry Object) 2020-05-06 03:44:56 +03:00
Marius Stanciu 91493b2fbc - wip in adding Exclusion areas in Geometry object; each Geometry object has now a storage for shapes (exclusion shapes, should I make them more general?) 2020-05-06 02:10:18 +03:00
Marius Stanciu ed105eecad - fixed an issue that made the preprocessors comboxes in Preferences not to load and display the saved value fro the file
- some PEP8 corrections
2020-05-05 01:39:01 +03:00
Marius Stanciu 33f4b42ea3 - string with e-mail address changed on e-mail owner request 2020-05-04 21:26:32 +03:00
Marius Stanciu 88dc9aa702 - in detachable tabs, Linux loose the reference of the detached tab and on close of the detachable tabs will gave a 'segmantation fault' error. Solved it by not deleting the reference in case of Unix-like systems
- some strigns added to translation strings
2020-05-04 18:28:45 +03:00
Marius Stanciu 59a2414723 - protected a dict in VispyVisuals from issuing errors of keys changed while iterating through it 2020-05-03 17:38:41 +03:00
Marius Stanciu 17a2c0e4c1 - updated the translation files
- changed the line endings for Makefile and setup_ubuntu.sh files
2020-05-03 16:48:17 +03:00
Marius 83a515eeee Merge remote-tracking branch 'remotes/jpcgt/flatcam/Beta' into Beta
# Conflicts:
#	CHANGELOG.md
#	FlatCAMApp.py
#	locale/de/LC_MESSAGES/strings.mo
#	locale/de/LC_MESSAGES/strings.po
#	locale/en/LC_MESSAGES/strings.mo
#	locale/en/LC_MESSAGES/strings.po
#	locale/es/LC_MESSAGES/strings.mo
#	locale/es/LC_MESSAGES/strings.po
#	locale/fr/LC_MESSAGES/strings.mo
#	locale/fr/LC_MESSAGES/strings.po
#	locale/hu/LC_MESSAGES/strings.mo
#	locale/hu/LC_MESSAGES/strings.po
#	locale/it/LC_MESSAGES/strings.mo
#	locale/it/LC_MESSAGES/strings.po
#	locale/pt_BR/LC_MESSAGES/strings.mo
#	locale/pt_BR/LC_MESSAGES/strings.po
#	locale/ro/LC_MESSAGES/strings.mo
#	locale/ro/LC_MESSAGES/strings.po
#	locale/ru/LC_MESSAGES/strings.po
2020-05-03 16:36:23 +03:00
Marius 451b4ce507 - small changes to allow making the x86 installer that is made from a Python 3.5 run FlatCAM beta
- fixed multiple parameter 'outname' in the Tcl commands OpenGerber and OpenGcode
- added more examples in the scripts Examples: isolate and cutout examples
- updated the Italian translation
- updated the translation files
2020-05-03 16:19:27 +03:00
Marius Stanciu 77f6e19267 - small changes to allow making the x86 installer that is made from a Python 3.5 run FlatCAM beta
- fixed multiple parameter 'outname' in the Tcl commands OpenGerber and OpenGcode
- added more examples in the scripts Examples: isolate and cutout examples
- updated the Italian translation
- updated the translation files
2020-05-03 16:14:25 +03:00
Marius Stanciu 2189369882 Merged in beta_8.993 (pull request #8)
Beta 8.993
2020-05-03 12:44:52 +00:00
Marius Stanciu 25bb145dd6 Merged marius_stanciu/flatcam_beta/Beta 8.992 into Beta 2020-05-03 00:02:09 +03:00
Marius Stanciu bb4a116ae0 - updated the translations 2020-05-03 00:01:11 +03:00
Marius Stanciu 9d9e3a3d56 Merged marius_stanciu/flatcam_beta/Beta 8.992 into Beta 2020-05-02 22:58:34 +03:00
Marius Stanciu 892a46702c - added the name of the translator for Italian language 2020-05-02 22:57:53 +03:00
Marius Stanciu 87f0d01edc - updated Italian translation 2020-05-02 22:56:17 +03:00
Marius Stanciu 9bad726247 - updated Italian translation 2020-05-02 22:55:00 +03:00
Marius Stanciu 2da0853b23 - working on a new feature: adding interdiction area for Gcode generation. They will be added in the Geometry Object 2020-05-02 22:53:48 +03:00
Marius Stanciu aa65b5196b Merged marius_stanciu/flatcam_beta/Beta 8.992 into Beta 2020-05-02 17:41:34 +03:00
Marius Stanciu e159bc3b45 - updated the Italian translation done by user @pcb-hobbyst 2020-05-02 16:55:52 +03:00
Marius Stanciu a4d58bc86d Merged marius_stanciu/flatcam_beta/Beta 8.992 into Beta 2020-05-02 16:01:08 +03:00
Marius Stanciu ada271cbd6 - modified the Cutout Tool to generate multi-geo objects therefore the set geometry parameters will populate the Geometry Object UI
- modified the Panelize Tool to optimize the output from Cutout Tool such that there are no longer overlapping cuts
- some string corrections
2020-05-02 15:56:30 +03:00
Marius Stanciu 532b96cb4e Merged marius_stanciu/flatcam_beta/Beta 8.992 into Beta 2020-05-02 04:54:47 +03:00
Marius Stanciu 48b3f8d65a - fixed bug in Gerber Editor in which the units conversion wasn't calculated correct
- fixed bug in Gerber Editor in which the QThread that is started on object edit was not stopped at clean up stage
- fixed bug in Gerber Editor that kept all the apertures (including the geometry) of a previously edited object that was not saved after edit
2020-05-02 04:54:09 +03:00
Marius Stanciu b029357f8f Merged marius_stanciu/flatcam_beta/Beta 8.992 into Beta 2020-05-02 00:10:31 +03:00
Marius Stanciu bdf2192d00 - changed the icons for the grid snap in the status bar
- moved some of the methods from FlatCAMApp.App to flatcamGUI.FlatCAMGUI class
2020-05-02 00:09:48 +03:00
Marius Stanciu 0dac23aea4 Merged marius_stanciu/flatcam_beta/Beta 8.992 into Beta 2020-05-01 17:43:03 +03:00
Marius Stanciu f4617034af - added in Gerber editor a method for zoom fit that takes into consideration the current geometry of the edited object 2020-05-01 17:42:16 +03:00
Marius Stanciu 176aa48469 Merged marius_stanciu/flatcam_beta/Beta 8.992 into Beta 2020-05-01 17:11:35 +03:00
Marius Stanciu 37c6bb2c61 - solve parenting issues when trying to load a FlatScript from Menu -> File -> Scripting
- added a first new example script and added some files to work with
- added a new parameter that will store the home folder of the FlatCAM installation so we can access the example folder
2020-05-01 17:10:42 +03:00
Marius Stanciu 6135276df5 Merged marius_stanciu/flatcam_beta/Beta 8.992 into Beta 2020-05-01 13:27:20 +03:00