Commit Graph

136 Commits

Author SHA1 Message Date
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 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 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 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 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
Marius Stanciu 07ae0c9c8b - small changes in Tools layout 2019-02-07 17:03:06 +02:00
Marius Stanciu ab026a1a9d - added a disable menu entry in the canvas contextual menu 2019-02-07 03:16:29 +02:00
Marius Stanciu 6c6a802afb - commented some debug messages
- imported speedups for shapely
2019-02-07 01:36:37 +02:00
Marius Stanciu 700222d5dc - in Paint Tool, when painting single polygon, when clicking on canvas for the polygon there is no longer a selection of the entire object 2019-02-07 00:53:51 +02:00
Marius Stanciu 1a8db0b5d9 - fixed the Tcl Command Geocutout to work with Gerber objects too (besides Geometry objects) 2019-02-06 22:32:32 +02:00
Marius Stanciu 2ee80990e5 - added a new function (and shortcut key Escape) that when triggered it deselects all selected objects and delete the selection box(es)
- fixed bug in Excellon Gcode generation that made the toolchange X,Y always none regardless of the value in Preferences
2019-02-06 21:37:50 +02:00
Marius Stanciu 9dfbae7515 - added plot kind for CNC Job in the App Preferences 2019-02-06 20:29:53 +02:00
Marius Stanciu 05ae92726c - renamed the theme to layout because it is really a layout change
- combined the geocutout and cutout_any TCL commands - work in progress
2019-02-06 16:59:17 +02:00
Marius Stanciu 8bbb9ba534 - all kwy shortcuts work across the entire application; started to move all the shortcuts definitions in FlatCAMGUI.keyPressEvent() 2019-02-06 16:23:09 +02:00
Marius Stanciu 67d089832e - all kwy shortcuts work across the entire application; started to move all the shortcuts definitions in FlatCAMGUI.keyPressEvent() 2019-02-06 14:44:16 +02:00
Marius Stanciu 28f11ef55f - small bugs related to shortcut keys solved 2019-02-06 14:27:11 +02:00
Marius Stanciu dedf8c09de - fixed the name self-insert in save dialog file for GCode; added protection in case the save path is None
- fixed FlatCAM crash when trying to make drills GCode out of a file that have only slots.
- made the shell toggle shortcut key work when focused on Selected Tab; toggle units shortcut also
- changed the messages for Units COnversion
2019-02-06 14:03:59 +02:00
Marius Stanciu b589292c0f - fixed bug in Excellon Slots milling: a value of a dict key was a string instead to be an int. A cast to integer solved it. 2019-02-06 02:17:29 +02:00
Marius Stanciu 299a6585a7 - done a regression on Tool Tab default text. It somehow delete Tools in certain scenarios so I got rid of it
- fixed bug in multigeometry geometry not having the bounds in self.options and crashing the GCode generation
- fixed bug that crashed whole application in case that the GCode editor is activated on a Tool gcode that is defective.
2019-02-06 00:16:14 +02:00
Marius Stanciu 2ea2ed0cb0 - fixed the units calculators crash FlatCAM when using comma as decimal separator 2019-02-05 22:32:48 +02:00
Marius Stanciu 3b8b7d470a - added a new parameter to set the feedrate of the probing in case the used postprocessor does probing (has toolchange_probe in it's name)
- fixed bug in Marlin postprocessor for the Excellon files; the header and toolchange event always used the parenthesis witch is not compatible with GCode for Marlin
- fixed a issue with a move to Z_move before any toolchange
2019-02-05 19:40:46 +02:00
Marius Stanciu 822800e7f5 - added a way to set the Probe depth if Toolchange_Probe postprocessors are selected
- finished the postprocessor file for MACH3 tool probing on toolchange event
2019-02-05 16:43:12 +02:00
Marius Stanciu ed6d262780 - added an initial text in the Tools tab
- added possibility to use the shortcut key for shortcut list in the Notebook tabs
2019-02-05 13:37:49 +02:00
Marius Stanciu bd3cb3aba3 - added a text in the Selected Tab which is showed whenever the Selected Tab is selected but without having an object selected to display it's properties 2019-02-05 13:04:37 +02:00
Marius Stanciu 3714203c95 - formatted the Shortcut List Tab into a HTML table 2019-02-04 23:41:17 +02:00
Marius Stanciu 8a6c48c7a9 - changed the shortcut keys for Zoom In, Zoom Out and Zoom Fit from 1, 2, 3 to '-', '=' respectively 'V'. Added new shortcut keys '1', '2', '3' for Select Project Tab, Select Selected Tab and Select Tool Tab. 2019-02-04 22:35:01 +02:00
Marius Stanciu 713b584841 - added a new parameter in the Tool Film which control the thickness of the stroke width in the resulting SVG. It's a scale parameter.
- whatever was the visibility of the corresponding toolbar when we enter in the Editor, it will be set after exit from the Editor (either Geometry Editor or Excellon Editor).
- added ability to be detached for the tabs in the Notebook section (Project, Selected and Tool)
- added ability for all detachable tabs to be restored to the same position from where they were detached.
- restored the way the tools autoloaded the objects in the comboboxes
2019-02-04 20:49:37 +02:00
Marius Stanciu 166fa0470b - modified ReadMe to correct a mistake 2019-02-04 16:30:48 +02:00
Marius Stanciu 4e8f8905c8 - modified the Toolchange_Probe_general postprocessor file to include now Z moves before the actual toolchange event
- created a prototype postprocessor file for usage with tool probing in MACH3
- added the default values for Tool Film and Tool Panelize to the Edit -> Preferences
2019-02-04 16:29:12 +02:00
Marius Stanciu e1888b1647 - added an automatic name on each save operation based on the object name and/or the current date
- added more information's for the statistics
2019-02-03 23:08:09 +02:00
Marius Stanciu 5e55f0d499 - fixed remove_tools() so the Tcl Shell action is readded to the Tools menu and reconnected to it's slot function 2019-02-03 16:49:33 +02:00
Marius Stanciu 7da1d23098 - added a remove_tools() function before install_tools() in the init_tools() that is called when creating a new project. Should solve the issue with having double menu entry's in the TOOLS menu 2019-02-03 16:29:56 +02:00
Marius Stanciu 6ea3499d39 - updated the new shortcut list with the shortcuts added lately
- now the special messages in the Shell are color coded according to the level. Before they all were RED. Now the WARNINGS are yellow, ERRORS are red and SUCCESS is a dark green. Also the level is in CAPS LOCK to make them more obvious
- some more changes to GUI interface (solved issues)
- added some status bar messages in the Geometry Editor to guide the user when using the Geometry Tools
- now the '`' shortcut key that shows the 'shortcut key list' in Editors points to the same window which is created in a tab no longer as a pop-up window. This tab can be detached if needed.
2019-02-03 15:13:09 +02:00