25907 Commits

Author SHA1 Message Date
enricoturri1966
b7135049d5 SPE-2506 - Improved scene panning in preview after changing selected bed 2024-12-05 17:08:54 +01:00
enricoturri1966
a62f846e0b SPE-2574 - Fixed emission of lines M73 C/D to gcode 2024-12-02 12:18:14 +01:00
Martin Šach
1675e08268 SPE-2580: Disable wipe tower in arrange if we know there is none. 2024-12-02 12:18:00 +01:00
David Kocik
c8cac7f678 SPE-2575:: Do not allow busy cursor logic in webview on linux
Allow changes of cursor only when panel is shown.
2024-12-02 12:13:59 +01:00
enricoturri1966
47bba48b34 SPE-2577 - Fixed processing of gcodes when using absolute values for E (#13623) 2024-12-02 12:12:01 +01:00
Martin Šach
9aed420c33 SPE-2578: Fix avoid crossing perimeters (#13445, #13478, #12432, #13669):
- Turn off external motion planner when the instance is the same for layer
change.
- Properly set the instance shift for travel_to_first_position. Affects
  simple rectangular layer change.
2024-12-02 12:08:55 +01:00
Lukas Matena
c7d9e55808 SPE-2587: Hotfix of slow loading of binary gcodes in gcodeviewer:
caused by calling render way too often directly from the update function
the fix is nothing nice, but it will have to do for now
2024-12-02 12:08:36 +01:00
Martin Šach
2229fc1954 Fix iterator invalidation 2024-11-27 14:57:14 +01:00
Martin Šach
56f73eb824 Run static analysis on dev branch 2024-11-25 20:04:29 +01:00
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