Commit Graph

801 Commits

Author SHA1 Message Date
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 c22d6766f4 - small GUI change 2019-02-18 23:50:33 +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 bb8dcb37b9 - fixed a bug in Tool Transform that made the user to not be able to capture the click coordinates with SHIFT + LMB click combo
- added the ability to choose an App QStyle out of the offered choices (different for each OS) to be applied at the next app start (Preferences -> General -> Gui Pref -> Style Combobox)
- added support for FlatCAM usage with High DPI monitors (4k). It is applied on the next app startup after change in Preferences -> General -> Gui Pref -> HDPI Support Checkbox
2019-02-18 16:11:24 +02:00
Marius Stanciu 13dc84809c - finished adding Transform Tool in Geometry Editor - everything is working as intended 2019-02-18 05:28:03 +02:00
Marius Stanciu 3d5c6840aa - finished adding Transform Tool in Geometry Editor - everything is working as intended 2019-02-18 05:20:09 +02:00
Marius Stanciu eece2fbe56 - in Geometry Editor by selecting a shape with a selection shape, that object was added multiple times (one per each selection) to the selected list, which is not intended. Bug fixed. 2019-02-18 04:20:36 +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 0f66e63526 - when deselecting an object in Project menu the status bar selection message is deleted 2019-02-17 15:39:46 +02:00
Marius Stanciu 8eff3206b2 - when pressing Escape in Geometry Editor it will automatically deselect any shape not only the currently selected tool. 2019-02-17 15:16:57 +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 a103b5d263 - removed python3-ezdxf from setup-ubuntu file since it is not available. ezdxf module will be installed through pip command 2019-02-17 03:47:16 +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 a7398961c7 Merged in test_beta_8.909 (pull request #133)
Test beta 8.909
2019-02-16 14:26:12 +00: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 71d8b2df36 - fixed Excellon parser to detect correctly the units and zeros for Excellon's generated by Eagle 9.3.0
- modified the initial size of the canvas on startup
- modified the build file (make_win.py) to solve the issue with suddenly not accepting the version as Beta
2019-02-16 14:43:26 +02:00
Marius Stanciu b6d36bb86d - fixed DblSided Tool issue when entering Tool diameter values with comma decimal separator instead of decimal dot separator
- fixed Cutout Tool Freeform to generate cutouts with options: LR, TB. 2LR, 2TB which didn't worked previously
2019-02-16 12:40:44 +02:00
Marius Stanciu ffb7931adb - added messages in info bar when selecting objects in the Project View list
- fixed DblSided Tool so it correctly creates the Alignment Drills Excellon file using the new structure
- fixed DblSided Tool so it will not crash the app if the user tries to make a mirror using no coordinates
- added some relevant status bar messages in DblSided Tool
- fixed DblSided Tool to correctly use the Box object (until now it used as reference only Gerber object in spite of Excellon or Geometry objects being available)
- fixed DblSided Tool crash when trying to create Alignment Drills object without a Tool diameter specified
2019-02-16 12:22:07 +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 681f1ef1eb - more updates on project save choice 2019-02-16 00:42:18 +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 fffdd6db97 - small changes 2019-02-14 23:55:43 +02:00
Marius Stanciu fa0ee40e90 - in Gerber aperture table now the values are displayed in the current units set in FlatCAM 2019-02-14 23:21:20 +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 a879803f97 - added 'FlatCAM ' prefix to any detached tab, for easy identification 2019-02-14 13:50:58 +02:00
Marius Stanciu 3a05ebaffb - added total travel distance for CNCJob object created from Excellon Object in the CNCJob Selected tab 2019-02-14 01:21:24 +02:00
Marius Stanciu e091fd232d - added (and commented) an experimental FlatCAMObj.FlatCAMGerber.plot_apertures() 2019-02-14 00:09:48 +02:00
Marius Stanciu 15b533f25e - made the Gerber aperture table not visibile as default and added a checkbox that can toggle the visibility
- fixed issue with plotting in CNCJob; with Plot kind set to something else than 'all' when toggling Plot, it was defaulting to kind = 'all'
2019-02-13 23:48:43 +02:00
Marius Stanciu 53e8e4d486 - made the Gerber aperture table hidden by default and added a checkbox to show it 2019-02-13 22:34:56 +02:00
Marius Stanciu f3b1b45968 - changed the layout in the Selected Tab UI
- started to add apertures table support
- finished Gerber aperture table display
2019-02-13 17:26:21 +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 c94679919d - stored solid_geometry of Excellon object in the self.tools dictionary
- finished the solid_geometry restore after edit in Excellon Editor
- finished plotting selection for each tool in the Excellon Tool Table
- fixed the camlib.Excellon.bounds() function for the new type of Excellon geometry therefore fixed the canvas selection, too
2019-02-13 01:22:09 +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 9b61e4cc37 - finished work on Offset parameter in Excellon Object (Excellon Editor, camlib, FlatCAMObj updated to take this param in consideration)
- fixed a bug where in Excellon editor when editing a file, a tool was automatically added. That is supposed to happen only for empty newly created Excellon Objects.
2019-02-12 15:12:12 +02:00