Commit Graph

550 Commits

Author SHA1 Message Date
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 2369ebe72a - more PEP8 changes 2020-02-14 04:18:49 +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 c2373da17a - working on fixing a bug in FlatCAMGeometry.merge() 2020-02-12 16:43:13 +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 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 123ae16b20 - remade GUI in Tool Cutout, Tool Align Objects, Tool Panelize 2020-01-30 05:14:05 +02:00
Marius Stanciu e7c25e9b8a - updated 2Sided Tool- wip 2020-01-29 22:04:23 +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 85afb7cdb2 - some changes in Excellon Editor 2020-01-28 17:34:21 +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 03e1dc54e7 - update in the GUI for the Punch Gerber Tool 2020-01-25 03:49:55 +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 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 0ad0dbd9ea - NCC Tool - some PEP 8 corrections 2020-01-17 19:31:37 +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 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 002617c283 - work in Paint Tool GUI functionality 2020-01-15 18:14:07 +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 c9af9008fe Merged in Beta (pull request #4)
Beta
2020-01-15 11:31:09 +00: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 853f3f5d12 - working on the Align Objects Tool 2020-01-14 03:27:15 +02:00
Marius Stanciu f9ec233b0f - working on the Align Objects Tool 2020-01-14 02:45:03 +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 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 9505ecf80f - working on new NCC tool 2020-01-09 15:56:41 +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 e062a4fad2 - working on new NCC Tool 2020-01-06 17:36:53 +02:00
Marius Stanciu 0f4cf5ef53 - remaking the NCC Tool 2020-01-06 03:19:56 +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 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 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 841e1f3eeb - fixed Tcl commands that use the overlap parameter to switch from fraction to percentage
- in Transform Tool mae sure that the buffer sub-tool parameters are better explained in tooltips
2019-12-30 22:04:39 +02:00
Marius Stanciu f7084f4e56 - fixed some decimals issues in NCC Tool, Paint Tool and Excellon Editor (they were still using the harcoded values)
- some small updates in the NCC Tool
2019-12-30 01:52:03 +02:00
Marius Stanciu c0ec3b6546 - Buffer sub-tool in Transform Tool: added the possibility to apply a factor effectively scaling the aperture size thus the copper features sizes
- in Transform Tool adjusted the GUI
2019-12-30 01:18:56 +02:00
Marius Stanciu 7bd441eccc - in Paint Tool Preferences allowed to add a list of initial tools separated by comma
- in Geometry Paint Tool fixed the Overlap rate to work between 0 and 99.9999%
2019-12-29 22:51:22 +02:00
Marius Stanciu 47fe73a91b - more updates to the Preferences window and in some other parts of the GUI
- updated the translations (less Russian)
2019-12-28 20:38:44 +02:00
Marius Stanciu 3c991e1c2d - updated all the translations files
- fixed the big mouse cursor in OpenGL(3D) graphic mode to get the set color
- fixed the cursor to have the set color and set cursor width in the Legacy(2D) graphic engine
- in Legacy(2D) graphic mode fixed the cursor toggle when the big cursor is activated
- in Legacy(2D) fixed big mouse cursor to snap to the grid
- RELEASE 8.991
2019-12-28 03:59:05 +02:00
Marius Stanciu 217316c732 - fixed an error in the Gerber parser; it did not took into consideration the aperture size declared before the beginning of a Gerber region. Detected for Gerber files generated by KiCAD 5.x
- in Panelize Tool made sure that for Gerber objects if one of the apertures is without geometry then it is ignored
2019-12-26 03:15:17 +02:00
Marius Stanciu 0268a02f3b - changed the extension of the Tool Database file to FlatDB for easy recognition (in the future double clicking such a file might import the new tools in the FC database)
- modified the ToolDB class and changed some strings
- Preferences classes now have access to the App attributes through app.setup_obj_classes() method
- moved app.setup_obj_classes() upper in the App.__init__()
- added a new Preferences setting allowing to modify the mouse cursor color
- remade the GUI in Preferences -> General grouping the settings in a more clear way
- made available the Jump To function in Excellon Editor
- added a clean_up() method in all the Editor Tools that need it, to be run when aborting using the ESC key
2019-12-26 01:47:50 +02:00
Marius Stanciu fcc52a2682 - fixed an issue in old default file detection and in saving the factory defaults file
- in Preferences window removed the Import/Export Preferences buttons because they are redundant with the entries in the File -> Menu -> Backup. and added a button to Restore Defaults
- when in Basic mode the Tool type of the tool in the Geometry UI Tool Table after isolating a Gerber object is automatically selected as 'C1'
- let the multiprocessing Pool have as many processes as needed
- added a new Preferences setting allowing a custom mouse line width (to make it thicker or thinner)
2019-12-25 17:51:37 +02:00
Marius Stanciu b1b140634b - in Tool Transform added a new feature named 'Buffer'. For Geometry and Gerber objects will create (and replace) a geometry at a distance from the original geometry and for Excellon will adjust the Tool diameters 2019-12-23 22:59:01 +02:00
Marius Stanciu 73d41816d6 - fixed a typo in Distance Tool 2019-12-21 01:31:52 +02:00
Marius Stanciu 80f1d30a28 - added Preferences values for PDF margins when saving text in Code Editor as PDF
- when clicking Cancel in Preferences now the values are reverted to what they used to be before opening Preferences tab and start changing values
2019-12-19 16:26:19 +02:00
Marius Stanciu 04d30fb1b4 - in 2-Sided Tool added a way to calculate the bounding box values for a selection of objects, and also the centroid 2019-12-19 04:12:06 +02:00
Marius Stanciu 4efc453b84 - fixed a bug in the new feature 'extra buffering'
- fixed the creation of CNCJob objects out of multigeo Geometry objects (objects with multiple tools)
- optimized the NCC Tool
2019-12-18 17:53:41 +02:00
Marius Stanciu 74b3a38a71 - more optimizations in NCC Tool
- optimizations in Paint Tool
- maximum range for Cut Z is now zero to deal with the situation when using V-shape with tip-dia same value with cut width
2019-12-17 01:38:39 +02:00
Marius Stanciu 6c2d628c6c - fixed the Defaults upgrade overwrting the new version number with the old one
- fixed issue with clear_polygon3() - the one who makes 'lines' and fixed the NCC Tool
2019-12-16 14:52:58 +02:00
Marius Stanciu 8361ee7897 - prepared the application for usage of dark icons in case of using the dark theme
- updated the languages
- RELEASE 8.99
2019-12-15 16:28:36 +02:00
Marius Stanciu 1517686ced - more strings updated; finished the Romanian translation update 2019-12-14 00:04:52 +02:00
Marius Stanciu e397e26484 - some strings updated; update on the Romanian translate 2019-12-13 18:36:57 +02:00
Marius Stanciu a4127dcdcd - small changes in ToolFilm.py 2019-12-12 03:35:30 +02:00
Marius Stanciu 6d826fa143 - added option to save objects as PDF files in File -> Save menu 2019-12-12 03:18:52 +02:00
Marius Stanciu 1cb66f3faf - finished the Calibration Tool
- changed the Scale Entry in Object UI to FCEntry() GUI element in order to allow expressions to be entered. E.g: 1/25.4
2019-12-12 01:55:04 +02:00
Marius Stanciu cd4d0cefb8 - some more work in Calibration Tool 2019-12-11 17:54:33 +02:00
Marius Stanciu 33f764efb5 - in CNCJob UI, now the CNCJob objects made out of Excellon objects will display their CNC tools (drill bits) 2019-12-10 15:26:51 +02:00
Marius Stanciu 511ebc274f - now extracut option in the Geometry Object will recut as many points as many they are within the specified re-cut length 2019-12-10 05:28:02 +02:00
Marius Stanciu face1d0f64 - some fixes on the app.jump_to() method
- made sure that the ToolFilm will not start saving a file if there are no objects loaded
2019-12-09 21:53:57 +02:00
Marius Stanciu 1f1d200ab6 - in FlatCAMGeometry fixed the scale and offset methods to always process the self.solid_geometry
- Calibration Tool - finished the calibrated object creation method
2019-12-09 16:20:22 +02:00
Marius Stanciu f2d7151f93 - Calibration Tool - more work on it 2019-12-09 02:23:30 +02:00
Marius Stanciu 8969c03021 - updated the border for fit view on OpenGL graphic mode
- Calibration Tool - added preferences values
- Calibration Tool - more work on it
2019-12-09 01:56:45 +02:00
Marius Stanciu 3201359c8a - Calibrate Tool - working on it 2019-12-08 15:12:05 +02:00
Marius Stanciu ee1665fe6a - Calibrate Tool - working on it 2019-12-07 10:52:55 +02:00
Marius Stanciu b1d249cff8 - renamed Calibrate Excellon Tool to a simpler Calibrate Tool
- Calibrate Tool - when generating verification GCode it will always load into an Editor from which it can be edited and/or saved. On save the editor will close.
2019-12-07 01:07:52 +02:00
Marius Stanciu e15c6da086 - fixed a GUI glitch in the Excellon tool table
- added units to some of the parameters in the Properties Tool
2019-12-07 00:25:22 +02:00
Marius Stanciu 2ca509ca04 - few bugs solved regarding the newly created empty objects 2019-12-06 23:00:43 +02:00
Marius Stanciu d683402884 - few bugs solved regarding the newly created empty objects 2019-12-06 21:53:03 +02:00
Marius Stanciu 0d09f10a88 - in Properties Tool added new information's for the tools in the CNCjob objects 2019-12-06 21:39:06 +02:00
Marius Stanciu bb192eb679 - in Properties Tool added more information's regarding the Excellon tools, about travelled distance and job time; fixed issues when doing Properties on the CNCjob objects
- TODO: I need to solve the mess in units conversion: it's too convoluted
2019-12-06 01:20:33 +02:00
Marius Stanciu 0d0f872244 - application wide change: introduced the precision parameters in Edit -> Preferences who will control how many decimals to use in the app parameters 2019-12-05 15:18:54 +02:00
Marius Stanciu fa99f97586 - Copper Thieving Tool - added a default value for the mask clearance when generating pattern plating mask 2019-12-05 03:14:07 +02:00
Marius Stanciu efb82abac6 - Copper Thieving Tool - added units label for the pattern plated area
- Properties Tool - added a new parameter, the copper area which show the area of the copper features for the Gerber objects
2019-12-05 02:26:30 +02:00
Marius Stanciu 00e6990254 - in NCC Tool, the new Geometry object that is created on copper clear now has the solid_geometry attribute where the geometry is stored not only in the obj.tools attribute 2019-12-05 01:16:17 +02:00
Marius Stanciu 2fc13c0719 - modified the GUI in all tools making the text of the buttons bold and adding a new button named Reset Tool which have to reset the tool GUI and variables (need to check all tools to see if happen)
- when the Tool tab is in focus, clicking on canvas will no longer change the focus to Project tab
- Copper Thieving Tool - when creating the pattern platting mask will make a new Gerber object with it
2019-12-05 00:06:25 +02:00
Marius Stanciu 951562fbae - fixed the Copy Object function to copy also the source_file content
- Copper Thieving Tool - when the clearance value for the pattern plating mask is negative it will be applied to the origin soldermask too
2019-12-04 20:00:05 +02:00
Marius Stanciu 9b48db7f54 - Copper Thieving Tool - updated the way plated area is calculated making it a bit more precise but still it is a bit bigger than the actual area 2019-12-04 17:54:05 +02:00