2011 Commits

Author SHA1 Message Date
YuSanka
6ea3dc6c27 ImguiDoubleSlider: WIP: All data, related to Slider are in ImGuiControl now
+ code cleaning to avoid of use wxWidgets to render DoubleSlider
2024-04-24 10:54:12 +02:00
YuSanka
d06ef37df9 ImguiDoubleSlider: WIP: Set scale in respect to Retina displays
+ request one more frame for redraw, if value was changed with mouse wheel
 + some code cleaning
2024-04-24 10:54:12 +02:00
YuSanka
a5322ef970 DoubleSlider: ImGui rendering (WIP) 2024-04-24 10:54:12 +02:00
Lukas Matena
a65a70903e Removed unused code and includes 2024-04-12 09:27:35 +02:00
Lukas Matena
9dc7b70084 Merge branch 'master_27x' 2024-03-27 16:37:47 +01:00
enricoturri1966
539c155c59 Code cleanup and techs removal - completed 2024-03-26 14:41:55 +01:00
enricoturri1966
5c29f868c3 New gcode visualization integration - Fixed toolpaths reset 2024-03-26 14:15:39 +01:00
enricoturri1966
13f9d6f28e New gcode visualization integration - Fixed management of gcode preview view type 2024-03-26 14:15:38 +01:00
enricoturri1966
55b674ca3b Code cleanup 2024-03-26 14:15:37 +01:00
enricoturri1966
044dbf983b New gcode visualization integration - Tool position properties data window 2024-03-26 14:14:52 +01:00
enricoturri1966
0faaf6b683 New gcode visualization integration - Do not reset visible range when toggling options/roles visibility 2024-03-26 14:12:32 +01:00
David Kocik
4358382db7 Check selected profile in connect by compatible printers vector.
Select printer in plater based on compatible printers vector, if given.
2024-03-25 17:08:02 +01:00
David Kocik
123a299a9b Improvements in ConnectTab and PrinterPick Dialog
Webview access token sending and compatible printer request.

Printer Pick Dialog UI changes

Connect request_config improvements

Switch printer or send gcode dialog
2024-03-25 12:05:55 +01:00
David Kocik
0c7e6cb063 PrusaConnectNew class - new way to upload to Connect
Several bugs in UI fixed
Added Connect user data action, we might need it in future


Missing file in cmake and smaller fixes

new Connect frontend
2024-03-25 12:05:55 +01:00
David Kocik
b232894451 Changes in PrusaConnect interface
Prepared handling methods. Inside is WIP.

Handling UPDATE_SELECTED_PRINTER Connect request

ConnectRequestHandler class

Error screen as default
2024-03-25 12:05:55 +01:00
David Kocik
218a24c7cf Printer webview tab with apikey injecting (username w password does not work).
Webview developer tools added but hidden in tech.
Fixed adding / removing / loading webview tabs and blinking on add.
Rename tabs and related functions.

Apikey injection from https://github.com/SoftFever/OrcaSlicer. Thank you.

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-03-25 12:05:55 +01:00
David Kocik
af97422ea9 Store avatar png in temp folder 2024-03-25 12:05:55 +01:00
David Kocik
f3dd5fa17d Rename Auth to UserAccount 2024-03-25 12:05:55 +01:00
David Kocik
2031fb5133 Set downloaded avatar to scalable button 2024-03-25 12:05:55 +01:00
David Kocik
c129340712 Prusa Account communication changes after testing all possible error states. 2024-03-25 12:05:55 +01:00
David Kocik
f716497318 Remember session refactoring. Browser login redirect dialog only until first confirmation 2024-03-25 12:05:55 +01:00
YuSanka
946c0caf78 TopBar: Added user name to "Login" button
+ Deleted unused names for mode button
2024-03-25 12:05:55 +01:00
David Kocik
7011322f62 Download Prusa account Avatar
Missing adding avatar to topbar
2024-03-25 12:05:55 +01:00
David Kocik
2309b66e02 Get apikey from printer message and use it for upload.
Several compiler warning fixes

Fix of MacOS SHA256 generator
2024-03-25 12:05:55 +01:00
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
c0aba8e2ca Add the default/custom switch into project settings 2024-03-20 14:41:26 +01:00
Lukas Matena
e1b2bd4155 WipeTowerDialog now uses filament_purging_multiplier 2024-03-20 14:41:26 +01:00
Lukas Matena
8345a82b1c Remove wiping_volumes_extruders 2024-03-20 14:41:26 +01:00
Lukas Matena
ecba2ca007 Wipe tower: increased purge flow parameter 2024-02-28 15:48:01 +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