Commit Graph

4252 Commits

Author SHA1 Message Date
Marius Stanciu
f3af785769 Merge remote-tracking branch 'origin/Beta_8.995' into Beta_8.995 2022-04-11 15:41:03 +03:00
Marius Stanciu
b0b2c8e7f5 - some fixes to the Tcl commands contribution from Ali Khalil
- refactoring code in Distance Plugin and making sure that the measurements are done correctly - work in progress
2022-04-07 14:58:16 +03:00
Ali Khalil
319283cdd0 Merged in Beta_8.995_ali (pull request #21)
Fixed TCL Cutout and GeoCutout and added support for newer gap options

Approved-by: Marius Stanciu
2022-04-06 09:19:52 +00:00
Ali Khalil
75ac180aad Updated cutout command help text to reflect options 2TB, 2LR, and 8 2022-04-06 06:53:52 +03:00
Ali Khalil
d0fe92e5d1 TCL cutout command new switch -type accepting rect and any 2022-04-06 06:41:24 +03:00
Marius Stanciu
6e2bd97350 Merge remote-tracking branch 'origin/Beta_8.995' into Beta_8.995 2022-04-05 14:49:21 +03:00
Ali Khalil
4bbe3b4c49 Minor change. Error tag updated 2022-04-04 09:40:42 +03:00
Ali Khalil
86cba9b4a1 TclCommandGeoCutout updated with gap options in uppercase to match ToolCutOut and TclCommandCutout. 2022-04-04 09:40:42 +03:00
Ali Khalil
16a013266b TclCommandCutout now uses CutOut.rect_cutout_handler for gaps 2022-04-04 09:40:42 +03:00
Marius Stanciu
a59f996819 - some reformatting and class rename
- when clicking the coordinates toolbars in the status bar now the Distance Plugin is shown and if already displayed, it is closed (toggle action)
2022-04-03 15:06:36 +03:00
Marius Stanciu
1b9e2feb75 - in Cutout Plugin exposed the any_cutout_handler() method and made sure that the gaps parameter case does not matter 2022-04-03 12:18:02 +03:00
Marius Stanciu
80a699693f - make sure that replotting objects is done only for enabled objects 2022-04-02 21:21:05 +03:00
Marius Stanciu
d7fd4dc8f2 - minor fix in Fiducials Plugin 2022-04-02 15:55:23 +03:00
Marius Stanciu
72d39f09fb - in Fiducials Plugin, for manual mode: added utility geometry and the ability to use a big cursor 2022-04-02 15:50:00 +03:00
Marius Stanciu
f388c51eb4 - in Markers Plugin, added a numeric mode 2022-04-02 08:22:33 +03:00
Marius Stanciu
0f0fa88451 - in Markers Plugin, for the manual mode added the choice to use a big cursor when manual placing markers 2022-04-01 01:16:24 +03:00
Marius Stanciu
ff52630394 - in Punch Gerber Plugin if no Gerber object is selected then the first Gerber object in the project list is selected (if any); fixed aperture marking in Punch Gerber Plugin
- in Punch Gerber and Extrat plugins, clean up the aperture markings on Plugin exit
2022-03-31 23:52:57 +03:00
Marius Stanciu
8e18669249 - fixed aperture marking in Extract Plugin
- in Extract Plugin if no Gerber object is selected then the first Gerber object in the project list is selected (if any)
2022-03-31 23:28:08 +03:00
Marius Stanciu
ada48269a9 - refactored the imports in the Plugins, moved almost all imports in the AppTool file
- fixed a number of issues, mostly leftovers from moving the UI of a Plugin in its own class
- fixed some bugs in the Punch Gerber plugin
- fixed some bugs where the 'pool' parameter was not passed when creating shapes collections (in 3D graphic mode); I wonder how it worked until now
- added a new feature in the Isolation Plugin: now for all the isolation Geometry objects this plugin can do a supplementary simplification of the geometry using the tolerance parameter defined in the General Parameters. This should lead to a reduced number of tool lifts when doing corners
2022-03-31 19:28:19 +03:00
Marius Stanciu
cd52f1a00d - minor comment 2022-03-31 14:31:54 +03:00
Marius Stanciu
e1824a09f7 - make sure that the state of the workspace is saved correctly on change 2022-03-31 11:40:50 +03:00
Marius Stanciu
c4151631ec - changed the app main icons, hopefully they are more visible on black backgrounds than the ones that FlatCAM has 2022-03-31 11:28:35 +03:00
Marius Stanciu
5de1144565 - when doing PDF printing, the cncjob objects are prioritized and placed on top of Gerber objects 2022-03-30 18:18:07 +03:00
Marius Stanciu
69a1052a44 - when doing PDF printing and no object is selected now the default action is to print everything that fits within the workspace 2022-03-30 18:08:47 +03:00
Marius Stanciu
7f9a23c41c - improved how the PDF printing works: now the Excellon files are always on top and from the rest of objects the first selected is on top, below the Excellons 2022-03-30 17:57:41 +03:00
Marius Stanciu
c0b3f6ebde - some minor changes in Distance Plugin
- when changing workspace orientation fixed leaving behind the old frame on the cavnas
2022-03-30 17:41:22 +03:00
Marius Stanciu
98a5d0ff81 - in Distance Plugin: "snap to center" feature now works outside the Editors too (for Gerber object pads and Excellon object drill holes) 2022-03-30 16:23:22 +03:00
Marius Stanciu
f8bf9dee78 - in Distance Plugin: added a new way to display the angle (angles between 181° and 359° are subtracted from 360°) 2022-03-30 12:43:34 +03:00
Marius Stanciu
40ba41264e - in Distance Plugin made sure that the grid snapping restore is working properly (previously it always restored it to the ON state)
- the HUD display is no longer default active on new installations
2022-03-30 12:32:08 +03:00
Marius Stanciu
c69f9dc2d9 - a minor fix in the Plotcanvas() class
- fixed the OR-tools path optimization (it required now a cast to int when creating the distances' matrix)
2022-03-30 01:30:07 +03:00
Marius Stanciu
727c801f0a - in Distance Plugin, fixed the Snap to center feature to work as intended 2022-03-29 03:13:43 +03:00
Marius Stanciu
a3f9d7c248 - added ability to change the mouse cursor color on the fly
- in Distance Plugin made sure that the 'big cursor' (when is used) is black in color (visible in most situations)
- in Distance Plugin, for the 2D graphic mode activated the utility line
2022-03-29 02:14:44 +03:00
Marius Stanciu
aefd66f02b - in the Film Plugin fixed an error which triggered an unwanted 'length' scaling 2022-03-28 22:22:04 +03:00
Marius Stanciu
a8d68ed400 - in Distance Plugin finished the 'big cursor' feature 2022-03-28 20:15:33 +03:00
Marius Stanciu
4745e1cab9 - in Distance Plugin added the ability to use a big cursor; not finished: when the grid is off it is not displayed 2022-03-28 20:06:11 +03:00
Marius Stanciu
481657dc4a - fixed toggling the visibility for the CNCJob objects (was in reverse to the expected state) 2022-03-27 22:34:36 +03:00
Marius Stanciu
c8620fd9d2 - trying to make loading a project an easier task for the application 2022-03-27 22:18:22 +03:00
Marius Stanciu
eec366ce7f - refactoring names for some classes 2022-03-24 18:35:44 +02:00
Marius Stanciu
cd42c40198 - minor change 2022-03-23 14:21:53 +02:00
Dmitriy Zakharkin
f3c2bd7b77 Merged in tool-size (pull request #20)
KeyError during G-code generation for spindle.

Approved-by: Marius Stanciu. This should not happen except for older projects.
2022-03-22 13:02:25 +00:00
Marius Stanciu
f641cc65bd - fixed the GCode generation such that (for milling Geometries) the choice of using (or not) and end position is respected
- for `hpgl` code generation made sure that the first travel line is not marked as a cut line when using a toolchange event
2022-03-22 00:33:02 +02:00
Marius Stanciu
28201b60c3 - added an example on a drag & drop tree widget picked from StackOverflow 2022-03-21 23:31:14 +02:00
Marius Stanciu
519587e60f - updated Turkish language strings by Mehmet Kaya 2022-03-21 20:34:42 +02:00
Dmitriy
f07c3a474c KeyError during G-code generation for spindle. 2022-03-21 09:40:34 -04:00
Marius Stanciu
d839beea6c - added a method that can help in the future in regard to drag & drop 2022-03-21 10:42:39 +02:00
Marius Stanciu
a5544615c5 - optimized the UI for the CNCJob object
- when loading a Gcode file in the app now the application makes an attempt in adding information's such that the CncJob UI works correctly; if so information's are not found then assumptions are made. Only for GCode that is detected as made from an Excellon object
2022-03-21 01:35:47 +02:00
Marius Stanciu
85816510cc - in all text editors, when writing in the Find entry, all instances of typed chars will be selected
- in all text editors, pressing Enter on Find Entry will search for next instance of the searched text (no longer for focus out)
2022-03-20 22:39:19 +02:00
Marius Stanciu
8f1e9fd740 - another fix to make the app save correctly the CNCJob objects when saving a project 2022-03-20 21:46:16 +02:00
Marius Stanciu
80144ed899 - updated the code in FlatCAMCNCJob object such that more attributes will be serialized in order for loading a project correctly when it has CNCJob objects 2022-03-20 17:27:18 +02:00
Marius Stanciu
c04957322e - added a last resort option to load old projects; the result is not guaranteed if the differences are too great 2022-03-20 14:32:20 +02:00