2036 Commits

Author SHA1 Message Date
David Kocik
2c09c034b3 Remove deprecated arguments from connect upload 2024-05-16 18:04:11 +02:00
David Kocik
c0aa09791f fix of upload filename 2024-05-16 16:19:08 +02:00
David Kocik
64c497ce0d Upload to Connect changes 2024-05-16 16:19:08 +02:00
David Kocik
1264f57f84 Compatible printer check when sending uuid to connect. 2024-05-16 16:19:07 +02:00
David Kocik
535ecf7b34 Passing filename to Connect PrinterPick 2024-05-16 16:19:07 +02:00
David Kocik
7c63c2dbfb WIP new upload 2024-05-16 16:19:07 +02:00
David Kocik
65a581a026 Use only uuid from Connect request and get rest of the data from endpoint 2024-05-16 16:19:07 +02:00
David Kocik
98ec4e808d Remove script handler on EndModal. 2024-05-16 16:19:07 +02:00
David Kocik
cb265cdfee use boost::nowide::fopen to store avatar 2024-05-16 16:19:06 +02:00
David Kocik
f83213d958 Fix of opening avatar file for write. 2024-05-16 16:19:06 +02:00
Lukáš Hejl
61cd0beaa9 SPE-2186: Allow to show at the same time both warnings about that bed temperature difference and shrinkage compensation weren't used. 2024-05-14 17:16:23 +02:00
Lukáš Hejl
4b8fe98443 SPE-2186: Add shrinkage compensation into filament settings.
There is a limitation that on multi-tool printers, all used filaments must have the same shrinkage compression values.
2024-05-14 17:16:23 +02:00
YuSanka
dfcddc25e7 Fixed set of sprite_id for items inside toolbars 2024-05-14 08:06:16 +02:00
YuSanka
35e736a8e5 ImGuiDoubleSlider: Fixed flickering on moving of the overlapped thumbs
+ Hide sliders after theirs creation
2024-04-30 16:02:31 +02:00
Lukas Matena
5bbc430e53 Do not load colorchanges from 3MF when loading geometry only 2024-04-30 12:53:30 +02:00
David Kocik
5e48e0a5a6 Printer_model reading when uploading to Connect. 2024-04-24 14:08:00 +02:00
David Kocik
b05d438fc6 Changes in Connect Printer Status.
First use endpoint PrinterModels to get uuid to model map, than get statuses for uuids from Status endpoint.

Lang code trimmed to 2 chars.
2024-04-24 14:08:00 +02:00
David Kocik
b7b97ee320 Comparing filament types before upload 2024-04-24 14:01:47 +02:00
David Kocik
72fa3da675 Fix of gcode viewer crash.
Bind Account events only if editor.
2024-04-24 14:01:47 +02:00
David Kocik
58cd6c5a09 Selecting SLA printer on Connect upload 2024-04-24 14:01:46 +02:00
David Kocik
a2568c3449 Additional data check 2024-04-24 14:01:46 +02:00
David Kocik
8ee04288fb Select filament from connect. 2024-04-24 14:01:46 +02:00
David Kocik
fd4e2a19f9 if 0 login dialog 2024-04-24 14:01:45 +02:00
YuSanka
0bb9233da7 ImguiDoubleSlider: Respect to "Collapse sidebar" button
+ use scale from canvas Size
2024-04-24 10:54:12 +02:00
YuSanka
56a3740fe4 ImguiDoubleSlider: WIP: Control is split to DSManagerForGcode and DSManagerForLayers (both are derived from template class)
+ GLCanvas3D: refactoring for handle of events related to the manipulation with sliders
 + use callbacks to process navigation in sliders instead of wxEvents
2024-04-24 10:54:12 +02:00
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