Commit Graph

779 Commits

Author SHA1 Message Date
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
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 4609f61546 - changes in Toolchange_Probe_MACH3 postprocessor file 2019-02-10 23:36:59 +02:00
Marius Stanciu 8cedc0cad9 - added a pause and message/warning to do a rough zero for the Z axis, in case of Toolchange_Probe_MACH3 postprocessor file 2019-02-10 23:04:37 +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 258f877865 - changed some log messages 2019-02-10 14:02:53 +02:00
Marius Stanciu f01ac4483a - adjusted the postprocessor files so the Spindle Off command (M5) is done before the move to Toolchange Z
- adjusted the Toolchange Manual postprocessor file to have more descriptive messages on the toolchange event
2019-02-10 13:42:22 +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 c59da8669b Merged in test_beta_8.907 (pull request #132)
Test beta 8.907
2019-02-09 15:00:09 +00: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 8b0a9a429a - fixed some errors 2019-02-09 01:47:59 +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 824b1a95ab - moved all shortcut keys handlers from Editors to the keyPressEvent() handler from FLatCAMGUI 2019-02-08 16:57:51 +02:00
Marius Stanciu 2be35e4248 - fixed errors in Toggle Axis
- fixed error with shortcut key triggering twice the keyPressEvent when in the Project List View
2019-02-08 15:55:32 +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 0bc018bbe0 - added an empty message when deselection is done by shortcut key Escape 2019-02-07 23:13:11 +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