2105 Commits

Author SHA1 Message Date
Lukas Matena
cc73ff8f4f Multiple beds (part 7):
This is where it really gets nasty:

- Switch background_process.m_temp_output_path is now updated when beds are switched, so each Print writes to a different file.

- When switching beds in Preview, there is a cache in GCodeViewer which would mistakenly not load the other preview (happens in case when switching to a bed which is not sliced and back). Bypass this cache when beds are being switched.

- Added a CallAfter logic into GLCanvas3D::select_bed (the central function where beds are switched). It now does the following:
  1. Stops the background process
  2. Schedules a callafter which then
  3. wxYields the event queue (so all events generated as a result of (1) are consumed before active bed is switched.
  4. switches active bed
  5. fires couple of update functions and events, schedules background process

- When BSProcess is switched to the new bed, it now calls on_slicing_update (in sync). This is to regenerate all slicing error/warning notifications. The on_slicing_update function was updated to be able to process all print(object)steps and objects.

- Sliced info in sidebar did not properly show when switching beds in 3D scene. Added explicit refresh into update_background_process.
2024-11-20 13:36:13 +01:00
Lukas Matena
87a1fe8c65 Multiple beds (part 6):
- arrange
- bed spacing in multiples of bed size
- newly loaded positions are loaded on active bed
TODO: Fix results after convert, split and cut
2024-11-20 13:36:13 +01:00
Lukas Matena
c24e9fdfed Multiple beds (part 5):
- nicer active / virtual bed visualization
- select bed by left mouse click
- bed selector only shows in preview
2024-11-20 13:36:13 +01:00
Lukas Matena
9035caa337 Multiple beds (part 4): Thumbnails (buttons, G-codes) 2024-11-20 13:36:13 +01:00
Lukas Matena
e88c625567 Multiple beds (part 3):
- reload preview when beds are switched
- only show one bed in preview
- move the preview so it ends up in the same place as in 3D scene
- move the camera when switching beds in Preview
2024-11-20 13:36:13 +01:00
Lukas Matena
7da3ce6961 Multiple beds (part 2):
- Vectorizing Print, SLAPrint and GCodeProcessorResult
- Connect multiple beds to background slicing process
- TODO: A lot of code (notifications, etc.) commented-out.
2024-11-20 13:36:12 +01:00
Lukas Matena
accc4ce266 Multiple beds (part 1):
- create new bed when a volume is dragged into it
- limit maximum number of beds
- keep track of which ModelInstances are on which bed
- show list of beds and allow selecting an active one
- move objects from active bed to the first bed when passing Model to Print::apply (and back)
2024-11-20 13:36:12 +01:00
David Kocik
5ba8f21c77 SPE-2570: Refresh access token if Printables fire accessTokenExpired event
Add fancy loading overlay during refresh period

missing include
2024-11-20 10:08:49 +01:00
David Kocik
3bdaef4910 SPE-2561: Printables Print dialog
Fix of opening webview dialog from webview panel

CLOSE_DIALOG connect action

Login on logged out Print request

Register CLOSE_DIALOG callback.

refactoring
2024-11-20 09:43:59 +01:00
Jan Bařtipán
e5e8f940db SPE-2461: GCode add more info to be used in connect/slicer analytics: introduced profile_vendor, profile_version in slicer block (bgcode) or preset parameters dump (ascii gcode) + added "Produced on" key in file block (bgcode) 2024-11-18 23:47:56 +01:00
YuSanka
0c4aab4b5a Fix for DnD of several files, when 3mf or zip is/are among selection (SPE-2528) 2024-11-18 23:43:59 +01:00
Lukáš Hejl
886faac74e SPE-2486: Add a new gizmo for fuzzy skin painting. 2024-11-12 15:22:57 +01:00
David Kocik
da49e8edfb SPE-2535: Improvments of Printables events
Missing include

Printables event Require login

Improved error page

Prepare opening Printables to Connect upload dialog

debug fix

Another debug fix

prevent reload on load request

Load new url already in on_show

Improved javascript notification
2024-11-11 16:12:50 +01:00
David Kocik
1040332c87 SPE-2468: Printables WebView class
read address and download model
Printables as pernament tab
webview debug panel
adding token to request header
Logout to Printables
Correct user-agent
Receiving printables events
Improved refreshing of token to printables
User settings to printables url
merge changes
Changed login to Printables during runtime
Logging in plater fix
2024-11-11 16:12:49 +01:00
David Kocik
e8de4b7199 Create Printables tab 2024-11-11 16:12:49 +01:00
Lukas Matena
9237a68ba9 Use ModelWipeTower instead of config for wipe tower pos and rot (3MF part) - SPE-2520 2024-10-16 12:41:27 +02:00
Lukas Matena
c41290bc07 Use ModelWipeTower instead of config for wipe tower pos and rot (backend part) - SPE-2520 2024-10-16 12:40:49 +02:00
Lukas Matena
1f9344a5dc Use ModelWipeTower instead of config for wipe tower pos and rot (frontend part) - SPE-2520 2024-10-16 12:27:25 +02:00
Lukas Matena
68f8925461 Improve startup of ConfigWizard (SPE-2457) 2024-10-02 14:27:55 +02:00
David Kocik
1bd7be797a Improved warning dialog. 2024-10-02 14:22:41 +02:00
David Kocik
891b6a4816 Notification with link to connect
hypertext in upload progress notification

load default url if printer page fails
2024-10-02 14:20:12 +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
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
David Kocik
5871ad2e51 Open external browser in config wizard. 2024-08-29 14:56:20 +02:00
David Kocik
02ddb36108 Login url with service. Changed code for registering custom url to not check downloader dest.. 2024-08-29 14:56:20 +02:00
David Kocik
17300d7549 Fix of closing login dialog 2024-08-29 14:56:20 +02:00
David Kocik
2bde97fb11 Keep login dialog opened while opening 3rd vendor in external browser. 2024-08-29 14:56:20 +02:00
David Kocik
a41ee17a68 Undo desktop registration before registering new one 2024-08-29 14:56:20 +02:00
David Kocik
07320325e1 Remove old url protocol desktop files before opening browser for login 2024-08-29 14:56:19 +02:00
David Kocik
c93631a504 followup 2024-08-29 14:56:19 +02:00
David Kocik
47d793ffb3 Open login in browser only for external services 2024-08-29 14:56:19 +02:00
David Kocik
ce44b8638f Open external browser for login 2024-08-29 14:56:19 +02:00
David Kocik
756a76a773 repo_prefix parameter and removing prefix before send to connect.
Change printer_model in full config before applying to print

printer_model prefix handling when showing online printers in sidebar

Select printer from connect by nozzle diameter (instead of pritner_variant) and by additional config options.

+ Moved standalone functions to UserAccountUtils

Set as current without repo prefix

when selecting preset with prefix, mind visible presets.

prefer visible printers for selecting

fix of selecting SLA printer

Added prusalink for prefixed printer_model
2024-08-29 10:36:42 +02:00
David Kocik
6049a37d50 Do not show logged in notification on token refresh. 2024-08-20 13:57:43 +02:00
enricoturri1966
826ab3ce69 SPE-2388: Do not export non printable instances to OBJ and STL files 2024-07-22 11:59:26 +02:00
enricoturri1966
aba835bc8c SPE-2388: Fixed command 'Export Plate as STL/OBJ &Including Supports' which was exporting also non sliced objects 2024-07-22 11:59:26 +02:00
Martin Šach
96e3e77fef Prepare fe for include optimization.
- Add pragmas to keep necessary headers with symbols not explicitly
stated in the file.
- Use include paths that IWYU understands.
2024-07-08 15:37:02 +02:00
enricoturri1966
bafd65d55b SPE-2344: Fix performance hit on MAC in GCodeViewer:
squashed et_spe2344_bis (5c6bba6)
2024-06-24 19:45:08 +02:00
David Kocik
09dc8f01de delete registration code 2024-06-21 14:55:56 +02:00
David Kocik
b60fb76a4b Login in config wizard 2024-06-21 14:55:56 +02:00
David Kocik
fd205c937c login logout dialog 2024-06-21 14:55:56 +02:00
David Kocik
b2e80bd5be prototype of inner login dialog 2024-06-21 14:55:56 +02:00
David Kocik
0af38e5507 test of login webview 2024-06-21 14:55:56 +02:00
YuSanka
c97b1b16c8 Fixes for some phrases. 2024-06-20 16:05:21 +02:00
YuSanka
7ec2f3439a TopBar: Show/Hide "Log in" button in respect to the Preferences settings
(SPE-2352)
2024-06-20 16:05:21 +02:00
enricoturri1966
443879d798 SPE-2219 - Added loading progress bar in GCodeViewer 2024-06-20 14:55:16 +02:00
Lukas Matena
5998e2f78d Fixes in phrases 2024-06-18 14:48:05 +02:00
Lukáš Hejl
aaf14f94bb SPE-1838: Remove custom supports, seams, and multi-material painting from an embossed text when the geometry of the embossed text changes. 2024-06-17 12:27:50 +02:00
Lukas Matena
df914f01d1 Merge branch 'master' into dk_archive_db_rebased 2024-06-14 15:53:06 +02:00
Lukas Matena
b6f1a8e8db Only allow loading of printRequest in SLA mode (to prevent a crash) 2024-06-14 15:32:10 +02:00