24400 Commits

Author SHA1 Message Date
enricoturri1966
bd985e80f6 New gcode visualization integration - Extrusion roles 2024-03-26 14:04:08 +01:00
enricoturri1966
585bcb78c3 New gcode visualization integration - Colors 2024-03-26 14:04:08 +01:00
enricoturri1966
735fc6d107 New gcode visualization integration - Tool position 2024-03-26 14:04:08 +01:00
enricoturri1966
ce8da7eccf Center of gravity and tool marker may both be rendered with fixed screen size and a scaling factor 2024-03-26 14:04:08 +01:00
enricoturri1966
85d0e9dbd5 Fixed rendering of options in new gcode visualization 2024-03-26 14:04:08 +01:00
enricoturri1966
5c06f05cf9 Tool marker NOT rendered by the new visualization code 2024-03-26 14:04:08 +01:00
enricoturri1966
c1ca2097bb Center of gravity marker NOT rendered by the new visualization code 2024-03-26 14:04:07 +01:00
enricoturri1966
ddabc3312d Fixed toolpaths_cog shaders 2024-03-26 14:04:07 +01:00
enricoturri1966
c8601fbc4a Tool position window for new gcode visualization 2024-03-26 14:04:07 +01:00
enricoturri1966
717bc821e3 Top layer only coloring for neww gcode visualization 2024-03-26 14:04:07 +01:00
enricoturri1966
f0a25c8ee0 Refactoring in preview's new visualization 2024-03-26 14:04:07 +01:00
enricoturri1966
72d5116744 Hidden imgui debug dialog for new visualization in preview 2024-03-26 14:04:07 +01:00
enricoturri1966
7ee937857b Synchronization of moves between old and new visualization 2024-03-26 14:04:07 +01:00
enricoturri1966
a23d86bd2b Fixed missing gcode window in new visualization 2024-03-26 14:04:07 +01:00
enricoturri1966
76419b7443 Rendering of debug imgui dialog moved from class libvgcode::Viewer to class libvgcode::Toolpaths + warnings fixing 2024-03-26 14:04:07 +01:00
enricoturri1966
2710ab4005 Some functionality moved from class libvgcode::Viewer to class libvgcode::Toolpaths 2024-03-26 14:04:07 +01:00
enricoturri1966
8073bdea90 Some refactoring and cleanup 2024-03-26 14:04:07 +01:00
enricoturri1966
87da6d18b8 Refatoring of PathVertex and Toolpaths::load() 2024-03-26 14:04:07 +01:00
enricoturri1966
285a274ff7 SPE-1982: Tech ENABLE_NEW_GCODE_VIEWER - 1st installment of new toolpaths rendering code (WIP) 2024-03-26 14:04:05 +01:00
Lukas Matena
e15c235089 Merge remote-tracking branch 'private/dk_280' 2024-03-26 13:41:50 +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
60b4789eed change name in searched json 2024-03-25 12:32:09 +01:00
David Kocik
456087ca23 remove media control references 2024-03-25 12:05:55 +01:00
David Kocik
d289b11950 User Account avatar extension
(Missing support for jpg in ScalableBitmap)
2024-03-25 12:05:55 +01:00
David Kocik
600086df56 Read printer_name from printer_type in printers states message 2024-03-25 12:05:55 +01:00
David Kocik
c669ef49aa sys_color_change for webview windows 2024-03-25 12:05:55 +01:00
YuSanka
f05318686c TopBar: Fixed a crash on switch print technology 2024-03-25 12:05:55 +01:00
YuSanka
83ce1d600a Suppress a tab selection when the application is started as a G-codeViewer 2024-03-25 12:05:55 +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
7ad9431e3a New connect endpoint slicer/status replacing slicer/printers
move enum value to if 0
2024-03-25 12:05:55 +01:00
YuSanka
9619999c70 Linux specific: Fixed background color of the Settings Tabs 2024-03-25 12:05:55 +01:00
YuSanka
9f76f9051e TopBar buttons: Implemented render() function.
Note: on Linux wxButton doesn't receive wxEVT_PAINT event, so we cant redraw it with rounded corners.
So, we just set related colors of back/foreground for the TopBar buttons.
2024-03-25 12:05:55 +01:00
YuSanka
8d74318888 Added missed includes 2024-03-25 12:05:55 +01:00
David Kocik
b21c65de23 Added missed includes 2024-03-25 12:05:55 +01:00
David Kocik
93df0ce384 Temporary sending session id instead of access key 2024-03-25 12:05:55 +01:00
David Kocik
5f48e61992 Fix of waking up session thread
Polling every 5 seconds
Do not switch printers on Connect webview click
2024-03-25 12:05:55 +01:00
David Kocik
93d47dd121 Fix of showing Physical printer webview tab at startup 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
565d89a2e2 Simple error page 2024-03-25 12:05:55 +01:00
David Kocik
b032bf792b Fix of Webview2 deps.
Added checking existence of target (Mac + Linux).
Force webview2 to be appended to build list (Win).
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
7c1f8f8807 PrusaConnect web app communications
Set Access token.
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
e9706f4032 Rename source files.
So the files are named as classes from commit 0ba535967bfbf00dbdce0a441105adb98671eb0e
2024-03-25 12:05:55 +01:00
David Kocik
f3dd5fa17d Rename Auth to UserAccount 2024-03-25 12:05:55 +01:00
Lukas Matena
5791bcb43f Fix cmake for WebView2 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
YuSanka
5804d5aa71 TopBar: Fixed Rescale() function 2024-03-25 12:05:55 +01:00