Commit Graph

1389 Commits

Author SHA1 Message Date
Marius Stanciu 70dd9aecae - working in updating NCC Tool 2020-03-29 21:39:20 +03:00
Marius Stanciu a872a958ca - in the new Tools DB added ability to double click on the ID in the tree widget to execute adding a tool from DB 2020-03-29 21:10:30 +03:00
Marius Stanciu 4aeadde3da - started to add the new database links in the NCC and Paint Tools 2020-03-29 17:48:46 +03:00
Marius Stanciu d6adb99ec8 - fixed a bug in Geometry object that generated a change of dictionary while iterating over it 2020-03-29 15:09:30 +03:00
Marius Stanciu e8adcb0c10 - fixed issues in the new database when adding the tool in a Geometry object 2020-03-29 15:07:18 +03:00
Marius Stanciu 1ca650e883 - modified the new database to accept data from NCC and Paint Tools 2020-03-29 14:22:11 +03:00
Marius Stanciu 5554cf0afa - finished the new database based on a QTreeWidget 2020-03-28 22:22:53 +02:00
Marius Stanciu 91884a57e0 - fixed Cutout Tool to work with negative values for Margin parameter 2020-03-21 09:12:15 +02:00
Marius Stanciu 7415ebc8af - fixed bugs in cncjob TclCommand 2020-03-20 17:12:20 +02:00
Marius Stanciu ffaea546db - fixed issue in "re-cut" feature when combined with multi-depth feature 2020-03-20 16:28:59 +02:00
Marius Stanciu 22f74edfab - added to Paint and NCC Tool a feature that allow polygon area selection when the reference is selected as Area Selection
- in Paint Tool and NCC Tool added ability to use Escape Tool to cancel Area Selection and for Paint Tool to cancel Polygon Selection
2020-03-20 13:25:14 +02:00
Marius Stanciu f4f87eb2a7 - updated the "re-cut" feature in Geometry object; now if the re-cut parameter is non zero it will cut half of the entered distance before the isolation end and half of it after the isolation end 2020-03-20 05:04:52 +02:00
Marius Stanciu e6917ba1ab - fixed Properties Tool due of recent changes to the FCTree widget 2020-03-13 15:43:26 +02:00
Marius Stanciu 98f4a82ad4 - fixed a bug in CNCJob generation out of a Excellon object; the plot failed in case some of the geometry of the CNCJob was invalid 2020-03-13 13:29:59 +02:00
Marius Stanciu 1a06ce6a2d - working on the new database
- fix a bug in the TextInputTool in FlatCAM Geometry Editor that crashed the sw when some fonts are not loaded correctly
2020-03-12 18:20:22 +02:00
Marius Stanciu 15ee54d057 - updated all the FlatCAM Tools and the Gerber UI FCComboBoxes to update the box value with the latest object loaded in the App
- some fixes in the NCC Tool
- modified some strings
2020-03-04 00:27:51 +02:00
Marius Stanciu 0477a9860a - added property that allow the FCComboBox to update the view with the last item loaded; updated the app to use this property 2020-03-02 06:17:18 +02:00
Marius Stanciu bac37865e9 - updated the UI in Geometry Editor 2020-03-01 20:40:07 +02:00
Marius Stanciu 5b10e9faf0 - updated the CutOut Tool such that while adding manual gaps, the cutting geometry is updated on-the-fly if the gap size or tool diameter parameters are adjusted 2020-03-01 19:23:06 +02:00
Marius Stanciu 70d3895799 - working on a new type of database 2020-03-01 00:52:24 +02:00
Marius Stanciu acc61d460b - fixed error in CutOut Tool when trying to create a FreeFrom Cutout out of a Gerber object with the Convex Shape checked 2020-02-29 22:21:09 +02:00
Marius Stanciu 2c7dff5dbe - compacted the NCC Tool UI by replacing some Radio buttons with Combo boxes due of too many elements 2020-02-29 19:05:00 +02:00
Marius Stanciu c5e4d72db8 - solved issue #381 where there was an error when trying to generate CNCJob out of an Excellon file that have a tool with only slots and no drills
- solved some issues in the preprocessors regarding the newly introduced feature that allow control of the final move X,Y positions
2020-02-28 17:59:15 +02:00
Marius Stanciu 69607816d0 - some small changes in preprocessors 2020-02-28 01:12:39 +02:00
Marius Stanciu 8a6ada1984 - added a new parameter named 'End Move X,Y' for the Geometry and Excellon objects. Adding a tuple of coordinates in this field will control the X,Y position of the final move; not entering a value there will cause not to make an end move 2020-02-26 04:43:54 +02:00
Marius Stanciu 522b98fef3 - fixed bug in Gerber parser: it tried to calculate a len() for a single element and not a list - a Gerber generated by Eagle exhibited this 2020-02-25 21:22:51 +02:00
Marius Stanciu b6663ddd43 - in NCC Tool modified the UI 2020-02-20 06:14:17 +02:00
Marius Stanciu a2c0244e18 - in Paint Tool replaced the Selection radio with a combobox GUI element that is more compact 2020-02-20 05:14:48 +02:00
Marius Stanciu dab46ef3ae - in FlatCAMObj.export_gerber() method took into account the possibility of polygons of type 'clear' (the ones found in the Gerber files under the LPC command) 2020-02-19 22:09:32 +02:00
Marius Stanciu 72ce53182d - on Set Origin, Move to Origin and Move actions for Gerber and Excellon objects the source file will be also updated (the export functions will export an updated object) 2020-02-19 21:26:08 +02:00
Marius Stanciu 6a24c8e204 - fixed an issue in Gerber Editor where the multiprocessing pool was reported as closed and an ValueError exception was raised in a certain scneraio 2020-02-19 16:57:36 +02:00
Marius Stanciu f8f337526d - fixed some issues in the Geometry Editor; the jump sigmal disconnect was failing for repeated Editor tool operation 2020-02-19 14:15:06 +02:00
Marius Stanciu 042dc26cfa - fixed the Offset spinbox not being controller by offset checkbox in NCC Tool 2020-02-18 04:26:53 +02:00
Marius Stanciu a9c6db73bf - when multiple tools are selected in Excellon UI and parameters are modified it will applied to all selected
- in Excellon UI, Paint Tool and NCC Tool finished the "Apply parameters to all tools" functionality
- updated Paint Tool and NCC Tool in the UI functionality
2020-02-18 04:12:23 +02:00
Marius Stanciu 124ba6cdc6 - adapted the GCode generation from Excellon to work with multiple tools data and modified the preprocessors header 2020-02-17 16:35:09 +02:00
Marius Stanciu 7292a30b9e - fixed some issues realted to the usage of the new confirmation message in FlatCAM Tools
- made sure that the FlatCAM Tools UI initialization is done only in set_tool_ui() method and not in the constructor
2020-02-17 14:27:45 +02:00
Marius Stanciu ae22ddb516 - in Excellon UI protected the values that are common parameters from change on tool selection change 2020-02-17 05:19:21 +02:00
Marius Stanciu ea1b99242c - updated all FlatCAM tools to use the new confirmation message for QSpinBoxes, too 2020-02-17 04:56:57 +02:00
Marius Stanciu 1e9232aeaa - updated the Excellon UI to hold data for each tool
- in Excellon UI removed the tools table column for Offset Z and used the UI form parameter
- updated the Excellon Editor to add for each tool a 'data' dictionary
- updated all FlatCAM tools to use the new confirmation message that show if the entered value is within range or outside
2020-02-17 04:43:01 +02:00
Marius Stanciu d1408a3d2c - small update to NCC Tool UI 2020-02-16 16:50:24 +02:00
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