10738 Commits

Author SHA1 Message Date
YuSanka
c5b525ba3f Functions, related to load information from files are extracted from the Model into FileReader
+ GalleryDialog:: load_files() is renamed to add_files_to_custom_dir()
2025-01-13 14:13:04 +01:00
YuSanka
b834bebac1 Functions, related to processing of the model after are extracted from the Model into ModelProcessing.
+ Split/merge functions are moved into ModelProcessing too.
2025-01-13 14:13:04 +01:00
Martin Šach
99dac89376 Improve compilation by clang19 2025-01-10 10:59:56 +01:00
Lukas Matena
ceefdebbe2 SPE-2629: Highlight active bed even when its bed model is big 2024-12-19 10:13:12 +01:00
Lukas Matena
33889d8e50 Remove sleep in webview dialog (related to SPE-2567) 2024-12-18 14:17:30 +01:00
Lukas Matena
765ddd7594 Sleep before closing dialog.
+ fix of double loading first url.
2024-12-18 12:57:48 +01:00
YuSanka
7a01f7b26d Fixed a crash on language switch, when slicing is in a progress
+ Commented assert in update_background_process()
2024-12-18 11:16:57 +01:00
David Kocik
ecf44ab42f SPE-2622: Moved session mutex inside Account Session methods. Prevents performing request under locked mutex.
Prevents deadlock when UI interacts with Session queue while requests are performing slowly.
2024-12-18 10:57:25 +01:00
Lukas Matena
92e9d0c6aa SPE-2610: Reload volumes outside state after technology is switched 2024-12-18 10:43:25 +01:00
Martin Šach
6dc5fc5a27 Reset all print statuses on load 2024-12-18 10:43:24 +01:00
Martin Šach
7258af65ee Fix SPE-2625: Reset all print statuses when a technology is changed. 2024-12-18 09:35:56 +01:00
Lukas Matena
8d6941f01c Fixed columns width of the table with print statistics 2024-12-17 22:23:38 +01:00
Lukas Matena
229d425dd3 Some fixes in phrases 2024-12-17 22:23:38 +01:00
YuSanka
56cb063c3b Bed Selector: Use extra large icons instead of large. 2024-12-17 19:33:05 +01:00
Lukas Matena
80a965ef12 SPE-2624: Hotfix for empty thumbnails in shape gallery 2024-12-17 17:18:33 +01:00
Lukas Matena
4cf30d6c81 Fix crash when sending to print host (manifested on macOS under ASAN) #13750 2024-12-17 12:58:43 +01:00
Martin Sach
ac2ef88200 Force update after load 2024-12-17 12:57:11 +01:00
Martin Sach
b5ef21947b SPE-2618 Remove redundant wxWindowsUpdateLocker
It was causing unnecessary re-render in each call to show
bulk slicing buttons.
2024-12-16 13:11:57 +01:00
Lukas Matena
817df53480 Fix missing update of preview:
The problem was that when one print preview was loaded, second print was in progress and someone switched
to the first bed in 3D view and then switched to preview, the preview was not updated. GCodeViewer remembers
last preview it loaded, so it thought that no action is needed.
For now, let's just place this ugly patch to make sure that no other functionality is broken.
2024-12-13 15:26:57 +01:00
David Kocik
77bb4945f2 Revert "SPE-2567: Login dialog starts with loading page to delete cookies before first request."
This reverts commit 338a961bd3d173df5e0f458f489ce79083a31336.
2024-12-13 15:21:27 +01:00
Jan Bařtipán
b5c97738be HTTP: changed retry strategy so the max period is ~4mins and limited to 16 retries 2024-12-13 15:05:56 +01:00
Lukas Matena
a62e772cfd Kill autocenter 2024-12-13 14:09:20 +01:00
David Kocik
42c39dd232 typos 2024-12-13 13:58:09 +01:00
David Kocik
66e362e2dd SPE 2553: Do a silent removal of desktop files. 2024-12-13 13:58:09 +01:00
David Kocik
57d383d585 SPE-2553: Added Preferences / Other checkbox for checking old desktop files. 2024-12-13 13:58:09 +01:00
David Kocik
37c1a81e34 SPE-2553: Find non-flatpak desktop files and delete them.
Changed destination of search to not use XDG vars.
2024-12-13 13:58:09 +01:00
Lukáš Hejl
bf8f5ea2aa SPE-2579: Always use world coordinates for height range brush. 2024-12-13 12:50:27 +01:00
themanyone
209d23e0ae Fix search bar losing focus while typing (PR #13691 by @themanyone) 2024-12-13 12:45:00 +01:00
Martin Šach
3896ddc40c Fix error checking during bulk export
There is no reason to check for file extension nor special characters
when a directory is picked.
2024-12-13 12:34:21 +01:00
YuSanka
7cd7af5730 BulkExportDialog: Show not valid beds too 2024-12-13 12:34:21 +01:00
YuSanka
0de63d0db8 BulkExportDialog: Added question dialog for the case, when already existed bed name is used
+ Use wxFlexGridSizer instead of nested wxBoxSizers and Layout() calls
2024-12-13 12:34:21 +01:00
Martin Šach
cbd85c7528 Fix detection of instance on a bed boundary 2024-12-13 12:34:21 +01:00
Martin Šach
4ec68c219c Add empty lines to all print statistics 2024-12-13 12:34:21 +01:00
YuSanka
834930fbe6 BulkExportDialog: Added enable/disable state for text control and status icon 2024-12-13 12:34:21 +01:00
Martin Šach
642d0529fb Fix bulk output indexing and path to print association 2024-12-13 12:34:21 +01:00
Martin Šach
532180a23d Add invalid states icons 2024-12-13 12:34:21 +01:00
YuSanka
fdfc5d800a Bed Selector: Added bed ID
+ slice_all_beds_button is switched into generat button_with_icon
2024-12-13 12:34:20 +01:00
Martin Šach
a89a1fe3b9 Add checkbox to bulk export and send to connect
If the checkbox is not checked the path is not exported.
2024-12-13 12:34:20 +01:00
Lukas Matena
763dc015a7 Draw numbers on beds (in the scene) 2024-12-13 12:34:20 +01:00
Martin Šach
0f6c90ab3b Correctly enable bulk export even if some print statuses are invalid 2024-12-13 12:34:20 +01:00
Martin Šach
6001759e6c Add invalid state toolpath_outside and display it accordingly 2024-12-13 12:34:20 +01:00
Martin Šach
5e6a721683 Make thumbnail regeneration a wxEvent
Also call the event when a bed texture is fully loaded.
2024-12-13 12:34:20 +01:00
YuSanka
567a2cdc38 BedSelector: Implemented "Slice all" button with correct centering of the icon on it.
+ Retina specific: Fixed bed_selector_thumbnail()
2024-12-13 12:34:20 +01:00
Martin Šach
b4ab9883c2 Reload even empty preview
When Preview::load_print is called and even if the print
has no layers, call load_gcode_preview to show an
empty bed for print with no layers.
2024-12-13 12:34:20 +01:00
Martin Šach
4348417ca8 Better filenames during bulk export/send
- Pick better default names during bulk export
- Let user change the filenames after picking
  a printer during send to connect
2024-12-13 12:34:20 +01:00
Martin Šach
0dcc654d39 Add multiple beds error states handling
Print can be unslicable for various reasons:
- object partially on bed
- invalid data (e.g. when sequential printing)
- bed is empty

Keep this information for each bed a behave accordingly.
2024-12-13 12:34:20 +01:00
David Kocik
18b7333344 Hide slicing notification earlier than 15d288ed1b9accc65f3c063a23a1b94b2ba3989c 2024-12-13 10:36:27 +01:00
David Kocik
cdde5e87d7 SPE-2605: Prevent empty slicing notification when switching beds. 2024-12-13 10:36:27 +01:00
YuSanka
b732a5b744 Fixed position of the "Statistics" window and added horizontal scroll-bar to it.
+ Fixed scaling, size and position of the bed selector and notifications, when auto-slicing is on
2024-12-13 10:36:27 +01:00
Martin Šach
37f5bfc2cd Disable SLA autoslicing page
- Also set instances to unprintable for SLA instead
  of removing them from the model
2024-12-13 10:36:27 +01:00