Commit Graph

2754 Commits

Author SHA1 Message Date
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 a9c777030b - modified the GUI for Film and Panelize Tools 2020-05-18 06:48:30 +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 4cfecfa70a - reverted the previous changes to object collection; it is better to create empty methods in FlatCAMScript and FlatCAMDocument objects 2020-05-17 21:56:44 +03:00
Marius Stanciu c1941bc882 - fixed the object collection methods that return a list of objects or names of objects such that they have a parameter now to allow adding to those lists (or not) for the objects of type Script or Document. Thus fixing some of the Tcl commands such Set Origin 2020-05-17 19:48:46 +03:00
Marius Stanciu 9a53edd017 - grid snap toolbar is now always active 2020-05-17 19:16:49 +03:00
Marius Stanciu 18e128c57b - now the Edit command (either from Menu Edit ->Edit Object) or through the shortcut key (E key) or project tab context menu works also for the CNCJob objects (will open a text Editor with the GCode) 2020-05-17 16:26:25 +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 0a79030eba Merged jpcgt/flatcam/Beta into Beta_8.993 2020-05-13 15:04:23 +03:00
Marius Stanciu 905c9a3739 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-13 15:02:57 +03:00
Marius Stanciu ceef0849b2 - updated the French translation strings, made by @micmac (Michel) 2020-05-13 14:59:51 +03:00
Camellan b2a9541d32 Merged in camellan/flatcam/Beta (pull request #310)
Edit Russian translation
2020-05-13 11:56:24 +00:00
Marius Stanciu 96bf386294 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-13 14:55:41 +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 752113c035 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-12 16:52:38 +03:00
Marius Stanciu ce9b18f9ed - modified the Tcl command Paint "single" parameter. Now it's value is a tuple with the x,y coordinates of the single polygon to be painted. 2020-05-12 16:51:54 +03:00
Marius Stanciu 6aacd4d978 - fixed recent issues introduced in Tcl command Drillcncjob
- updated the Cncjob to use the 'endxy' parameter which dictates the x,y position at the end of the job
- now the Tcl commands Drillcncjob and Cncjob can use the toolchangexy and endxy parameters with or without parenthesis (but no spaces allowed)
2020-05-12 13:59:11 +03:00
Marius Stanciu 4a82224883 - wip 2020-05-12 03:35:08 +03:00
Marius Stanciu 853b3a886a Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-12 03:12:58 +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 a0d06d6c51 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-12 01:30:32 +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 1b8ed46f91 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-11 07:32:06 +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
camellan cb846cc3db Edit Ruaasian translation 2020-05-10 20:08:05 +04:00
Camellan 6070d22353 jpcgt/flatcam/Beta слито с Beta 2020-05-10 19:35:17 +04: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 b7fb18984e Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-10 01:05:44 +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 0d870dcde6 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-09 05:19:04 +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 1ca84b6893 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-08 22:01:53 +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 08d4c0947e Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-08 01:42:15 +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
Camellan d9b48a101f jpcgt/flatcam/Beta слито с Beta 2020-05-07 18:57:29 +04:00
Marius Stanciu bac0cddc12 Merged marius_stanciu/flatcam_beta/Beta_8.993 into Beta 2020-05-07 04:46:19 +03:00