Commit Graph

1389 Commits

Author SHA1 Message Date
Marius Stanciu 5032d8e8fe - the Apply button text in Preferences is now made red when changes were made and require to be applied 2019-12-29 00:40:27 +02:00
Marius Stanciu 58054f71b3 - fixed a minor issue that when saving a project with CNCJob objects, the variable that holds the origin of the CNCJob object was not saved in the project. Added to the serializable objects also the exc_cnc_tools dictionary
- some changes in the File menu
2019-12-29 00:00:15 +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 c74814cb00 - fixed some typos 2019-12-27 05:00:30 +02:00
Marius Stanciu 73b2355295 - updated the POT file and the translation files for German, Spanish and French languages 2019-12-27 04:34:54 +02:00
Marius Stanciu 55549c7ba5 - cleaned the Preferences classes and added the signals and signal slots in those classes, removing them from the main app class
- each FlatCAM object found in Preferences has it's own set of controls for changing the colors
- added a set of gray icons to be used when the theme is complete dark (for now it is useful only for MacOS with dark theme because at the moment the app is not styled to dark UI except the plot area)
2019-12-27 03:05:17 +02:00
Marius Stanciu 787d85391a - in Legacy(2D) graphic engine made to work the mouse color change
- theme changing is no longer auto-reboot upon change; it require now to press a button
2019-12-26 14:38:23 +02:00
Marius Stanciu f0ed74ce5f - further modifications in Preferences -> General GUI - extended the changes 2019-12-26 06:13:42 +02:00
Marius Stanciu 1863cbcb39 - further modifications in Preferences -> General GUI 2019-12-26 05:05:01 +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 448235b84a - fixed a typo in ToolDB.on_tool_add() 2019-12-24 14:57:02 +02:00
Marius Stanciu 1c2e5d24f1 - edited some icons so they don't contain white background
- fixed an incorrect usage of object in the app.select_objects() method
2019-12-24 14:48:31 +02:00
Marius Stanciu 0e5e3a5227 - some changes related to the fact that the geometry default tool diameter value can be comma separated string of tool diameters 2019-12-24 00:54:45 +02:00
Marius Stanciu 6df765cda1 - solved issue #356 - in Tools DB can not be added more than one tool if a translation is active 2019-12-24 00:28:56 +02:00
Marius 9e8536ab9f - solved issue #355 - when the tool diameter field in the Edit → Preferences → Geometry → Geometry General → Tools → Tool dia is only one the app failed to read it 2019-12-23 23:32:32 +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 98e246a5c4 - when the selection is changed in the Project Tree the selection shape on canvas is deleted
- if an object is selected on Project Tree and it does not have the selection shape drawn, first click on canvas over it will draw the selection shape
2019-12-23 17:30:04 +02:00
Marius Stanciu cc303ce4f2 - speed up the plotting in OpenGL(3D) graphic mode
- spped up the color setting for Gerber object when using the OpenGL(3D) graphic mode
2019-12-23 15:49:16 +02:00
Marius Stanciu 98d5986190 - some fixes in the Legacy(2D) graphic mode regarding the possibility of changing the color of the Gerber objects
- added a method to darken the outline color for Gerber objects when they have the color set
- when Printing as PDF Gerber objects now the rendered color is the print color
2019-12-23 02:30:56 +02:00
Marius Stanciu 5b62b3c5f6 - fixed the above mentioned glitch in the OpenGL(3D) graphic engine when an Gerber object has been set with a color 2019-12-23 00:57:37 +02:00
Marius Stanciu 9fe3dfbfa9 - fixed Gerber object color set for Legacy(2D) graphic engine; glitch on the OpenGL(3D) graphic engine 2019-12-22 16:24:04 +02:00
Marius Stanciu 988b9d7dac - fixed issue in Gerber UI where a label was not hidden when in Basic mode
- added the color parameters of the objects to the serializable attributes
2019-12-22 07:24:51 +02:00
Marius Stanciu 612666d01a - added a new option for the Gerber objects: on the project context menu now can be chosen a color for the selected Gerber object 2019-12-22 06:52:45 +02:00
Marius Stanciu 73d41816d6 - fixed a typo in Distance Tool 2019-12-21 01:31:52 +02:00
Marius Stanciu 8afafedfff - fixed re-cut length entry not staying disabled when the re-cut cb is not checked 2019-12-20 23:59:29 +02:00
Marius Stanciu a06b576a04 - in Geometry Object UI (selected tab) when a tool type is changed from no matter what to V-shape, the cut_z value is saved and when the tool type is changed back to something different than V-shape, this saved cut-z value is restored 2019-12-20 23:28:15 +02:00
Marius Stanciu 8ab91b7f4f - added an icon in the infobar that will show more clearly the status of the grid snapping 2019-12-20 03:32:09 +02:00
Marius Stanciu 28bf1c3b5a - Print function is now printing a PDF file for a selection of objects in the colors from canvas 2019-12-20 02:41:13 +02:00
Marius Stanciu f604cd461d - fixed a rare issue in the generation of non-copper-region geometry started from the Gerber Object UI (selected tab) 2019-12-20 01:12:02 +02:00
Marius Stanciu 284d500073 - starting to work to a general Print function; for now it will generate PDF files; currently it works only for one object not for a selection
- added shortcut key CTRL+P for printing to PDF method
2019-12-19 17:15:41 +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 a8d4c592c2 - improved the loading of Config File by using the advanced code editor 2019-12-18 04:26:20 +02:00
Marius Stanciu 1f33220bab - the Jump To function reference is now saving it's last used value
- added the ability to use the Jump To method in the Gerber Editor
2019-12-18 04:01:25 +02:00
Marius Stanciu e745f3f836 - added new parameters to improve Gerber parsing
- small optimizations in the Preferences UI
2019-12-18 03:14:17 +02:00
Marius S 0b50734578 - fixed issue #347 - a Gerber generated by Sprint Layout with copper pour ON will not have rendered the copper pour 2019-12-17 17:37:18 +02:00
Marius Stanciu 994fa65e96 - fixed bug saving the FlatCAM project saying the file is used by another application 2019-12-17 15:19:09 +02:00
Marius Stanciu 0e3a9f0795 - more mods to generate_from_geometry_2() method 2019-12-17 15:11:08 +02:00
Marius Stanciu 4a8a980cde - added ability to save the Source File as PDF - fixed page size and added line breaks 2019-12-17 14:47:44 +02:00
Marius Stanciu 82f0c40ff8 - fixed the generate_from_geometry_2() method to use the default values in case the parameters are None 2019-12-17 13:26:09 +02:00
Marius Stanciu 2565dd75f1 - added ability to save the Source File as PDF (still have to adjust the page size) 2019-12-17 03:42:24 +02:00
Marius Stanciu 4ac5f8e239 - made sure that if in Gerber UI the isolation is made with a V-Shape tool then the tool type is automatically updated on the generated Geometry Object 2019-12-17 02:44:24 +02:00
Marius Stanciu b159548872 - modified QValidator in FCDoubleSpinner() GUI element to allow entering the minus sign when the range maximum is set as 0.0; also for positive numbers allowed entering the symbol plus 2019-12-17 01:53:58 +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 14204e3c30 - fixed the line endings for setup_ubuntu.sh 2019-12-16 21:26:11 +02:00
Marius Stanciu f857326687 - fixed GCode generated with HPGL preprocessor to output only integer coordinates
- fixed the HPGL2 import parsing for absolute linear movements
2019-12-16 21:20:08 +02:00
Marius Stanciu 0574f7a039 - fixed the CNCJob geometry created with HPGL preprocessor 2019-12-16 20:32:00 +02:00
Marius Stanciu 435648171e - fixed the HPGL preprocessor 2019-12-16 19:56:24 +02:00
Marius Stanciu 6744d9ae07 - updated the preprocessor files 2019-12-16 19:24:50 +02:00
Marius Stanciu d256c99385 - made sure that in Geometry Editor the self.app.mouse attribute is updated with the current mouse position (x, y) 2019-12-16 17:33:58 +02:00
Marius Stanciu b8b6d776e9 - some small changes in the FlatCAMGeoemtry.on_tool_add() method 2019-12-16 16:58:48 +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 414b96015c - modified the Jump To method such that now allows relative jump from the current mouse location 2019-12-16 04:27:32 +02:00
Marius Stanciu 82c9377a37 - in Geometry Editor added support for Jump To function such as that it works within the Editor Tools themselves. For now it works only in absolute jumps 2019-12-16 03:16:57 +02:00
Marius Stanciu 45892c8a90 - updated all the translation PO files and the POT file
- RELEASE 8.99
2019-12-16 00:21:55 +02:00
Marius Stanciu 7ad091e163 - modified the export_gcode() method and the preprocessors such that the preprocessors now have the information if to include the gcode header
- RELEASE 8.99
2019-12-16 00:12:04 +02:00
Marius Stanciu 0eabc57e70 - fixed some issues with the recent preparation for dark icons resource usage
- added a new preprocessor file contributed by Daniel Friderich and added fixes for it
- RELEASE 8.99
2019-12-15 17:26:56 +02:00
Marius Stanciu ba3a6138dc - fixed a typo
- fixed layout on first launch of the app
- RELEASE 8.99
2019-12-15 16:40:37 +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 ca4c7b245f - added a script to remove the bad profiles from resource pictures. From here: https://stackoverflow.com/questions/22745076/libpng-warning-iccp-known-incorrect-srgb-profile/43415650, link mentioned by @camellan (Andrey Kultyapov) 2019-12-15 14:26:41 +02:00
Marius Stanciu 63baeda071 - fixed a bug that created a crash in special conditions; it's related to the QSettings in FlatCAMGui.py 2019-12-15 00:42:07 +02:00
Marius Stanciu 72a5ba868e - finished the strings update in the Google-translated French 2019-12-14 21:52:43 +02:00
Marius Stanciu 7c04bb7837 - finished the strings update in the Google-translated Spanish 2019-12-14 19:33:13 +02:00
Marius Stanciu 23fc79b508 - small updates (Google Translate) in Russian and Brazilian-PT languages 2019-12-14 03:20:29 +02:00
Marius Stanciu 6da661eea9 - some work in updating the Spanish Google-translation 2019-12-14 00:19:14 +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 f6c0741d3d - removed the .plt extension from Gcode extensions 2019-12-13 15:59:48 +02:00
Marius Stanciu 336970d7ea - HPGL2 import: added support for circles, arcs and 3-point arcs. Everything works only for absolute coordinates. 2019-12-13 15:54:26 +02:00
Marius Stanciu 02b567971d - finished a very rough and limited HPGL2 file import 2019-12-12 21:29:38 +02:00
Marius Stanciu 0c057574c9 - some changes in the ObjectUI and for the Geometry UI 2019-12-12 19:38:29 +02:00
Marius Stanciu c00f30ef65 - optimized the FlatCAMGerber.clear_plot_apertures() method 2019-12-12 18:47: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 b429f9b0c8 - some small changes in the Scale button handler in FlatCAMObj() class 2019-12-12 02:08:45 +02:00
Marius Stanciu f88db33ada - changed the estimated release date 2019-12-12 01:56:38 +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 a664f21dc1 - started work in HPGL2 parser 2019-12-11 14:32:01 +02:00
Marius Stanciu 5f739d1baf - if extracut_length is zero then the extracut will cut up until the first point in path no matter what the distance is 2019-12-10 23:57:00 +02:00
Marius Stanciu 660f69cfc5 - for OpenGL graphic mode added a fit_view() execution on canvas initialization 2019-12-10 17:24:28 +02:00
Marius Stanciu 621ac9a598 - fixed a cummulative error when using the Tool Offset for Excellon objects
- added the dipaly of the real depth of cut (cut z + offset_z) for CNC tools made out of an Excellon object
2019-12-10 16:00:37 +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 6d43c6c4fd - in Gerber isolation when selection mode is checked now area selection works too 2019-12-10 13:38:29 +02:00
Marius Stanciu 932f8143cd - if extracut_length is zero then the extracut will cut up until the first point in path no matter what the distance is 2019-12-10 05:33:32 +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 cee8c223a8 - small changes in the Geometry UI 2019-12-10 04:14:58 +02:00
Marius Stanciu b771cbd110 - some fixes on the app.jump_to() method for the Legacy(2D) graphic mode 2019-12-09 22:25:05 +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 35f518ace5 - updated the POT file
- fixed an error in the German PO file
- updated the languages PO files
2019-12-09 16:54:24 +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 38756175f6 - fixed issue after Geometry object edit; the GCode made from and edited object did not reflect the changes in the object
- in Object UI, the Scale FCDoubleSpinner will no longer work for Return key press due of issues of unwanted scaling on focusOut event
2019-12-09 12:59:01 +02:00
Marius Stanciu e5987f66cb - reverted this change: "selected object in Project used to ask twice for UI build" because it will not build the UI when a tab is closed for Document object and the object is selected 2019-12-09 03:12:50 +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 e54dd14e6c - updated Tcl commands to make use of either 0 or False for False value or 1 or True for True in case of a parameter with type Bool 2019-12-08 22:11:39 +02:00
Marius Stanciu facc077493 - in Geometry UI added a button that allow updating all the tools in the Tool Table with the current values in the UI form 2019-12-08 16:58:15 +02:00
Marius Stanciu 2baae550b5 - small fixes: selected object in Project used to ask twice for UI build; if scale factor in Object UI is 1 do nothing as there is no point in scaling with a factor of 1 2019-12-08 16:16:02 +02:00
Marius Stanciu 1b37b5a487 - fixed an small issue in Object UI 2019-12-08 15:40:32 +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 00d331a775 - updated the CNCJob and Drillcncjob Tcl Commands to use 0 and 1 as values for the parameters that are stated as of bool type, beside the normal keywords of False and True 2019-12-07 01:27:49 +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 13f67786af - cleaned up the Excellon parser and fixed some bugs (old and new); Excellon parser has it's own convert_units() method no longer inheriting from Geometry
- in Excellon UI fixed bug that did not allow editing of the Offset Z parameter from the Tool table
2019-12-06 17:12:18 +02:00
Marius Stanciu 770986c27e - fixed the toggle_units() method so now the grid values are accurate to the decimal 2019-12-06 14:02:15 +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 8aec8d73c5 - updated Gerber Editor to use the precision setting and the Gerber Editor Transform Tool to use the FCDoubleSpinner GUI element 2019-12-05 18:17:16 +02:00
Marius Stanciu 71c3d40057 - fixed the GUI of the Geometry Editor Tool Transform and adapted it to use the precision setting 2019-12-05 17:56:12 +02:00
Marius Stanciu de333e4841 - fixed typo 2019-12-05 16:06:30 +02:00
Marius Stanciu af00a7f212 - changed the FCDoubleSpinner, FCSpinner and FCEntry GUI elements to allow passing an alignemnt value: left, right or center (not yet available in the app) 2019-12-05 15:53:06 +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 19b5f732b5 - minor string changes 2019-12-05 03:15:57 +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 fd99e982d6 - small fix in the GUI layout in Gerber Editor 2019-12-05 00:42:28 +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
Marius Stanciu 92ea7e83be - in Copper Thieving Tool added the display of the patterned plated area (approximative area) 2019-12-04 17:41:00 +02:00
Marius Stanciu f9c83a5e60 - fixed the overlap parameter all over the app to reflect the change to percentage 2019-12-04 17:00:36 +02:00
Marius Stanciu 0de96a377e - fixed bug in FCSpinner and FCDoubleSpinner GUI elements, that are now the main GUI element in FlatCAM, that made partial selection difficult
- updated the Paint Tool in Geometry Editor to use the FCDoublepinbox
- added the possibility for suffix presence on the FCSpinner and FCDoubleSpinner GUI Elements
- added the '%' symbol for overlap fields; I still need to divide the conntet by 100 to get the original decimal
2019-12-04 14:55:01 +02:00
Marius Stanciu 65f00ccad7 - in Preferences added a new button: 'Close' to close the Preferences window without saving 2019-12-04 03:24:05 +02:00
Marius Stanciu 2757b018b6 - made sure that if an older preferences file is detected then there are no errors and only the parameters that are currently active are loaded; the factory defaults file is deleted and recreated in the new format 2019-12-04 00:50:50 +02:00
Marius Stanciu b1547bf6b9 - added some geometry parameters in Cutout Tool as a convenience, to be passed to the generated Geometry objects 2019-12-03 23:44:53 +02:00
Marius Stanciu 8d45f77085 - some changes in the UI layout in Cutout Tool 2019-12-03 17:48:17 +02:00
Marius S 6d24a054b5 - fix for toggle grid lines updating canvas only after moving the mouse (hack, actually) 2019-12-03 16:32:01 +02:00
Marius e971dc17ba - various small fixes 2019-12-03 16:26:53 +02:00
Marius 685413209f - remade the Gerber Editor way to import an Gerber object into the editor in such a way to use the multiprocessing 2019-12-03 15:36:10 +02:00
Marius 4a2f06ae3e - updated some of the default values to metric, values that were missed previously 2019-12-03 14:08:24 +02:00
Marius Stanciu 6d9d29a689 - in Preferences added an Apply button which apply the modified preferences but does not save to a file, minimizing the file IO operations; CTRL+S key combo does the Apply now. 2019-12-03 05:31:33 +02:00
Marius Stanciu fc7d3b3fba - Tool Copper Thieving - added pattern plating mask generation feature 2019-12-03 01:39:19 +02:00
Marius Stanciu 3bbe2843ef - small changes, updated the estimated release date 2019-12-02 23:33:46 +02:00
Marius Stanciu e9470df4c5 - modified the default values for the METRIC system; the app now starts in the METRIC units since the majority of the world use the METRIC units system 2019-12-02 23:28:27 +02:00
Marius Stanciu e0b591ff85 - added a Cancel button in Tools DB when requesting to add a tool in the Geometry Tool Table 2019-12-02 22:47:23 +02:00
Marius Stanciu c439009251 - added 3 new tcl commands: export dxf, export excellon and export gerber 2019-12-02 20:54:18 +02:00
Marius Stanciu 80dcd3805a - improvements in Importing SVG as Gerber - added an automatic source generation (it is not infallible)
- a hack to import correctly the QRCode exported as SVG from FlatCAM
2019-12-02 20:03:27 +02:00
Marius Stanciu 462e9b4bd8 - fixed issue #343; updated the Image Tool 2019-12-02 16:40:59 +02:00
Marius Stanciu cefbcd1816 - small fixes in NCC Tool and in the FlatCAMGeometry class 2019-11-28 00:49:21 +02:00
Marius Stanciu 14efe0fc34 - adjusted the selection color transparency for the Legacy(2D) graphic mode because it was too transparent for the fill 2019-11-28 00:18:10 +02:00
Marius Stanciu 599cfb8d51 - updated the workspace functions to work in Legacy(@D) graphic mode 2019-11-27 21:40:39 +02:00
Marius Stanciu 1f63a16a24 - updated the drawing of the workspace such that the application overall start time is improved and after first turn on of the workspace, toggling it will have no performance penalty 2019-11-27 15:55:31 +02:00
Marius Stanciu 58f24cbb37 - in Tool Film added the page size and page orientation in case of saving the film as PDF file
- the application workspace has now a lot more options selectable in the Edit -> Preferences -> General -> GUI Preferences
2019-11-27 03:44:28 +02:00
Marius Stanciu f1af9d7999 - updated the Film Tool to allow exporting PDF and PNG file (besides the SVG file) 2019-11-26 16:37:21 +02:00
Marius Stanciu c025d6ad79 - remade the Paint Tool - single polygon painting; now it can single paint a list of polygons that are clicked onto (right click will start the actual painting) 2019-11-25 22:22:36 +02:00
Marius Stanciu 07fb663e7b - in Gerber isolation added the option to selectively isolate only certain polygons - made it to work for Legacy(2D) graphic mode 2019-11-25 21:03:12 +02:00
Marius Stanciu cf3f7687c9 - fixed bugs in Paint Tool when painting single polygon 2019-11-25 18:44:38 +02:00
Marius Stanciu 2260bee4a5 - clicking to add a polygon when doing Single type isolation will add a blue shape marking the selected polygon, second click will remove that shape 2019-11-25 18:32:01 +02:00
Marius Stanciu 9715fba5eb - updated the 'single' isolation of Gerber polygons to remove the polygon if clicked on it and it is already in the list of single polygons to be isolated 2019-11-25 18:10:20 +02:00
Marius Stanciu b31d016b13 - made some optimizations in FlatCAMGerber.isolate() method 2019-11-25 17:55:54 +02:00
Marius Stanciu d5a9e0bb5a - In Gerber isolation changed the UI
- in Gerber isolation added the option to selectively isolate only certain polygons
2019-11-25 16:52:37 +02:00
Marius Stanciu d03428f860 - made sure that the units are read from the self.defaults and not from the GUI
- added Robber Bar option to Copper Thieving Tool
2019-11-24 00:31:41 +02:00
Marius Stanciu 8c4663f344 - fixed the line numbers in the TextPlainEdit to fit all digits of the line number; activated the line numbers for FlatCAMScript objects too 2019-11-23 18:20:37 +02:00
Marius Stanciu f44e24695d - in Tool Fiducials added a new fiducial type: chess pattern
- work in Calibrate Excellon Tool
2019-11-23 17:19:56 +02:00
Marius Stanciu 9fd98b4573 - GCode view now has line numbers
- solved a bug that made selection of objects on canvas impossible if there is an object of type FlatCAMScript or FlatCAMDocument opened
2019-11-22 16:31:40 +02:00
Marius Stanciu 0aff3a6d4c - working on adding line numbers to the TextPlainEdit 2019-11-22 11:00:39 +02:00
Marius Stanciu 67d31982ef - Tool Fiducials - added GUI in Preferences and entries in self.defaults dict
- Tool Fiducials - updated the source_file object for the modified Gerber files
2019-11-22 04:18:48 +02:00
Marius Stanciu c7fafe0b87 - updated requirements.txt and setup_ubuntu.sh files 2019-11-21 23:57:30 +02:00
Marius Stanciu 3a635117df - Tool Fiducials - added choice of shapes: circular or non-standard cross
- Tool Fiducials - finished the work on adding soldermask openings
- Tool Fiducials - finished the tool
2019-11-21 23:50:13 +02:00
Marius Stanciu c9f8cf8abe - Tool Fiducials - finished the part with adding copper fiducials: manual and auto 2019-11-21 17:54:08 +02:00
Marius Stanciu 13d724bdcf - Tool Fiducials - updated the icon 2019-11-21 01:49:29 +02:00
Marius Stanciu 70f6469ea8 - Tool Fiducials - added the GUI and the shortcut key 2019-11-21 01:44:55 +02:00
Marius Stanciu 004ede957d - starting to work on Tool Fiducials - created the file 2019-11-20 03:03:12 +02:00
Marius Stanciu 4c1fdd2e2d - fixed bug in Tool Subtract that did not allow subtracting Gerber objects 2019-11-20 00:12:34 +02:00
Marius Stanciu 50abe2883d - fixed some TclCommands: MillDrills and OpenGerber 2019-11-19 23:22:14 +02:00
Marius Stanciu a4f5ed0b74 - removed the f-strings replacing them with the traditional string formatting due of not being supported by older versions of Python 3 2019-11-19 13:38:32 +02:00
Marius Stanciu 75273272e1 - working on the Calibrate Excellon Tool - remade the UI 2019-11-19 00:41:41 +02:00
Marius Stanciu 92b1ad6f05 - finished Copper Thieving Tool improvements 2019-11-18 23:03:04 +02:00
Marius Stanciu 8888869d3b - finished the Lines option in the Copper Thieving Tool; still have to add threading to maximize performance 2019-11-18 18:29:55 +02:00
Marius Stanciu 057ab93ef8 - finished the Dots and Squares options in the Copper Thieving Tool
- working on the Lines option in Copper Thieving Tool
2019-11-18 17:44:52 +02:00
Marius Stanciu b41ecd87f8 - updated the make_freezed.py file to make sure that all the required files are included
- updated the setup_ubuntu.sh to include the sudo command (courtesy of Krishna Torque on bitbucket)
2019-11-17 15:58:58 +02:00
Marius Stanciu d327160ab9 - optimized the storage of the Gerber mark shapes by making them one layer only
- optimized the Distance Tool such that the distance utility geometry will be shown even when the mark shapes are plotted.
2019-11-17 00:21:47 +02:00
Marius Stanciu 021e094b73 - fixed issue #341 that affected both postprocessors that have inlined feedrate: marlin and repetier. THe used feedrate was the Feedrate X-Y and instead had to be Feedrate Z. 2019-11-16 22:48:51 +02:00
Marius Stanciu f20d5aaaca - converted setup_ubuntu.sh to Linux line endings 2019-11-15 23:51:12 +02:00
Marius Stanciu 3df0c8871c - fixed issue #335. The FCDoubleSPinBox (and FCSpinBox) value was not used when the user entered data but just hovered away the mouse expecting the data to be already confirmed 2019-11-15 22:07:23 +02:00
Marius Stanciu 6c594d048e - added all the recognized extensions to the save dialog filters; latest extension used will be preselected next time a save operation occur 2019-11-15 17:12:39 +02:00
Marius Stanciu 175e2f7af2 - made sure that the 'default' postprocessor file is always loaded first such that this name is always first in the GUI comboboxes
- added a class in GUIElements for a TextEdit box with line numbers and highlight
2019-11-14 12:24:49 +02:00
Marius Stanciu dfbd4452a1 - fixed an issue in the FlatCAMObj.FlatCAMGerber.convert_units() which needed to be updated after changes elsewhere 2019-11-13 02:59:47 +02:00
Marius Stanciu eafa6350b7 - finished improving the show of text files in FlatCAM (CNC Code, Source files) 2019-11-13 02:26:03 +02:00
Marius Stanciu 63e22cf3ee - trying to improve the performance of View CNC Code command by using QPlainTextEdit; made the mods for it
- when using the Find function in the TextEditor and the result reach the bottom of the document, the next find will be the first in the document (before it defaulted to the beginning of the document)
2019-11-13 02:06:16 +02:00
Marius Stanciu 548d16a7d5 - added two new postprocessor files for ISEL CNC and for BERTA CNC
- clicking on a FCTable GUI element empty space will also clear the focus now
2019-11-13 01:29:50 +02:00
Marius Stanciu 8d6df5493c - fixed GUI in 2Sided Tool
- extending the Copper Thieving Tool - wip
2019-11-11 04:54:47 +02:00
Marius Stanciu 70d123306c - in Tools Database added a contextual menu to add/copy/delete tool; CTRL+C, DEL keys work too; key T for adding a tool is now only partially working
- in Tools Database made the status bar messages show when adding/copying/deleting tools in DB
- changed all Except statements that were single to except Exception as recommended in some PEP
- renamed the Copper Fill Tool to Copper Thieving Tool as this is a more appropriate name; started to add ability for more types of copper thieving besides solid
- fixed some issues recently introduced in ParseSVG
- updated POT file
2019-11-11 02:35:42 +02:00
Marius Stanciu 6620daa14b - added tooltips for the Tools Database table headers and buttons 2019-11-09 19:27:28 +02:00
Marius Stanciu ee8719093c - fixed a new bug that did not allow to open the FlatCAM Preferences files by doubleclick in Windows
- added a new feature: Tools Database for Geometry objects; resolved issue #308
2019-11-09 18:04:49 +02:00
Marius Stanciu c091af35b8 - updated the make file for freezed executable 2019-11-08 00:14:23 +02:00
Marius Stanciu 48a15e27b7 - corrections regarding the adding of .ngc file extensions 2019-11-07 17:11:31 +02:00
Marius Stanciu 892c9130f2 - made the 'M2' Gcode command footer optional, default is False (can be set using the TclCommand: set_sys cncjob_footer True)
- added a setting in Preferences to force the GCode output to have the Windows line-endings even for non-Windows OS's
2019-11-07 17:07:45 +02:00
Marius Stanciu 26d2831ded - added the '.ngc' fiel extension to the GCode Save file dialog filter 2019-11-07 12:57:25 +02:00
Marius Stanciu 8a8f571f0b - the font color of the Preferences tab will change to red if settings are not saved and it will revert to default when saved
- fixed issue #333. The Geometry Editor Paint tool was not working and using it resulted in an error
2019-11-06 23:32:21 +02:00
Marius Stanciu 0fd2037edc - fixed bug in the Paint Tool that did not allow choosing a Paint Method that was not Standard
- made sure that in the FlatCAMGeometry.merge() all the source data is deepcopy-ed in the final object
2019-11-06 22:18:33 +02:00
Marius Stanciu 38ab16dbef - the "CRTL+S" key combo when the Preferences Tab is in focus will save the Preferences instead of saving the Project 2019-11-06 00:46:56 +02:00
Marius Stanciu c7548ee897 - fixed some issues when editing a multigeo geometry 2019-11-06 00:16:32 +02:00
Marius Stanciu 14917456ab - added a new setting named 'Allow Machinist Unsafe Settings' that will allow the Travel Z and Cut Z to take both positive and negative values 2019-11-05 15:12:10 +02:00
Marius Stanciu c85e397eca - started to add a Tool Database 2019-11-05 02:36:46 +02:00
Marius Stanciu 849bcded4c - updated the UI in Geometry UI
- optimized the order of the defaults storage declaration and the update of the Preferences GUI from the defaults
2019-11-05 01:01:52 +02:00
Marius Stanciu cd7620c801 - getting rid of all the Options GUI and related functions as it is no longer supported 2019-11-04 22:06:06 +02:00
Marius Stanciu e96129b5d1 - wip 2019-11-04 21:28:11 +02:00
Marius Stanciu 08e740d45b - fixed a small issue with clicking in a disabled FCDoubleSpinner or FCSpinner still doing a selection 2019-11-03 13:33:48 +02:00
Marius Stanciu eb091f3990 - fixed a bug in SolderPaste Tool that did not allow to view the GCode 2019-11-03 13:19:48 +02:00
Marius Stanciu d2d5371148 - fixed a bug in SolderPaste Tool that did not allow to view the GCode 2019-10-30 00:49:44 +02:00
Marius Stanciu a0e142f6e9 - converted SolderPaste Tool to usage of SpinBoxes; changed the SolderPaste Tool UI in Preferences too 2019-10-30 00:13:28 +02:00
Marius Stanciu 9ea39c138e - a bug fix in Geometry Object
- fixed some missing properties in Tool Calculators
2019-10-29 03:15:58 +02:00
Marius Stanciu 23065aa033 - Calibrate Excellon Tool: working on self.calculate_factors() method 2019-10-29 00:11:32 +02:00
Marius Stanciu 120e866a01 - working on the Calibrate Excellon Tool
- converted Excellon Editor to usage of SpinBoxes
2019-10-28 23:14:40 +02:00
Marius Stanciu a88c64fb84 - fixed some issues in the Gerber Editor (Aperture add was double adding an aperture)
- converted Gerber Editor to usage of SpinBoxes
2019-10-28 17:18:23 +02:00
Marius Stanciu b994ee9639 - in Tools: Paint, NCC and Copper Fill, when using the Area Selection, now the selected aras will stay drawn as markers until the user click RMB
- in legacy2D graphic engine, adding an utility geometry no longer draw the older ones, overwriting them
2019-10-28 15:03:21 +02:00
Marius Stanciu f9ad83ba29 - Copper Fill Tool: some PEP8 corrections 2019-10-28 03:06:37 +02:00
Marius Stanciu c2c275e9ed - fixed an error in the FCDoubleSpinner class when FlatCAM is run on system with locale that use the comma as decimal separator 2019-10-26 20:24:18 +03:00
Marius Stanciu d1f40c769f - Copper Fill Tool: added GUI category in Edit -> Preferences window
- QRCode Tool: added a selection limit parameter to control the selection shape vs utility geo
2019-10-26 00:08:50 +03:00
Marius Stanciu 4a3a0a5669 - Copper Fill Tool: added possibility to select between a bounding box rectangular or convex hull when the reference is the geometry of the source Gerber object
- Copper Fill Tool: cleanup on not regular tool exit
2019-10-25 23:08:44 +03:00
Marius Stanciu 2bde43ca3f - added a new FlatCAM Tool: Copper Fill Tool. It will pour copper into a Gerber filling all empty space with copper, at a clearance distance of the Gerber features 2019-10-25 19:52:11 +03:00
Marius Stanciu 228dcfdac1 - QRCode Tool: shortcut key for this tool is now ALT+Q while PDF import Tool was relegated to CTRL+Q combo key shortcut 2019-10-25 16:32:10 +03:00
Marius Stanciu 97809b6de1 - QRCode Tool: added ability to save the generated QRCode as SVG file or PNG file
- QRCode Tool: added the feature to save the PNG file with transparent background
- QRCode Tool: added GUI category in Preferences window
2019-10-25 16:16:43 +03:00
Marius Stanciu ae7fbdf7c0 - QRCode Tool: change the plot method parameter 2019-10-25 02:54:13 +03:00
Marius Stanciu 7cbc3c657a - fixed the requirements.txt and setup_ubuntu.sh files 2019-10-25 02:14:55 +03:00
Marius Stanciu d0e5b6c83a - fixed imports in all TclCommands 2019-10-25 02:10:52 +03:00
Marius Stanciu 7181d55368 - small update 2019-10-25 01:30:23 +03:00
Marius Stanciu dfb8d21d1c - QRCode Tool: added ability to add negative QRCodes (perhaps they can be isolated on copper?); added a clear area surrounding the QRCode in case it is dropped on a copper pour (region); fixed the Gerber export
- QRCode Tool: all parameters are hard-coded for now
2019-10-25 01:20:52 +03:00
Marius Stanciu ee61ba63fa - working on QRCode Tool; finished offseting the goemetry both in apertures and in solid_geometry; updated the source_file of the source object 2019-10-24 19:24:59 +03:00
Marius Stanciu 6f1dc76d64 - working on QRCode Tool; finished adding the QRCode geometry to the selected Gerber object and also finished adding the 'follow' geometry needed when exporting the Gerber object as a Gerber file in addition to the 'solid' geometry in the obj.apertures 2019-10-24 18:52:53 +03:00
Marius Stanciu f91352a9b6 - added some placeholder texts in the TextBoxes.
- working on QRCode Tool; addded the utility geometry and intial functional layout
2019-10-24 17:42:21 +03:00
Marius Stanciu d14b4139cb - QRCode Tool - a SVG object is generated and plotted on screen having the QRCode data
- fixed an import error in Distance Tool
- fixed the Toggle Grid Lines functionality
2019-10-23 22:59:10 +03:00
Marius Stanciu c8a97e69d0 - QRCode Tool - a SVG object is generated and plotted on screen having the QRCode data
- fixed an import error in Distance Tool
2019-10-23 22:53:38 +03:00
Marius Stanciu 70fbb7f852 - start working on QRCode Tool - serching for alternatives 2019-10-23 17:58:06 +03:00
Marius Stanciu bf670d7967 - start working on QRCode Tool - not working yet 2019-10-22 17:32:33 +03:00
Marius Stanciu cff0787107 - finished the GUI layout for the Calibrate Excellon Tool 2019-10-22 16:17:13 +03:00
Marius Stanciu ee6e6c424a - working on the Calibrate Excellon Tool 2019-10-22 02:36:38 +03:00
Marius Stanciu 9aeffa4fda - fixed issue in Gerber Object UI of not updating the value of CutZ entry on TipDia or TipAngle entries change. Fixed issue #324 2019-10-21 16:58:02 +03:00
Marius Stanciu 127a78e06e - updated the Objects menu signals so whenever an object is (de)selected in the Project Tab, it's state will reflect the (un)checked state of the actions in the Object menu 2019-10-21 15:55:49 +03:00
Marius Stanciu 6b1df4d0e3 - fixed an error when trying to view the source file and there is no object selected 2019-10-21 05:32:23 +03:00
Marius Stanciu 9b9f99d824 - the context menu for the Tabs in notebook and PlotTabArea is launched now on right mouse click on tabs themselves 2019-10-21 01:05:04 +03:00
Marius Stanciu e1a7be88ce - solved the issue #329 2019-10-20 22:02:04 +03:00
Marius Stanciu 3ca4ab72d7 - started to work to a new tool: Calibrate Excellon Tool 2019-10-20 05:25:54 +03:00
Marius Stanciu 8797793472 - reverted change in tool dia being able to take only positive values in Gerber Object UI 2019-10-20 02:58:43 +03:00
Marius Stanciu 8b785699ae - updated the About FlatCAM window 2019-10-19 22:04:50 +03:00
Marius Stanciu 7a3e2136ae - small import problem fixed
- RELEASE 8.98
2019-10-19 16:29:36 +03:00
Marius Stanciu db31b057a1 - updated the new objects icons for Gerber, Geometry and Excellon
- RELEASE 8.98
2019-10-19 15:28:57 +03:00
Marius Stanciu f305e4e59a - finished the update on the Google translated Spanish translation.
- RELEASE 8.98
2019-10-19 15:02:24 +03:00
Marius Stanciu 2dd4c6889b - updated all translation files except Spanish 2019-10-19 04:55:42 +03:00
Marius Stanciu 46659af432 - finished the update on French Google translation. 2019-10-19 04:45:17 +03:00
Marius Stanciu 1af594403e - fixed SVG export 2019-10-19 01:19:08 +03:00
Marius Stanciu b058f65108 - finished the Objects menu by adding the ability of actions to be checked so they will show the selected status of the objects and by adding to actions to (de)select all objects
- fixed and optimized the click selection on canvas
- fixed Gerber parsing for very simple Gerber files that have only one Polygon but many LPC zones
2019-10-19 00:29:29 +03:00
Marius Stanciu 7eca6085be - finished the update of the Romanian translation. 2019-10-18 17:04:13 +03:00