Commit Graph

208 Commits

Author SHA1 Message Date
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
Marius Stanciu
ca8db9cacd - changing some parameters from 'geometry_' to 'tools_mill_' format 2021-01-05 06:20:13 +02:00
Marius Stanciu
e726899167 - added a new parameter to the New Tcl command named -reset. If set False (or 0) the TCL instance will not be recreated, allowing to keep the TCL variable content on the new project.
- included the modifications from PR #336 from Andre Spahlinger
2021-01-04 00:44:57 +02:00
Marius Stanciu
f9b3cb0794 - fixed the Tcl Commands: new_geometry, new_gerber and new_excellon to create correct objects. New Geometry object created with the new_geometry Tcl command accept now the usage of add_circle/polygon/polyline/rectangle Tcl commands
- updated the autocompleter list for the Tcl commands with missing Tcl commands names
- added three new Tcl Commands: add_aperture (adds an aperture to a Gerber object), add_drill and add_slot (add a drill/slot to an Excellon object)
2021-01-03 19:58:46 +02:00
Marius Stanciu
230b8b9f3a - moved all the Levelling stuff out of the CNCjob Properties Tab to its own tool, Levelling Tool. The functionality itself is not finished yet. 2021-01-02 22:04:05 +02:00
Marius Stanciu
9dfa3b497d - all the logs done on Exception are now errors (with the exception of few places where the Exception is expected) 2020-12-31 05:56:46 +02:00
Marius Stanciu
bf165032a3 - fixed error in Gerber Editor
- made some more log.debug messages visible in Tcl Shell
2020-12-30 05:52:35 +02:00
Marius Stanciu
1495624a9e - Geometry Editor - added the label Beginner/Advanced for uniformity within the app
- minor string changes
2020-12-25 21:46:18 +02:00
Marius Stanciu
8e40ddfab0 - merged PR by Dmitriy Klabukov and expanded it a bit
- Gerber Editor - made sure that when simplification button is clicked the coordinates and vertex points field are cleared
- Gerber Editor - added a Beginner/Advanced toggle button
- Gerber Editor - added context menu to Apertures Table and also on row selection in Aperture Table, the area and vertex number fields are updated
- Excellon Editor - added a Beginner/Advanced toggle button; added context menu to Apertures Table
- Excellon Editor - fixed the Tools Table row selection handler
2020-12-25 20:51:17 +02:00
Marius Stanciu
b7c2bc8fbd - made sure that the GCode Editor does not have a misleading Cancel option when closing the tab
- made sure that some other part of the program outputs the log messages to the Tcl Shell if the Verbose Log options is set in Preferences
2020-12-21 18:25:12 +02:00
Marius Stanciu
3a97cd3880 - modified the way the status bar icon is set
- Drilling Tool - fixed missing feedrate code when the toolchange is Off
- AppTextEditor - working on syntax highlighting
- App - trying to speed up the new project creation
- Tcl Shell - Browser Edit - added Undo/Redo, Cut and Delete selection
- replace all the exec_() calls with exec() (except one situation in Tcl where I'm not sure of the effect)
2020-12-20 16:56:14 +02:00
Marius Stanciu
0bdd0a8faf - SolderPaste Tool - fixed the UI
- SolderPaste Tool - fixed various issues
2020-12-12 07:19:02 +02:00
Marius Stanciu
f613c8e9a6 - modified the default drawing tolerance from 0.01 to 0.001 2020-12-11 19:30:31 +02:00
Marius Stanciu
86715af5a2 - new Application Objects will hold all the options that start with 'tools_' 2020-12-11 18:28:07 +02:00
Marius Stanciu
025817b62d - updated the 'Default_no_M6' preprocessor by removing the Tx command in the Toolchange section to make it compatible with GRBL controllers
- added a new preprocessor named 'Check_points' which is to be used to check if the PCB is well aligned in position (used by at least the Corners Tool)
- Tool Corners - added a new feature that creates a verification GCode by moving in the locations positions; modfied the UI a bit
- Drilling Tool - removed the mandatory Toolchange event added even if the Toolchange was not selected
- Excellon and Geometry objects no longer have the self.options dict overwritten with the application defaults
- Drilling Tool - first tool that benefit from using the object options instead of application defaults; this is useful if an object is recreated on project load
- Drilling Tool - fixed it to update the UI form also for common parameters on object change
2020-12-11 17:22:53 +02:00
Marius Stanciu
307a0897d4 - in ObjectCollection class made sure to use the log handler defined in the App class 2020-12-10 19:46:43 +02:00
Marius Stanciu
1f65c9c05f - in all Object UI's fixed the Properties section columns resize to content on expansion/collapse of the items 2020-12-09 23:12:49 +02:00
Marius Stanciu
d6c34f97ef - fixed the on_delete() method in the App class; sometime it will delete all files that have similar names
- made sure that on creation of new objects the adding of the names to the auto-complete list is done properly
2020-12-09 19:13:06 +02:00
Marius Stanciu
d843cf7da7 - Geometry object - work in upgrade of the data structure 2020-12-08 00:14:49 +02:00
Marius Stanciu
b0298c02c1 - Milling Tool - working on the data structure - wip 2020-12-06 23:54:11 +02:00
Marius Stanciu
e677a6592e - in Cutout, 2Sided, Film, NCC, Paint, Panelize and Subtract Tool made sure that the object selection in Project Tab reflects in the selected object in the Tools
- set the shortcut key for Milling Tool to ALt+M and for Corner Markers Tool to Alt+B
2020-12-04 03:01:05 +02:00
Marius Stanciu
112588d293 - Milling Tool - more or less made the CNCJob generation for multigeo Geometries to work; still the parameters may not be used
- removed the Generate CNCJob context menu action in the Project Menu as this will not work anymore
2020-12-02 00:13:57 +02:00
Marius Stanciu
b0ccc15f70 - in Geometry Object Properties UI - finished the new feature Simplification and Vertex Points calculation which should greatly reduce the resulting GCode size 2020-11-27 15:16:17 +02:00
Marius Stanciu
fd3f03afba - in Geometry Object Properties UI - added the UI for Utilities and within Utilities added the Simplification UI 2020-11-27 14:44:22 +02:00
Marius Stanciu
1c2314149c - added a way to keep compatibility with old projects 2020-11-25 01:40:56 +02:00
Marius Stanciu
2545da79b5 - fixed an issue for importing DXF as Geometry when the DXF geometry is a single line
- updated the convert_any2geo() method such that resulting geometry objects have the tools attribute required in the newer versions of the app
2020-11-24 21:33:29 +02:00
Marius Stanciu
7eacb1c24e - Cleaned the GUI in Excellon Preferences of parameters no longer used (transferred to Drilling Tool)
- Removed warning message boxes from export DXF/SVG handlers of the menu entries in the File menu and upgraded the status bar message to error
2020-11-21 13:43:43 +02:00
Marius Stanciu
3d869279dc - in Geometry Properties UI restored the plot functionality 2020-11-19 15:42:23 +02:00
Marius Stanciu
e8160ba6c5 - cleaned up the Geometry Properties UI 2020-11-19 15:10:12 +02:00