Commit Graph

81 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
d843cf7da7 - Geometry object - work in upgrade of the data structure 2020-12-08 00:14:49 +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
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
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
Marius Stanciu
9923188bbc - fixed the App Tools buttons in the Tools section of the Properties Tab for Excellon, Gerber and Geometry objects 2020-11-16 02:07:13 +02:00
Marius Stanciu
bb279cbebe - removed the enforced ActivityView width
- various string changes; updated the strings
- brought up-to-date the Romanian translation strings
- updated the source file when creating Excellon objects in various places in the app
2020-11-15 15:05:58 +02:00
Marius Stanciu
8f9a7fd240 - Milling Tool - finished adding the add tool, copy tool, delete tool and tool plot when the target object is Geometry
- in camlib.py fixed the bounds() method for the Geometry objects such that tools in an Geometry object with no geometry will be now ignored for calculating the bounds
2020-11-13 21:44:40 +02:00
Marius Stanciu
c4b04ef0e5 - Milling Tool - finished the UI and also the button handlers in the Geometry and Excellon objects Properties UI 2020-11-13 17:38:41 +02:00
Marius Stanciu
21db5d9528 - in Geometry UI and in Drilling Tool added ability to edit existing Exclusion Areas and change the Strategy and OverZ parameters for each of them
- in Geometry UI and in Drilling Tool added a Delete menu entry in the Exclusion Area Table context menu
2020-11-12 23:42:26 +02:00
Marius Stanciu
dea7ce3028 - PEP8 changes and PyCharm suggestions 2020-11-12 20:47:43 +02:00
Marius Stanciu
1a131eb71e - some fixes in the app_Main class
- removed the "follow" functionality from the Isolation Tool
- created a new application Tool named Follow Tool
- added the "follow" functionality in the Follow Tool and added the new feature of allowing to perform "follow" on an area selection
2020-11-12 16:22:50 +02:00
Marius Stanciu
23c4589a5e - removed the forcing of multigeo geometry usage when creating CNCJobs 2020-11-11 17:52:06 +02:00
Marius Stanciu
f9e7892249 Merged jpcgt/flatcam/Beta into Beta_8.995 2020-11-08 17:58:31 +02:00
Marius Stanciu
efa69d1941 - preprocessors are no longer ordered in the comboboxes so I had to sort them manually 2020-11-08 05:17:12 +02:00
Robert Niemöller
1a22ba7688 Bugfix when using NCC on multigeo 2020-11-07 23:11:15 +01:00
Marius Stanciu
7a5aa572f7 - fixed issue with the Geometry object name, object made from NCC Tool (rest machining), being changed on row clicking in the Geometry Tool Table 2020-11-07 22:11:36 +02:00
Marius Stanciu
f2c9a7a49e - fixed issue with first click on the header of the Tool Table in the Geometry Object Properties and also made sure that clicking the Plot Items in the last column will not select rows 2020-11-07 21:07:50 +02:00
Marius Stanciu
1d88fd0d4c - Turkish language strings updated
- set some policy rules back the way they were for the combo boxes in Geometry Object properties
2020-11-05 20:17:02 +02:00
Marius Stanciu
90e3b26b68 - fixed issue with arrays of items could not be added in the Gerber/Excellon Editor when a translation is used
- fixed issue in the Excellon Editor where the Space key did not toggle the direction of the array of drills
- combed the application strings all over the app and trimmed them up until those starting with letter 'O'
- updated the translation strings
2020-11-04 18:40:59 +02:00
Marius Stanciu
f5310148eb - trimmed the application strings 2020-11-03 22:37:39 +02:00
Marius Stanciu
5170505f53 - trying to optimize Gerber Editor selection with the mouse
- optimized some of the strings
2020-11-03 06:21:53 +02:00
Marius Stanciu
b6d4d5e85f - fix an older issue that made that only the Custom choice created an effect when changing the Offset in the Geometry Object Tool Table 2020-11-03 02:47:41 +02:00
Marius Stanciu
263ec736c3 - fixed an issue in Tool Isolation used with tools from the Tools Database: the set offset value was not used
- updated the Tools Database to include all the Geometry keys in the every tool from database
- made sure that the Operation Type values ('Iso', 'Rough' and 'Finish') are not translated as this may create issues all over the application
2020-11-03 02:19:01 +02:00
Marius Stanciu
374c29b4b0 - fixed the Tcl Command AlignDrill
- fixed the Tcl Command AlignDrillGrid
- fixed the Tcl COmmand Panelize, Excellon panelization section
- Fixed an issue in Tool Calibration export_excellon method call
- PEP8 corrections all over the app
2020-11-02 03:32:00 +02:00
Marius Stanciu
084643eb95 - improvements in the Punch Gerber Tool aperture markings
- improved the Geometry Object functionality in regards of Tools DB, deleting a tool and adding a tool
- when using the 'T' shortcut key with Properties Tab in focus and populated with the properties of a Geometry Object made the popped up spinner to have the value autoselected
2020-10-30 04:09:23 +02:00
Marius Stanciu
c7b96b7a68 - fixed issue with preamble not being inserted when used alone
- modified the way that the start GCode is stored such that now the bug in GCode Editor that did not allowed selection of the first tool is now solved
2020-10-30 02:01:33 +02:00
Marius Stanciu
38abfa4f31 - fixed issues in the Tools Database due of recent changes in how the data structure is created
- made sure that the right tools go only to the intended use, in Tools Database otherwise an error status message is created and Tools DB is closed on adding a wrong tool
- fixed the usage for Tools Database in Unix-like OS's
- done some modest refactoring
- fixed the Search and Add feature in Geometry Object UI
2020-10-29 22:32:44 +02:00
Marius Stanciu
443f9a51e8 - added a protection on opening the tools database UI if the tools DB file is not loaded 2020-10-29 12:53:19 +02:00