Commit Graph

336 Commits

Author SHA1 Message Date
Marius Stanciu
358ae2d960 - remade the CNC Job Object Properties UI 2021-09-06 01:22:16 +03:00
Marius Stanciu
854548142e - remade the Gerber Object Properties UI
- fixed a small typo when creating a new Gerber empty App Object
2021-09-05 17:17:24 +03:00
Marius Stanciu
c91cb9e01b - in Punch Gerber Plugin remade the GUI
- some minor fixes in some of the Plugins
2021-09-05 01:31:11 +03:00
Marius Stanciu
3ddb321dff - some GUI changes in Milling Plugin
- fixed the multiple selection in the Project Tab collection list; now only a single selection will trigger the signal 'proj_selection_changed'
- when Milling Plugin is opened, selecting an Excelon object will set the GUI to Excellon Target
2021-09-02 12:46:38 +03:00
Marius Stanciu
2e23b8590b - fixed the issue in Milling Plugin that did not automatically set the object combo to the previously selected object 2021-09-01 23:16:17 +03:00
Marius Stanciu
1c06c05c22 - cleaned up the Geometry and Gerber object classes
- more cleanup in Isolation Plugin
2021-08-19 15:20:23 +03:00
Marius Stanciu
63506b57a3 - some changes due of porting to PyQt6 2021-08-11 15:46:29 +03:00
Marius Stanciu
3c06280d3d - more changes due of porting to PyQt6
- fixed the Autocompleter highlighting to work in PyQt6
2021-08-07 10:21:45 +03:00
Marius Stanciu
4eb20fd5fe - more fixes for porting to PyQt6 2021-08-05 02:23:29 +03:00
Marius Stanciu
ffce6b437f - continuing to fix the PyQt6 port
- added an Exception when App.on_canvas_setup() fails
2021-08-05 00:50:09 +03:00
Marius Stanciu
53272da959 - porting to PyQt6 2021-08-04 18:34:24 +03:00
Marius Stanciu
4d60e5c197 - fixed errors in the Roland preprocessors
- fixed CNCJob plot scaling when using Roland preprocessors
- in Roland preprocessors added the use of spindlespeed
- made sure that the preprocessors that don't use the gcode_header still use the start gcode
2021-07-23 23:39:25 +03:00
Marius Stanciu
1330b1047c - when using the NCCAD9 preprocessor (for Kosy machines) at GCode save the .knc extension will be automatically preselected
- added a preprocessor for Roland MDX-540
2021-07-21 23:56:53 +03:00
Marius Stanciu
29988a622e - in ParseDXF file fixed import of module due of changes in the latest version of ezdxf module
- changes in Milling Plugin in the selection in the Tools Table
- some updates of milling data structure
- changes in handling the tool shape due of moving the parameter from the tool table in the tool parameters section
2021-07-21 00:46:55 +03:00
Marius Stanciu
7227ebce7b - finished preprocessor file for Kosy CNC machine (NCCAD9)
- fixed the gcode header export to work with the new data structure
2021-07-18 15:04:31 +03:00
Marius Stanciu
9c139d3ea2 - modified the Geometry UI tools table. Replaced the comboboxes with labels.
- Fixed the SolderPaste Plugin regarding the special designation 'SP' job type and 'DN' tool shape
- some fixes in the GCode Editor regarding the new changes in the data structure
2021-07-18 12:01:41 +03:00
Marius Stanciu
f08466e7f2 - preferences UI is now started on preferences open
- more work/fixes in working on data structures (offset, offset_value, job_type, shape)
2021-07-14 22:35:29 +03:00
Marius Stanciu
4e46eac61c 7.07.2021
- some changes in data tools structure ('tool_type' to ['data']['tools_mill_job_type])
- some strings changes

4.07.2021

- optimized the Milling Plugin preferences
- added more preferences for v-shape tools in the Milling Plugin Preferences
- deactivated the automatic disable of the Cut Z parameter when selecting a v-shape tool in Milling Plugin
- in Milling Plugin added some protections against receiving signals from widgets without objectName set
- in Milling Plugin made sure that the Custom offset field is displayed only when it is needed (selected from Offset Type combobox)
- added some requirements asked by vispy v0.7.0
- if the generated Gcode is empty then the app will know and will not create a CNCJob object
- modified the Tool Table in Milling Plugin: now the tool type parameter is part of the Tool parameters and no longer in the Tool Table
- working on a Kosy CNC machine preprocessor file
2021-07-07 01:16:15 +03:00
Marius Stanciu
c84364e605 - in CNCJob object, for CNCJob objects created when importing a foreign Gcode file, fixed the updating of the tool diameter
- in CNCJob object, when there are no tools in the Tools Table (it happens when importing foreign GCode files) the Tool Table is now displayed in a correct way
2021-04-29 21:34:56 +03:00
Marius Stanciu
3025a43d34 - fixed a recent but in Gerber Object that crashed the application when the aperture marking was used 2021-04-20 09:40:44 +03:00
Marius Stanciu
b91bd36055 - fixed errors when using the new ... canvas context menu entries which crated a hard crash 2021-03-28 22:41:20 +03:00
Marius Stanciu
4c92083c01 - upgraded all the plugins such that at each launch the Plugin UI is reinitialized reducing the chances to get errors like "wrapped up C++ object deleted" with the side effect that the performance might be slightly reduced 2021-03-28 15:21:17 +03:00
Marius Stanciu
0117ff5ae3 - removed another parameter in the serialized parameters for CNCJob object (no longer used) which made the project saving to fail (when CNCjob objects are in the project) 2021-03-20 00:20:38 +02:00
Marius Stanciu
3011f159bc - fixed mouse bytes generation if Cutout Plugin to add an extra drill hole at the end
- fixed an issue in Film Plugin made by copy/paste done recently to make sure that objects selected in Project Menu are populated in the Plugin UI on Film Plugin launch
- removed a parameter in the serialized parameters for CNCJob object (no longer used)
2021-03-19 14:07:36 +02:00
Marius Stanciu
bc29211507 - the GCode generation takes now into consideration the Toolchange X-Y parameter as a starting point
- Milling Plugin - work on it; upgraded the form-to-data_storage methods
2021-03-15 19:29:48 +02:00
Marius Stanciu
546f4c2361 - updated the Milling Plugin and all the related parts in the CNCJob Object and in all preprocessors. Now, the parent 'tools' attribute is inherited and also the GCode is stored here
- made sure that old projects load but without the CNCjob objects which would have crashed the app due different data structures
- the FlatCAm Evo projects load now in succession, no longer on threads
2021-03-15 00:02:33 +02:00
Marius Stanciu
d846b24d66 - allow the old projects to be loaded without crashing the app, although the load is incomplete 2021-03-14 22:08:42 +02:00
Marius Stanciu
95fb418966 - upgraded the Drilling Plugin and all the related parts in the CNCJob Object and in all preprocessors. Now, the parent 'tools' attribute is inherited and also the GCode is stored here 2021-03-14 13:05:19 +02:00
Marius Stanciu
2f64ca99b1 - Geometry Editor can now modify the edited tool diameter 2021-03-14 05:29:44 +02:00
Marius Stanciu
5769998c04 - fixed a bug in Gerber merge
- bypassed a bug in FlatCAM Gerber UI - its not really fixed (it's a crash in build UI when disconnecting signals due of the wrapped C++ object already destroyed)
2021-03-13 21:22:13 +02:00
Marius Stanciu
2f57e97a21 - fixed issue when exporting DXF and not settings the units
- added the posibility to export the Geometry in different DXF formats (previously it was hard coded to the AutoCAD 2010): R12, R2000, R2004, R2007, R2010, R2013, R2018
- fixed the camlib.Geometry.bounds() method such that it is calculated correctly for Geometry objects created in the Geometry Editor
2021-03-11 04:50:41 +02:00
Marius Stanciu
d464c1e18a - modified the CNCJob UI to add a shortcut button for the Levelling Plugin 2021-03-08 02:10:04 +02:00
Marius Stanciu
9855405b2e - Levelling Tool - mare sure that there are no duplicate seed points when creating Voronoi polygons
- Levelling Tool - fix of missing variable declaration (forgot to take everything when I moved the functionality from the CNCJob class to its own class)
2021-03-07 20:44:34 +02:00
Marius Stanciu
f103cc0a70 - added detection of Gerber files in Gerber X2 format
- added a new feature: if a Gerber file in format Gerber X2 having Drill information's is detected then after loading, it will be converted to an Excellon object
2021-03-05 05:36:40 +02:00
Marius Stanciu
0986ef143c - aperture keys in the gerber 'tools' dictionary are now stored as integers instead of strings as before; need to check the application especially the Gerber Editor
- fixed issues in Gerber Editor (using the '0' insteadd of 'REG' type for apertures)
2021-03-04 17:45:47 +02:00
Marius Stanciu
cda5f830be - fixed errors on project load, in ParseGerber and Extract and Punch Gerber Plugins due of refactoring the 'apertures' attribute to 'tools' 2021-03-03 23:21:10 +02:00
Marius Stanciu
e715870d12 - major rafactoring: replaced the name of the Gerber object data structure from 'apertures' to 'tools' to make the object data structure uniform across the app 2021-03-01 17:46:23 +02:00
Marius Stanciu
ca748d9a02 - update in Code Highlighter to highlight the X and Y chars
- updated the Document and Script objects Beginner/Advanced selection labels to the same as the rest of the app objects
2021-02-27 04:48:00 +02:00
Marius Stanciu
f480bafb66 - changed some confusing strings regarding the 'Properties'
- Properties Tool is now ObjectReport Tool
- fixed some attributes in Milling Slots Excellon Object utilities functionality
- fixed some issues in the translated strings .po files
2021-02-26 16:26:30 +02:00
Marius Stanciu
a68dc429e3 - fix of Tcl command AlignDrill by Bogusz Jagoda
- small changes in FlatCAMExcellon.py file to fix milling the drill holes (due of the new changes in Geometry data structure)
2021-02-10 14:43:17 +02:00
Marius Stanciu
e36a8a04a0 - more refactoring in the app 2021-01-29 02:40:10 +02:00
Marius Stanciu
04649622eb - some refactoring
- working on Milling Tool and Drilling Tool: made sure that the plugin UI is initialized only when the plugin (Tool) is run in order to avoid errors like (wrapped C++ objects was deleted)
2021-01-29 02:08:34 +02:00
Marius Stanciu
5b0ec590f3 - made sure that the Offset fields in the Properties Tab are updated on object: move, origin change, transformations 2021-01-22 15:07:41 +02:00
Marius Stanciu
5bb3c18693 - fixed the Gerber export to convert all the aperture macros to regions and therefore export also the data from aperture macros 2021-01-19 07:49:15 +02:00
Marius Stanciu
0386dbf258 - working on the Follow Tool and Milling Tool 2021-01-13 03:27:04 +02:00
Marius Stanciu
fabd8188b4 - working on Tool Follow, Milling Tool, camlib to adapt them to the new changes in the Geometry Object 2021-01-11 02:26:58 +02:00
Marius Stanciu
cbe0542d7d - minor change in Geometry Object 2021-01-10 03:24:22 +02:00
Marius Stanciu
8c8b781bdb - attempting to fix issue #492 - when checking for tools present in the database there were some errors in the NCC, ISO, MILL, PAINT and CUTOUT Tools 2021-01-09 23:25:10 +02:00
Marius Stanciu
4539d22329 - for Excellon, Geometry and Gerber objects now in the Object UI (Properties Tab) by default the Offset field is populated with the coordinates of the center of the current object 2021-01-08 04:01:10 +02:00
Marius Stanciu
641a48bc9a - added the toggle button for Beginner/Advanced mode for the CNCjob, Geometry, Gerber, Excellon Objects UI (Properties Tab) 2021-01-08 03:27:14 +02:00