Marius
5abb7866d8
- maintenance_1
2020-06-02 18:24:44 +03:00
Marius Stanciu
ba3f10d355
- renamed classes to have shorter names and grouped
2020-05-18 16:02:41 +03:00
Marius Stanciu
4c83e87feb
- moved some of the GUI related methods from FlatCAMApp.App to the flatcamGUI.FlatCAMGUI class
...
- moved Shortcuts Tab creation in it's own class
2020-05-18 15:43:07 +03:00
Marius Stanciu
af2cc005b0
- made the workspace label in the status bar clickable and also added a status bar message on status toggle for workspace
2020-05-18 06:08:43 +03:00
Marius Stanciu
1085d26b7b
- fixed the PDF Tool when importing as Gerber objects
...
- moved all the parsing out of the PDF Tool to a new file ParsePDF in the flatcamParsers folder
- trying to fix the pixmap load crash when running a FlatCAMScript
2020-05-18 05:46:57 +03:00
Marius Stanciu
0aeef246ea
- fixed the workspace being always A4
...
- added a label in the status bar to show if the workplace is active and what size it is
2020-05-17 15:53:13 +03:00
Marius Stanciu
29ce53b577
- solved the issue with the GUI in the Notebook being expanded too much in width due of the FCDoubleSpinner and FCSpinner sizeHint by setting the sizePolicy to Ignored value
2020-05-17 05:40:52 +03:00
Marius Stanciu
d0e80043a4
- added a menu entry in Menu -> View for Toggle HUD
2020-05-17 04:02:50 +03:00
Marius Stanciu
28f0c9c276
- added new FlatCAM Tool: Corner Markers Tool which will add line markers in the selected corners of the bounding box of the targeted Gerber object
2020-05-17 03:27:26 +03:00
Marius Stanciu
fa33a5f487
- worked on the NCC Tool; added a new clear method named 'Combo' which will go through all methods until the clear is done
...
- added a Preferences parameter for font size used in HUD
2020-05-16 19:13:05 +03:00
Marius Stanciu
41922f5c7c
- updated the Distance Tool such that the right click of the mouse will cancel the tool unless it was a panning move
...
- modified the PlotCanvasLegacy to decide if there is a mouse drag based on the distance between the press event position and the release event position. If the distance is smaller than a delta distance then it is not a drag move.
2020-05-13 00:59:35 +03:00
Marius Stanciu
7ec3fa73af
- the HUD display state is now persistent between app restarts
2020-05-13 00:08:56 +03:00
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
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
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
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
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
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
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
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
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
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
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
1bbbb70fc8
- fixed issue #409 ; problem was due of an assert I used in the handler of the Menu ->Options -> Flip X(Y) menu entry
...
- activated and updated the editing in the Aperture Table in the Gerber Editor; not all parameters can be edited for every type of aperture
- some strings updated
2020-05-01 00:16:24 +03:00
Marius Stanciu
40535b9ffe
- fixed bug in Tools DB that crashed when a tool is copied
...
- in Tools Database added a Save Button whose color is changed in Red if the DB was modified and back to default when the DB is saved.
- fixed bug in Tool DB that crashed the app when the Tool Name was modified but there was no tree item (a tool in the list) selected in the Tree widget (list of tools)
- now on tool add and tool copy, the last item (tool, which is the one added) is autoselected; o tool delete always the first item (tool) is selected
2020-04-30 19:34:05 +03:00
Marius Stanciu
98541775d4
- made some corrections - due of recent refactoring PyCharm reported errors all over (not correct but it made programming difficult)
...
- modified the requirements.txt file to force svg.path module to be at least version 4.0
2020-04-30 12:47:07 +03:00
David Robertson
9be8665311
Grouped the preferences UI files by tab (except for tools1/2 which I put together)
2020-04-30 00:11:45 +01:00
David Robertson
6b36667c15
Merge branch 'Beta' into separate-PreferencesUI-classes-into-individual-files
2020-04-29 23:42:35 +01:00
David Robertson
f7989c029f
Split up PreferencesUI.py into individual files for each class, then fixed the imports everywhere that broke because of this.
2020-04-29 22:53:16 +01:00
Marius Stanciu
65717ddce1
- some more strings changed -> updated the translations
...
- replaced some FormLayouts with Gridlayouts in Tool Cutout.
2020-04-30 00:05:12 +03:00
David Robertson
aa16b5e339
Shift the PreferencesUI.py file into a new `preferences` subpackage
2020-04-29 22:02:25 +01:00
Marius Stanciu
804b62af7f
- solved the problem with not closing all the tabs in Plot Area when creating a New Project; the issue was that once a tab was removed the indexes are remade (when tab 0 is removed then tab 1 becomes tab 0 and so on)
2020-04-29 21:43:28 +03:00
Marius Stanciu
2ca6e2e3f1
- modified the method that detects which tab was closed in the Plot Area so it will no longer depend on it's translated text but on it's objectName set on the QTab creation
2020-04-29 10:48:47 +03:00
Marius Stanciu
a5384d50d8
- more PEP8 changes
...
- in PreferencesUI.PreferencesUIManager class I removed the need to pass reference to the App class since it this was available through the 'ui' parameter
- some fixes due to recent refactoring
- minor bugs fixed (not so visible)
- promoted some methods to be static
- set the default layout on first run to the 'minimal' value
2020-04-29 10:09:07 +03:00
David Robertson
db37714025
Merge branch 'Beta' of https://bitbucket.org/jpcgt/flatcam into extract-prefs-code-from-app-class
2020-04-29 02:57:17 +01:00
David Robertson
a05c174ec8
Fix some things that I broke and further cleanup
2020-04-29 02:46:52 +01:00
David Robertson
72c2dd5f26
Working on extracting the prefs UI code from the App class
2020-04-29 01:49:34 +01:00
Marius Stanciu
907e4bc6d9
- disabled a skip_quotes method in ToolShell.FCShell class so I can now use quotes to enclose file paths with spaces inside
2020-04-28 21:08:40 +03:00
Marius Stanciu
35674c9647
- in SVG parser modified some imports to be one on each line
...
- fixed the Tcl Command BBox (leftovers from recent global changes)
- fixed some typos in strings reported by @pcb-hobbyst on FlatCAM forum
2020-04-28 19:34:23 +03:00