15783 Commits

Author SHA1 Message Date
Martin Šach
0d9b079e4b Use boost::variant instead of std variant 2024-09-26 14:43:09 +02:00
Martin Šach
bc34b60ac3 Update seam visualization to support scarf seams - WIP 2024-09-26 14:43:09 +02:00
Martin Šach
aa6132ebb6 Scarf seam implementation. 2024-09-26 14:43:09 +02:00
Martin Šach
7042c1a34e Add scarf seam config options 2024-09-26 14:43:09 +02:00
Martin Šach
b065ab6078 Fix includes 2024-09-20 16:31:36 +02:00
themanyone
7649a7d047 fix compiler warnings about using reference types 2024-09-19 13:53:44 +02:00
themanyone
bdc8cc07d4 always set input and position when launching search_dialog 2024-09-19 13:53:44 +02:00
themanyone
e855ab5d46 #4584 revisited. Gtk-CRITICAL fix + resizing 2024-09-19 13:53:44 +02:00
Merill
534792e249 Fix bug ShortestPath.cpp (#13331)
Accessing a moved object.
Also this method create an unused "out" variable by removing from the parameter.
I guess It should update the parameter object?
Anyway, seems very wrong
2024-09-19 13:53:44 +02:00
Merill
ae0824a10d fix wrong type (int instead of coord_t) (PR #12302) 2024-09-19 13:53:44 +02:00
Filip Sykala - NTB T15p
8700c12cc0 Fix for: 70a9520cc3 (r146291258) 2024-09-19 13:53:44 +02:00
Lukáš Hejl
40eee4cae7 SPE-2349: Allow painting on broken meshes.
There are checks for a number of hits inside the MeshRaycaster::unproject_on_mesh(), but those checks are valid only on unbroken meshes.
So, those checks are bypassed for painting gizmos.
2024-09-19 13:53:44 +02:00
Lukáš Hejl
3e4e9835f9 SPE-2446: Trim propagated top and bottom layers by the painted bottom or top layers during top and bottom layer propagation in the multi-material segmentation.
On short objects, those propagated layers could override the painted top or bottom layers.
2024-09-19 13:53:44 +02:00
Lukáš Hejl
9397da61fc SPE-2150: Remove top and bottom surfaces that are covered during multi-material segmentation.
Co-authored-by: zhimin.zeng <zhimin.zeng@bambulab.com>
Co-authored-by: lane.wei <lane.wei@bambulab.com>
2024-09-19 13:53:44 +02:00
YuSanka
90017e5e6d Fix for #12920 - Prusa Slicer 2.8 rc 2 / iCCP: known incorrect sRGB profile
(SPE-2485)
2024-09-18 15:00:22 +02:00
Martin Šach
33bafd28e3 Fix layer change travel if no sparse layers is enabled 2024-09-17 11:27:12 +02:00
Martin Šach
2cac8c2c37 Fix includes 2024-09-17 11:21:29 +02:00
Jan Bařtipán
95a2e44b77 UserAccountSession: has own mutex to guard credentials (access and refresh token, shared secret and next refresh timeout), this prevents deadlock (at UserAccountCommunication::m_session_mutex) in ConfigWizard when offline 2024-09-12 11:34:41 +02:00
Jan Bařtipán
3b8d34ec5f Http: fixed condition for retry (if retry enabled) 2024-09-12 11:34:41 +02:00
Jan Bartipan
5b79c8b50a Http: fixed no_retry handling 2024-09-12 11:34:41 +02:00
Lukas Matena
7b2ee2ae0c Fixed #6832 (again - broken in 69650f7) 2024-09-12 11:32:45 +02:00
Lukas Matena
171508fc40 Fixed some encoding issues 2024-09-12 11:32:04 +02:00
Jan Bartipan
c42efdfef9 ConnectWebViewPanel: fixed login-logout-login issue (removed stub for message handler when calling WebView::RemoveAllUserScripts()), current implementation sends message to C++ runtime to invoke login flow with up-to-date token from C++ runtime 2024-09-11 22:30:29 +02:00
YuSanka
76313f5148 Rename non-printer user preset: Fixed wrong condition to show "Rename" button
(SPE-2472)
2024-09-11 22:08:51 +02:00
Lukas Matena
bc7d0af98c Added some const to make it slightly nicer 2024-09-11 21:57:51 +02:00
YuSanka
444e5bdeec ConfigWizard: Fixed a check of name for new custom printer
Note: This feature was broken by improvements from 61834d3f and de32cd70.

(SPE-2469)
2024-09-11 21:19:39 +02:00
David Kocik
77312ec513 Changed values in outgoing json for upload. From single values to arrays. 2024-09-11 21:15:52 +02:00
David Kocik
afd0e39ae9 Fix missing return value 2024-09-06 14:49:26 +02:00
Lukáš Hejl
ceb13b1faa SPE-2405: Add Zig Zag infill that is rectilinear infill but with a consistent pattern between layers.
This Zig Zag infill is inspired by the Zig Zag infill in Cura.
2024-09-05 16:14:18 +02:00
David Kocik
6d00fcad77 SPE 2450: Delete cookies in Config wizard login 2024-09-05 16:12:04 +02:00
David Kocik
097ee2e85d SPE 2450: Delete cookies Mac part
+ fixes of other parts
2024-09-05 16:12:04 +02:00
David Kocik
1e55aaef62 SPE 2450: Delete cookies Linux part 2024-09-05 16:12:04 +02:00
David Kocik
6f3b22de4c SPE 2450: Delete cookies after login to prevent remembering login info
Windows only part
2024-09-05 16:12:04 +02:00
David Kocik
44191c8831 SPE 2462: Fix of using printer family instead of printer model when filtering printers for PrusaLink 2024-09-04 17:58:28 +02:00
YuSanka
223f88556d Localization: Updated POT and internal dictionaries.
+ Community dictionaries are merged with new POT
+ UpdateDialog: Fix for phrase
2024-09-04 16:36:40 +02:00
Martin Šach
a30003dd3e Fix some includes and undefined variable in assert 2024-09-03 17:34:56 +02:00
YuSanka
6782922d8b Fixed a Crash on switch printer technology, when "Materials" tab is shown.
+ Fixed Plater selection, when no"Printer" tab is selected and some printer with other technology is installed from Wizard

(SPE-2459)
2024-09-03 12:39:38 +02:00
Lukáš Hejl
016103dd95 SPE-2455: Fix extrusions with the zero feedrate after passing through CoolingBuffer. 2024-09-03 12:37:09 +02:00
David Kocik
67d5651278 SPE-2451: Fix of faulty manifest file
Decision tree on (un)selected repo / installed printers
2024-09-03 12:35:22 +02:00
David Kocik
0285ba2d84 SPE-2451: Handling of already broken manifest file.
Fix of false has_installed_printers entry in manifest.
Move saving manifest to place where appconfig is changed as well.
2024-09-03 12:35:22 +02:00
Lukáš Hejl
c5982f4019 Accumulate the total estimated print in doubles instead of floats.
Because total print time is typically a big floating point number and the time of trapezoid is typically a small number, summing those numbers leads to a loss in precision. Switching to doubles reduces the loss of precision.
2024-09-03 12:31:19 +02:00
Lukáš Hejl
90073dce70 SPE-2441: Fix discontinuity between the processed blocks' exit speed and the new first block's entry speed.
This discontinuity affected both time estimation and actual speed visualization.
2024-09-03 12:31:19 +02:00
Jan Bařtipán
d5ed649ab1 Connect login: fix debug build crash on exit 2024-09-03 12:29:09 +02:00
Jan Bařtipán
3d130ceb76 Connect login: updating also user script when refreshed access token arives, this should fix passing old token on page reload 2024-09-03 12:29:09 +02:00
Jan Bartipan
f9164da380 ConnectWebViewPanel: fixed segfault on quit (accessing already deleted plater in on_activate handler), WebView scripts can now use _prusaSlicer.postMessage({action: 'LOG', ...}) to write logs into OS console 2024-09-03 12:29:09 +02:00
Jan Bartipan
74ab2d24b7 ConnectWebViewPanel::get_login_script for refresh wrapped in check if _prusaSlicer_initLogin function (defined by AddUserScript) is already defined (i.e. handle gracefully situation when token refresh happen just before the UserScript gets executed) 2024-09-03 12:29:09 +02:00
Jan Bařtipán
54baccd6fc Http: added support for retry with exponentail backoff, UserAccountCommunication::on_active triggered from app instrad of panel to correctly handle situation when multiple app windows opened, ConnectWebView: refactored the login script to prevent using old token 2024-09-03 12:29:09 +02:00
Jan Bartipan
ac859d711c Connect token refresh on wake up from sleep: also resend config to make sure the token is loaded into frontend 2024-09-03 12:29:09 +02:00
Jan Bařtipán
6a7ac53335 Connect Login Refresh: UserAccountComm: refresh token on wake; WebViewDialog: Connect login retry with exp backoff implemented, added a bit more logging 2024-09-03 12:29:09 +02:00
Lukas Matena
7908291160 Couple of fixes in phrases 2024-09-02 16:33:26 +02:00