1983 Commits

Author SHA1 Message Date
David Kocik
ff64f7167d Fixes and icons.
Sla printer icons with Connect status.

Fix of non-static variable and missing includes

update of priter_type table

missing include
2024-03-25 12:05:55 +01:00
David Kocik
161d3f40d4 notification about printer change 2024-03-25 12:05:55 +01:00
David Kocik
55525d2ebf upload file to connect - missing api key to work 2024-03-25 12:05:55 +01:00
David Kocik
da977db4c4 disable testing notification and monitor tab showing 2024-03-25 12:05:55 +01:00
David Kocik
167d92872f Automatic reset on failed login and other communication fixes 2024-03-25 12:05:55 +01:00
YuSanka
e065f0c83b TopBar: Added "Search" control
+ Deleted old search controls from tab and canvas3D
2024-03-25 12:05:55 +01:00
David Kocik
822b862fce Printers action and webview development
Automatic "Connect printers" action after login

periodic connect printers update

adding and removing connect tab on login

Webview refactor

remove unused code

load url on adding panel

monitor tab

upload to connect button
2024-03-25 12:05:55 +01:00
YuSanka
55ba9f2351 Topbar: Implement Auth menu 2024-03-25 12:05:55 +01:00
David Kocik
78c9aa668c User Account: Store more user data, not only username
Compare new and old printer maps
2024-03-25 12:05:55 +01:00
YuSanka
e774d25f7a Implemented UI to show a state of printers in PrusaConnect 2024-03-25 12:05:55 +01:00
David Kocik
2276cedc10 WebView prototype
Web View has working panel with Connect webpage with Auth token login.
Webview2 is used on windows. It uses small dll to find its runtime.

WebViewDialog.cpp, WebViewDialog.hpp, WebView.cpp and WebView.hpp were taken from https://github.com/bambulab/BambuStudio and used as protype for future WebView Development. Thank you.

Co-authored-by: cmguo <chunmao.guo@bambulab.com>

Co-authored-by: lane.wei <lane.wei@bambulab.com>
2024-03-25 12:05:55 +01:00
David Kocik
adc650ef4e PrusaConnect communication with PrusaAuth login
Background communication with keeping tokens
Temporary output is notification
Temporary storing tokens in prusaslicer.ini

Using wx secret store to store tokens if possible

Improved PrusaConnect message - number of compatible models


Fix of saving refresh token


Refactoring of Auth and Auth Session classes.
2024-03-25 12:05:55 +01:00
David Kocik
f624c55f6f Store PrusaLink passwords in wxsecretstore 2024-03-25 10:22:30 +01:00
Lukas Matena
1f87c498cd Merge branch 'master_27x' 2024-02-20 23:01:02 +01:00
YuSanka
79edd48fbc Fix for #4682 - When reloading a model that had manifold errors, warning triangle is still shown 2024-02-20 16:20:40 +01:00
Lukáš Hejl
76435e7add SPE-1840: Rework multi-material segmentation to work directly on the Voronoi diagram without creating a copy of it.
Previous algorithms assume that they can get an invalid Voronoi diagram. Because of that, during the multi-material segmentation, a copy of the Voronoi diagram was created, and there were several attempts to fix missing vertices and edges. But as it shows, this wasn't a good enough approach and sometimes led to several issues like bleeding layers.

After generalization, our approach for detection and repairs of invalid Voronoi diagrams from Arachne, we could assume that multi-material segmentation gets non-invalid Voronoi diagrams.
With this assumption, we reimplement multi-materials segmentation to work directly on the Voronoi diagram. That should make multi-material segmentation more stable.

