Commit Graph

1187 Commits

Author SHA1 Message Date
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