Commit Graph

1349 Commits

Author SHA1 Message Date
Marius Stanciu 64912949c6 - modified the Paint Tool UI 2020-02-16 03:11:46 +02:00
Marius Stanciu 25c9a31179 - more work in the new Laser Mode in the Paint Tool 2020-02-15 21:11:06 +02:00
Marius Stanciu d24290a2b6 - in Paint Tool added a new method of painting named Combo who will pass through all the methods until the polygon is cleared
- in Paint Tool attempting to add a new mode suitable for Laser usage
2020-02-15 06:23:39 +02:00
Marius Stanciu 49c82a3e33 - added the Preferences entries for the Gerber Invert Tool 2020-02-15 03:41:11 +02:00
Marius Stanciu 9fc2ba8ffd - added a new FlatCAM Tool: Gerber Invert Tool. It will invert the copper features in a Gerber file: where is copper there will be empty and where is empty it will be copper 2020-02-14 17:08:06 +02:00
Marius Stanciu 6926b5be65 - adjusted the UI for Excellon and Geometry objects 2020-02-14 05:07:11 +02:00
Marius Stanciu 8ff3248c25 - minor changes in the Tool Transform and Tool Calculators UI to bring them up2date with the other tools 2020-02-13 21:22:21 +02:00
Marius Stanciu 7c9c390ac3 - finished Punch Gerber Tool
- minor PEP8 changes
2020-02-13 21:06:10 +02:00
Marius Stanciu 1a2b6501f8 - updated the ReadMe to update that the latest issues were fixed 2020-02-12 23:30:28 +02:00
Marius Stanciu e936e0e116 - fixed bug: when deleting a FlatCAMCNCJob with annotations enabled, the annotations are not deleted from canvas;
- fixed bug: creating a new project while a project is open and it contain CNCJob annotations and/or Gerber mark shapes, did not delete them from canvas
2020-02-12 23:28:21 +02:00
Marius Stanciu b3ba2d32da - working on fixing a bug in FlatCAMGeometry.merge() - FIXED 2020-02-12 16:47:11 +02:00
Marius Stanciu c2373da17a - working on fixing a bug in FlatCAMGeometry.merge() 2020-02-12 16:43:13 +02:00
Marius Stanciu 67a2350a59 - minor change in ReadMe file 2020-02-12 02:51:15 +02:00
Marius Stanciu f9c63c03aa - working on Tool Punch; finished the geometry update with the clear geometry for the case of Fixed Diameter method 2020-02-12 02:48:35 +02:00
Marius 26639b695a Merge remote-tracking branch 'origin/new_ncc_tool_2' into new_ncc_tool_2 2020-02-11 00:15:08 +02:00
Marius Stanciu 76545de434 - working on Tool Punch; finished the geometry update with the clear geometry for the case of Excellon method 2020-02-11 00:14:50 +02:00
Marius Stanciu cf9f15152a - some cleanup and bug fixes for the Paint Tool 2020-02-10 13:46:03 +02:00
Marius Stanciu 82ab0d83d6 - started a new way to clear the Gerber polygons based on the 'follow' lines 2020-02-10 12:27:49 +02:00
Marius Stanciu e3be6ff22f - applied the fix for above bug to the TclCommand Drillcncjob too 2020-02-10 04:30:32 +02:00
Marius Stanciu 0807e9aaf1 - solved bug that made drilling with Marlin preprocessor very slow 2020-02-10 04:28:46 +02:00
Marius Stanciu c004c9082f - optimized the Paint and NCC Tools. When the Lines type of painting/clearing is used, the lines will try to arrange themselves on the direction that the lines length clearing the polygon are bigger 2020-02-10 04:00:34 +02:00
Marius Stanciu d33505096c - modified the Excellon GCode generation so now it can use multi depth drilling; modified the preprocessors to show the number of passes 2020-02-08 22:38:08 +02:00
Marius Stanciu 48029da52b - added a new preprocessor file for using laser on a Marlin motion controller but with the laser connected to one of the FAN pins, named 'Marlin_laser_use_FAN_pin' 2020-02-08 20:38:51 +02:00
Marius Stanciu 9911402c95 - added a new preprocessor for using laser on a Marlin 3D printer named 'Marlin_laser'
- modified the Geometry UI when using laser preprocessors
2020-02-08 18:01:32 +02:00
Marius Stanciu 7424bb917c - Modified the Distance Tool such that the Measure button can't be clicked while measuring is in progress
- optimized selection of drills in the Excellon Editor
- fixed bugs in multiple selection in Excellon Editor
- fixed selection problems in Gerber Editor
- in Distance Tool, when run in the Excellon or Gerber Editor, added a new option to snap to center of the geometry (drill for Excellon, pad for Gerber)
2020-02-06 01:39:19 +02:00
Marius Stanciu 23a1495c32 - fixed the preprocessors with 'laser' in the name to use the spindle direction set in the Preferences
- increased the upper limit for feedrates by an order of magnitude
2020-02-03 14:46:39 +02:00
Marius Stanciu 10d4ed512b - modified Spinbox and DoubleSpinbox Custom UI elements such that they issue a warning status message when the typed value is out of range 2020-02-03 02:18:28 +02:00
Marius Stanciu 31c0cd0952 - small changes in Gerber UI
- in Geometry Editor make sure that after an edit is finished (correctly or forced) the QTree in the Editor UI is cleared of items
2020-02-03 00:43:38 +02:00
Marius Stanciu c7074d71ba - fixed an error in Gerber Parser; the initial values for currnet_x, current_y were None but should have been 0.0
- limited the lower limit of angle of V-tip to a value of 1 because 0 makes no sense
2020-02-02 15:54:09 +02:00
Marius Stanciu 1be1851ac7 - in Excellon UI, if Basic application mode is selected in Preferences, the Plot column 'P' is hidden now because some inexperienced users mistake this column checkboxes for tool selection 2020-02-02 05:53:03 +02:00
Marius Stanciu bfd71a81b8 - fixed issue #376 where the V-Shape parameters from Gerber UI are not transfered to the resulting Geometry object if the 'combine' checkbox is not checked in the Gerber UI 2020-02-02 05:34:26 +02:00
Marius Stanciu 7aea33914c - fixed a division by zero error: fixed #377 2020-02-01 06:59:15 +02:00
Marius Stanciu 6eb96264f1 - fixed some bugs 2020-02-01 04:01:48 +02:00
Marius Stanciu 0b162bbd55 - added a new functionality, a variation of Set Origin named Move to Origin. It will move a selection of objects to origin such as the bottom left corner of the bounding box that fit them all is in origin. 2020-01-31 22:34:20 +02:00
Marius Stanciu ece94b7f60 - some UI changes in the common object UI 2020-01-30 06:26:14 +02:00
Marius Stanciu a44d7b97b5 - some changed in the Excellon UI 2020-01-30 05:55:46 +02:00
Marius Stanciu 123ae16b20 - remade GUI in Tool Cutout, Tool Align Objects, Tool Panelize 2020-01-30 05:14:05 +02:00
Marius Stanciu cd45276819 - updated 2Sided Tool 2020-01-29 21:49:22 +02:00
Marius Stanciu a6b2b0af54 - remade the GUI + small fixes in 2Sided Tool 2020-01-29 15:52:44 +02:00
Marius Stanciu d7f7d79d6a - changes in how the Editor exit is handled
- small fix in some pywin32 imports
2020-01-29 03:14:46 +02:00
Marius Stanciu 85afb7cdb2 - some changes in Excellon Editor 2020-01-28 17:34:21 +02:00
Marius Stanciu fd0438842d - finished adding in Geometry Editor a TreeWidget with the geometry shapes found in the edited object 2020-01-28 03:59:15 +02:00
Marius Stanciu 64ff4fb9fd - started t omake some changs in Geometry Editor 2020-01-27 17:43:00 +02:00
Marius Stanciu fbf0b8606e - made some structural changes in Properties Tool 2020-01-27 17:20:06 +02:00
Marius Stanciu aa7bc125f4 - the Jump To popup window will now autoselect the LineEdit therefore no more need for an extra click after launching the function 2020-01-27 15:27:34 +02:00
Marius Stanciu 251dfd3fb7 - in Geometry Editor made sure that on final save, for MultiLineString geometry all the connected lines are merged into one LineString to minimize the number of vertical movements in GCode
- more work in Punch Gerber Tool
2020-01-27 04:12:46 +02:00
Marius Stanciu 0be89a4dfb - update in the GUI for the Punch Gerber Tool 2020-01-25 03:19:42 +02:00
Marius Stanciu 3ac8e96071 - fixed bugs in Minimum Distance Tool 2020-01-25 01:44:44 +02:00
Marius Stanciu ca87475694 - small changes to the Toolchange manual preprocessor
- fix for plotting Excellon objects if the color is changed and then the object is moved
- laying the GUI for a new Tool: Punch Gerber Tool which will add holes in the Gerber apertures
2020-01-24 22:12:15 +02:00
Marius Stanciu 11d4dd633f - fixed a bug in the bounding box generation 2020-01-22 01:08:35 +02:00
Marius Stanciu 5b63dee50d - made possible to set the colors for Excellon objects too
- added to the possible colors the fundamentals: black and white
- in the project context menu for setting colors added the option to set the transparency and also a default option which revert the color to the default value set in the Preferences
2020-01-19 19:47:42 +02:00
Marius Stanciu 4047cc8499 - fixed and issue that made setting colors for the Gerber file not possible if using a translation 2020-01-19 17:55:34 +02:00
Marius Stanciu 87faa7e840 - restored the Readme file 2020-01-19 17:47:35 +02:00
Marius Stanciu abc20cf0a5 - optimized the object envelope generation in the redesigned NCC Tool 2020-01-18 01:47:48 +02:00
Marius Stanciu 36280d9f54 - some updates in NCC Tool 2020-01-17 23:06:28 +02:00
Marius Stanciu 6c43ffca1e - more work in NCC Tool upgrade; each tool now work with it's own set of parameters 2020-01-17 17:02:49 +02:00
Marius Stanciu eae5b3d8e3 - changes to Geometry UI 2020-01-17 03:42:50 +02:00
Marius Stanciu 957903d307 - more changes to Excellon UI 2020-01-17 03:15:13 +02:00
Marius Stanciu c417030896 - moved default_data data update from Excellon parser to the Excellon object constructor 2020-01-16 16:55:34 +02:00
Marius Stanciu b71d4e8c45 - in ParseExcellon.Excellon the self.tools dict has now a key 'data' which holds a dict with all the default values for Excellon and Geometry
- Excellon and Geometry objects, when started with multiple tools selected, the parameters tool name reflect this situation
2020-01-16 16:43:39 +02:00
Marius Stanciu 0221a9cfb6 - updated the Excellon and Geometry UI to be similar
- put bases for future changes to Excellon Object UI such that each tool will hold it's own parameters
2020-01-16 15:49:51 +02:00
Marius Stanciu 24e01ad518 - a small change in the Excellon UI 2020-01-16 02:33:54 +02:00
Marius Stanciu 5ffa9b6470 - updated the GUI in preferences for Calculator Tool 2020-01-16 02:21:20 +02:00
Marius Stanciu 3c569fdf6c - updated/optimized the GUI in Preferences for Paint Tool and for NCC Tool
- work in Paint Tool to bring it up to date with NCC Tool
2020-01-16 02:07:00 +02:00
Marius Stanciu 82afd3bb6e - work in Paint Tool GUI functionality 2020-01-15 17:59:12 +02:00
Marius Stanciu f9a8d09b26 - modified the NCC Tool GUI to prepare for accepting a tool from a tool database
- started to modify the Paint Tool to be similar to NCC Tool and to accept a tool from a database
2020-01-15 17:47:28 +02:00
Marius Stanciu 821014f719 - added key shortcuts and toolbar icons for the new tools: Align Object Tool (ALT+A) and Extract Drills (ALT+I)
- added new functionality (key shortcut SHIFT+J) to locate the corners of the bounding box (and center) in a selected object
2020-01-15 02:50:27 +02:00
Marius Stanciu acfb1ca9e7 - finished Dual Point option in Align Objects Tool 2020-01-15 00:55:12 +02:00
Marius Stanciu a8bea7805e - working on the Dual Point option in Align Objects Tool - angle has to be recalculated 2020-01-14 17:18:24 +02:00
Marius Stanciu 9a3f3b600b - in Extract Drill Tool added a new method of drills extraction. The methods are: fixed diameter, fixed annular ring and proportional
- in Align Objects Tool finished the Single Point method of alignment
2020-01-14 16:23:23 +02:00
Marius Stanciu f9ec233b0f - working on the Align Objects Tool 2020-01-14 02:45:03 +02:00
Marius Stanciu 5c932dc5cc - fixed an issue in Gerber parser introduced recently due of changes made to make Gerber files produced by Sprint Layout 2020-01-14 01:36:37 +02:00
Marius Stanciu 41277d78ce - started the add of a new Tool: Align Objects Tool which will align (sync) objects of Gerber or Excellon type 2020-01-13 21:43:25 +02:00
Marius Stanciu 02cfd96715 - fixed a small GUI issue in Excellon UI when Basic mode is active 2020-01-13 16:06:29 +02:00
Marius Stanciu 5b3f318e56 - if CTRL key is pressed during app startup the app will start in the Legacy(2D) graphic engine compatibility mode 2020-01-12 17:26:48 +02:00
Marius Stanciu c9111dac9b - fixed an issue in Gerber parser with detecting old kind of units 2020-01-12 04:05:13 +02:00
Marius Stanciu a9b93cafa1 - improved the circle approximation resolution 2020-01-12 03:28:05 +02:00
Marius Stanciu f8c22ea32f - Extract Drills Tool: fixed issue with oblong pads and with pads made from aperture macros
- Extract Drills Tool: added controls in Edit -> Preferences
2020-01-12 00:30:17 +02:00
Marius Stanciu c28f08a392 - fixed an issue in the Distance Tool
- expanded the Extract Drills Tool to use a particular annular ring for each type of aperture flash (pad)
2020-01-11 17:30:48 +02:00
Marius Stanciu c16ecfe0c3 - fixed issue in Film Tool where some parameters names in calls of method export_positive() were not matching the actual parameters name
- finished the Extract Drills Tool
- fixed a small issue in the DoubleSided Tool
2020-01-11 00:52:06 +02:00
Marius Stanciu f2ccb48c98 - finished the GUI in the Extract Drills Tool 2020-01-10 16:56:29 +02:00
Marius Stanciu fc31bb573d - working on a new tool: Extract Drills Tool who will create a Excellon object out of the apertures of a Gerber object 2020-01-10 15:56:23 +02:00
Marius Stanciu 856f568f9e - selected rows in the Tools Tables will stay colored in blue after loosing focus instead of the default gray
- in NCC Tool the Tool name in the Parameters section will be the Tool ID in the Tool Table
- added an exception catch in case the plotcanvas init failed for the OpenGL graphic engine and warn user about what happened
2020-01-09 00:06:38 +02:00
Marius Stanciu 5ff9f953c6 - working in NCC Tool 2020-01-08 17:14:10 +02:00
Marius Stanciu 48888adb58 - updates in NCC Tool 2020-01-07 16:49:57 +02:00
Marius Stanciu b327c216d7 - solved issue #368 - when using the Enable/Disable prj context menu entries the plotted status is not updated in the object properties 2020-01-07 14:47:29 +02:00
Marius Stanciu e062a4fad2 - working on new NCC Tool 2020-01-06 17:36:53 +02:00
Marius Stanciu e090b96c7c - modified Toggle Workspace function to work in the new Preferences UI configuration
- cleaned the app from progress signal usage since it is not used anymore
2020-01-03 01:41:03 +02:00
Marius Stanciu e0825bfce3 - made available only for Linux and Windows (not OSX) the starting of the thread that checks if another instance of FlatCAM is already running at the launch of FLatCAM 2020-01-02 20:41:27 +02:00
Marius Stanciu 6f5a775388 - for auto-completer, now clicking an entry in the completer popup will select that entry and insert it 2020-01-02 05:06:08 +02:00
Marius Stanciu fd9d18b52b - started to rework the NCC Tool GUI in preparation for adding a Tool DB feature 2020-01-02 04:28:18 +02:00
Marius Stanciu 84c8588f89 - fixed the Drillcncjob Tcl command by adding an custom self.options key "Tools_in_use" and build it's value, in case it does not exist, to make the toolchange command work
- middle mouse click on closable tabs will close them
2020-01-02 01:50:49 +02:00
Marius Stanciu b5d69f493d - added ability for Tcl commands to have optional arguments with None value (meaning missing value). This case should be treated for each Tcl command in execute() method 2020-01-01 22:24:43 +02:00
Marius Stanciu 0447839e43 - modified the extracut and multidepth parameters in Cncjob Tcl command like for dwell and toolchange 2020-01-01 21:17:47 +02:00
Marius Stanciu 779a6a75d4 - modified the Drillcncjob and Cncjob Tcl commands to be allowed to work without the 'dwell' and 'toolchange' arguments. If 'dwelltime' argument is present it will be assumed that the 'dwell' is True and the same for 'toolchangez' parameter, if present then 'toolchange' will be assumed to be True, else False 2020-01-01 20:42:59 +02:00
Marius Stanciu a738ed7305 - in NCC Tool I've added a warning so the user is warned that the NCC margin has to have a value of at least the tool diameter that is doing an iso_op job in the Tool Table 2020-01-01 19:08:15 +02:00
Marius Stanciu 3475ae00cd - fixed bug in NCC Tool: after trying to add a tool already in the Tool Table when trying to change the Tool Type the GUI does not change
- final fix for app not quiting when running a script as argument, script that has the quit_flatcam Tcl command; fixed issue #360
- fixed issue #363. The Tcl command drillcncjob does not create tool cut, does not allow creation of gcode, it forces the usage of dwell and dwelltime parameters
2020-01-01 16:13:33 +02:00
Marius Stanciu c8955e0a00 - TclCommand quit_flatcam work under Linux 2019-12-31 03:17:17 +02:00
Marius Stanciu 1e3947a244 - another attempt to make TclCommand quit_flatcam work under Linux - use signal to call a hard exit when in Linux 2019-12-31 02:37:11 +02:00
Marius Stanciu d3f144dec4 - another attempt to make TclCommand quit_flatcam work under Linux 2019-12-30 23:53:56 +02:00