So, this should fix several issues like bleeding layers. Also, memory consumption should decrease by a lot. Also, there should be some speedup of multi-materials segmentation.
2024-02-08 15:40:20 +01:00
YuSanka
e8214901d4 SLA overrides: Fixed preset update, when config is loaded from old PS
+ Config.cpp: Fixed comparison of nil values
2024-02-05 16:59:09 +01:00
Lukas Matena
e5b926690e Revert "Revert "Fix for #11988 : Drop down menus appear outside of PS and cannot be opened again""
This reverts commit 69e0bc3064298fc58dd2a870801161821fa16da5.
The reason the original commit was reverted was to get cleaner git history after
merging master_27x into master. The change in this commit is implemented in master as b85e80c.
2024-01-26 16:06:10 +01:00
Lukas Matena
a42223f963 Merge branch 'master_27x' 2024-01-26 13:07:19 +01:00
Lukas Matena
69e0bc3064 Revert "Fix for #11988 : Drop down menus appear outside of PS and cannot be opened again"
This reverts commit 6ff8537ff4fbd14ca09934cdb2bb987131a7b559. There is a non-trivial conflict
when merging to master, let's redo the commit after the merge so it is clear in history.
2024-01-26 12:54:10 +01:00
YuSanka
85fa892c12 SPE-2112 : Don't check an object units, when it was loaded from file with known units (3mf) 2024-01-22 11:32:27 +01:00
YuSanka
6ff8537ff4 Fix for #11988 : Drop down menus appear outside of PS and cannot be opened again
Note: Win specific
2024-01-18 18:53:44 +01:00
Lukas Matena
e922fdceb4 Fixed usage of custom filename extension in SLA mode, broken in 283fd6f. 2024-01-05 15:10:01 +01:00
Lukáš Hejl
611afd9789 Replace some deprecated boost functions.
Actually, all those deprecated functions were internally called those new functions. So there isn't any risk to use them directly.
2024-01-04 10:22:27 +01:00
tamasmeszaros
8d6497297a Replaced all occurrences of boost::nowide::narrow for wxStrings with into_u8 2023-12-18 14:33:30 +01:00
Lukas Matena
4ccc259c5a Merge branch 'master_27x' 2023-12-13 15:55:13 +01:00
YuSanka
a0365af92c Translations: fixes and changes in phrases 2023-12-11 15:43:41 +01:00
Lukas Matena
6f2e22280b Fixed crashes related to SLA 2023-12-11 15:40:35 +01:00
Lukas Matena
fd15c8cca5 Some tweaks in dialogs related to binary G-code 2023-12-11 15:40:35 +01:00
Lukas Matena
d50ecd80d1 Added a binary G-code switch into Preferences 2023-12-11 15:40:35 +01:00
Lukas Matena
2d130c71b6 Move binary gcode checkbox to Printer Settings 2023-12-11 15:40:35 +01:00
YuSanka
dad1f2727c Follow-up 34848f0f : fixed non-MSW build 2023-11-30 15:26:20 +01:00
YuSanka
dd20cc5750 StatusBar: Removed commented code 2023-11-30 15:26:20 +01:00
YuSanka
818bb91449 Plater refactoring
* Extract unrelated functions
2023-11-30 15:26:20 +01:00
YuSanka
feac3b62ed Sidebar: Next refactoring and beautification
+ Deleted long time unused or commented code
+ Some unrelated functions are moved from Plater to Sidebar
2023-11-30 15:26:20 +01:00
YuSanka
69650f703d Plater refactoring:
* Sidebar and related classes are extracted to separate file.
* Frequently changed parameters are extracted to separate file too.
2023-11-30 15:26:20 +01:00
YuSanka
fa86a3d047 Searcher related refactoring:
* Searcher moved form Plater to Gui_App
2023-11-30 15:26:20 +01:00
YuSanka
9926181008 OptionsGroup : Refactoring
* Don't use "m_"prefix for public members
* Move change_opt_value() function from GUI to OptionsGroup
2023-11-30 15:26:20 +01:00
YuSanka
0e1a0e856f Fix for SPE-2020 : Notification about temporary installed preset doesn't appear anymore
Description of bug:
During fixing of SPE-1845 there was made changes with 7280b2a0 commit.
But those changes destroyed a initial behavior. All presets are selected correctly now,
but user doesn't receive a notification about temporary installed presets, if any was.
2023-11-16 15:11:41 +01:00
Lukas Matena
0ea662e56f Another fix-up of 187ff61 (fw alert dialog for bgcode) 2023-11-14 14:14:56 +01:00
Lukas Matena
7522d7fe02 Another follow-up to 187ff61: include MK3.9 2023-11-14 12:48:02 +01:00
Lukas Matena
15eedfbb7f Fix-up of 187ff61 (fw alert dialog for bgcode) 2023-11-14 11:20:43 +01:00
Lukas Matena
187ff619bb Added a dialog informing the users that they need updated firmware when exporting binary gcode 2023-11-13 17:53:36 +01:00
Lukas Matena
b30c7c3bb9 Fixes in phrases 2023-11-06 11:27:27 +01:00
Lukas Matena
f238f56b5b Further polishing the gcode/bgcode error logic 2023-11-03 21:19:57 +01:00
YuSanka
34848f0fc0 Improvement for error massage about binary/ascii G-code extension during saving G-code
(Error massage contains links to related options in Settings Tabs now)
+ Suppress a showing a SaveFileDialog in loop while name isn't correct.
+ ErrorDialog is extended to use specified function to process a clicked link
2023-11-03 21:19:57 +01:00
Lukas Matena
d4a7548aa9 Exporting ASCII G-code with binary G-code extension or vice versa is now an error #11498 2023-11-03 21:19:57 +01:00
Filip Sykala - NTB T15p
c6dbd0a6cd Merge branch 'master' into fs_svg_SPE-1517 2023-11-02 16:36:21 +01:00
YuSanka
ee6f7faa80 Follow-up 8627c350 - Fixed minimal sidebar width after re-scaling of the application. 2023-11-02 15:16:59 +01:00
Lukas Matena
eeedeeca13 Fix of #6832, SPE-1956: total toolchanges not counted correctly when wipe tower is disabled 2023-11-02 13:58:45 +01:00