25548 Commits

Author SHA1 Message Date
David Kocik
c70cb1ac15 Fix of asserts 2024-11-25 12:19:12 +01:00
Martin Šach
fc27654827 Enable use of reusable actions in static analysis 2024-11-25 00:13:52 +01:00
Martin Šach
c99c81e0ff Add static analysis workflow 2024-11-24 23:24:08 +01:00
Martin Šach
e3c277b9ee Remove ancient FindEigen it is no longer needed 2024-11-22 16:33:39 +01:00
randomtechguy
87646cad14 Update CMakeLists.txt to fix linux compile error (PR#13609 by @jmickelin) 2024-11-22 16:33:39 +01:00
Martin Šach
78a0470666 Ensure boost minimum version is at least the one out build is using 2024-11-22 16:33:39 +01:00
Jonne Mickelin
20a02b585a Link boost_headeronly in slic3r and libslic3r (PR#13609 by @jmickelin)
This solves the linker error about missing `boost::log` symbols.

Fixes #13608.
2024-11-22 16:33:39 +01:00
Jonne Mickelin
0ea9a1c729 Replace FindDbus.cmake with the upstream module (PR#13609 by @jmickelin)
This solves the build error with missing headers.

Partially fixes #13608.
2024-11-22 16:33:39 +01:00
Martin Šach
5394aa70ec Build asan only in master 2024-11-21 15:34:15 +01:00
Martin Šach
cd3534723f Provide default value on push for github actions windows workflow 2024-11-21 15:12:44 +01:00
Martin Šach
b09c53a024 Fix github action input type 2024-11-21 15:01:43 +01:00
Martin Šach
f62104aa84 Refactor workflows to allow conditionals 2024-11-21 14:57:16 +01:00
Lukas Matena
ae97d00c34 Bumped up version to 2.9.0-alpha1 version_2.9.0-alpha1 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