Commit Graph

4233 Commits

Author SHA1 Message Date
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
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
Marius Stanciu
16b6f96324 - minor change 2022-03-20 04:43:03 +02:00
Marius Stanciu
6a5a408c47 - added a way to load older projects (made before recent changes) 2022-03-19 23:12:43 +02:00
Marius Stanciu
ee3b1089d5 - updated the app translation strings to match the ones in the sources, for all languages
- updated the Romanian language (native)
- updated the Spanish language (Google-translated)
2022-03-19 18:30:34 +02:00
Marius Stanciu
404f0650d0 - fixed some errors for when loading a saved project 2022-03-19 16:25:52 +02:00
Marius Stanciu
730ef529dc - fixed issues in the Scale feature of the Film Plugin
- in the Scale feature of the Film plugin added ability to scale by a length amount
2022-03-17 02:29:28 +02:00
Marius Stanciu
5be8685ee1 - fixed an exception encountered on saving projects due of getting a "circular error" on serializing the project objects 2022-03-17 00:57:17 +02:00
Marius Stanciu
a0121c2e7b - changed estimated time for new release 2022-03-15 21:07:44 +02:00
Marius Stanciu
cf7ee8930a - fixed an issue in Calculators Plugin that could crash the app, in the Electroplating section 2022-03-15 20:55:30 +02:00
Marius Stanciu
613a60cecc - fixed issues when saving the project due of changed serializable attributes 2022-03-13 04:28:52 +02:00
Marius Stanciu
6ad12abba2 - minor UI changes (added some parenting so some pop-up messages will be centered in the UI as opposed to the screen) 2022-03-12 19:28:13 +02:00
Marius Stanciu
dc11f1be50 - installed an eventFilter for the Sliders in the Preferences tab such that only if a slider has focus the mouse wheel will change its value
- in Preferences made sure that the changes of the scrollbar no longer interfere with signalling changes
2022-03-12 18:16:15 +02:00
Marius Stanciu
37e31b0159 - added to the application an older contribution by another user: Columnar Layout for the Preferences Tab. It can be set in Preferences -> General -> GUI section 2022-03-12 01:05:54 +02:00
Marius Stanciu
320a76761e - added a new splash image for the case of using a dark theme 2022-03-11 22:42:49 +02:00
Marius Stanciu
4a4cb4301c - changed the look for the Location/Jump To widgets; it is now like a cross being more relevant visually
- the Numeric Move now can take only a parameter instead of a tuple but only if the comma is added, the not added parameter will be assumed 0.0. Therefore ",10" will move to (0, 10).
2022-03-11 19:29:31 +02:00
Marius Stanciu
7977e5dfdb - some UI changes (startup splash image changed) 2022-03-11 15:55:07 +02:00
Marius Stanciu
30d899ad89 - in Distance Plugin made sure that the 0.0 value for the angle is displayed 2022-03-11 14:55:59 +02:00
Marius Stanciu
a3a8fbf8d5 - in the Grid Toolbar, the Grid Y entry is now by default hidden and shown only when there is a need (grid gap link is disabled) in order to maximize the status bar space availability 2022-03-11 14:48:22 +02:00
Marius Stanciu
1a0769c532 - made sure that on canvas context menu pop-up, if 'Properties' action is clicked and there is no object selected then the Properties tab is selected 2022-03-11 14:12:44 +02:00
Marius Stanciu
cc28ccb339 - made sure that on canvas context menu pop-up, some actions are disabled if there is no object selected 2022-03-11 14:05:31 +02:00