Commit Graph

25536 Commits

Author SHA1 Message Date
Lukas Matena
ae97d00c34 Bumped up version to 2.9.0-alpha1
Some checks failed
Build / build_osx (push) Has been cancelled
Build / build_win (push) Has been cancelled
Build / build_flatpak (push) Has been cancelled
Build / build_osx_asan (push) Has been cancelled
Build / build_flatpak_asan (push) Has been cancelled
2024-11-20 18:33:04 +01:00
David Kocik
7fa9e1c517 Reset our css styles after reloading Printables.
Fixes non-working notifications.
2024-11-20 17:14:39 +01:00
Lukas Matena
0c827ca368 Bumped up version to 2.9.0-alpha0 2024-11-20 16:05:53 +01:00
Lukas Matena
02e2c8108c Merge branch 'lm_multiple_beds' (SPE-2506) 2024-11-20 16:04:42 +01:00
Lukas Matena
1a608da2ae Multiple beds: Fixed behaviour with empty beds and non-printable instances 2024-11-20 16:04:16 +01:00
Martin Šach
4f7366045e Arrange: Fix local arrange in SLA mode 2024-11-20 16:04:16 +01:00
Martin Šach
e588d80e23 Arrange: Fix fill bed with instances 2024-11-20 16:04:16 +01:00
Martin Šach
0aaca75688 Arrange: Do not take instances outside of bed into consideration, new icons 2024-11-20 16:04:16 +01:00
Lukas Matena
ec87263ce4 Multiple beds - updates, partially outside = on the bed 2024-11-20 16:04:15 +01:00
Lukas Matena
08eb318780 Multiple beds in SLA 2024-11-20 16:04:15 +01:00
YuSanka
324763a90e Nicer bed selector dialog 2024-11-20 16:04:15 +01:00
Lukas Matena
e1be0f041c Autoslice (part 1) 2024-11-20 16:04:15 +01:00
enricoturri1966
0bd37e6b08 SPE-2506 - Fixed rendering of sequential print clearance contours when using multiple beds 2024-11-20 16:04:15 +01:00
enricoturri1966
bbdd2e9d07 SPE-2506 - Fixed camera jumping when panning after rotating scene containing multiple beds 2024-11-20 16:04:15 +01:00
Lukas Matena
311434382d Do not account for bed model for spacing calculation 2024-11-20 16:04:15 +01:00
Martin Šach
45eda1a00f Arrange: Avoid dependency of arrange on multiple beds
Drop the BedsGrid::Gap type alias as it brings more problems than it
solves.
2024-11-20 16:04:15 +01:00
Martin Šach
5199d8fb48 Arrange: Move arrange into separate cmake targets
- Create a slicer specific arrange target
- Create a general arrange target from the arrange core
2024-11-20 16:04:15 +01:00
Martin Šach
ffc369e187 Arrange: Remove old arrange 2024-11-20 16:04:15 +01:00
Martin Šach
3e33631abf Arrange: Use arrange for multiple beds.
- Support multiple wipe towers
- Arrange to grid directly within the arrange algorithm
- Suporrt arranging just the current bed
- Support fill bed with instances
- Add arrange selected on current bed
- Add arrange current bed keyboard shortcuts
- Fix cut not arranging properly (set instance bed after cut to the active bed, use arrange current bed selection only after cut)
- Fix shift-D on arrange
- Add window with options to the bed arrange button
2024-11-20 16:04:15 +01:00
Lukas Matena
5b59785456 wipe towers volumes 2024-11-20 16:04:15 +01:00
Lukas Matena
fae06e0773 Vectorization of the wipe tower 2024-11-20 16:04:15 +01:00
Lukas Matena
da13a0a80e Vectorization of customgcode 2024-11-20 16:04:15 +01:00
enricoturri1966
90136d3ad3 Camera + shading
Zoom to bed command set to zoom to active bed

Added camera rotation pivot which is updated whenever the active bed changes

SPE-2506 - Follow up of a2873759aba1eb13a31591d9e852be0f1e21786b - Fixed camera position after zoom to bed
2024-11-20 16:04:15 +01:00
Lukas Matena
360f7a84b4 Polishing:
- virtual bed shows even when dragging which was already outside
- when loading old-arranged project with more than max number of beds, a virtual bed would still be offered
- loading a project file with multiple beds only showed 2 beds initially
- nonprintable objects are not considered into the bed creation logic
- drag and dropping an object does not change active bed
- shells in preview are now shown correctly when switching between beds
- spacing in x takes into account model size (except during the initial rearrange)
- update volumes outside state after project loading
- highlight of selected bed for default beds
2024-11-20 16:04:05 +01:00
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
9302cb10ae Add CORE to supported printers 2024-11-20 12:51:38 +01:00
Lukas Matena
d45bce5254 Merge branch 'dk_expired' 2024-11-20 11:04:45 +01:00
David Kocik
ad621750ea delete old code 2024-11-20 10:23:23 +01:00
David Kocik
0503733694 Fix of sending refreshed token to Connect
Improved timeout logic
2024-11-20 10:09: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
ce5008cc8d SPE SPE-2566: Load loading screen on webview panels first to prevent using webview context before it is initilized
do remove_request_authorization only once
2024-11-20 09:44:00 +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
David Kocik
668d73b2ea SPE-2563: URL-encode and decode filenames to fix wide chars in javascript 2024-11-20 09:43:28 +01:00
rtyr
c6da4c1b0c Snapmaker 2.0.2 2024-11-20 08:31:27 +01:00
rtyr
a244b6a5e0 2.1.2 Sync with PrusaSlicer-settings-prusa-fff 2024-11-20 08:26:37 +01:00
Martin Šach
90c1a5df99 Fix current z when moving to wipe tower 2024-11-20 07:53:58 +01:00
Lukas Matena
fac23c17d2 Merge branch 'lm_jb_osx_quick_quit_crash_fix' (SPE-2560) 2024-11-20 07:52:38 +01:00
Lukas Matena
2be3c9f867 Couple more ad-hoc fixes for crashes on startup 2024-11-20 07:52:10 +01:00
Jan Bařtipán
d2bed746b0 Fixed crash while quitting just after app start (happening on OSX), the app.plater_ setting to nullptr removed, AppUpdater: checking if app instance still exist before event queueing 2024-11-20 07:52:10 +01:00
YuSanka
0a57de800c ConfigWizard: Allow to install and select SLA printer preset, when multipart object is in on the bed.
However, it is still not impossible to select an SLA printer when the object has a modifier.
For this case info dialog will be shown.

+ Model: Deleted model_has_multi_part_objects()

SPE-2547
2024-11-20 07:50:15 +01:00
Lukas Matena
6d19776942 Merge branch 'ms_fix_xyz_travel_speed' (SPE-2493) 2024-11-20 07:48:14 +01:00
Martin Šach
a59ca08e0b Round down interpolated z speed (SPE-2493) 2024-11-20 07:47:35 +01:00
Martin Šach
7d7813243b Use writter m_pos to determine previous position for xyz travel 2024-11-20 07:47:32 +01:00
YuSanka
1e65bf8d23 Updated splashscreen 2024-11-19 11:00:27 +01:00