25980 Commits

Author SHA1 Message Date
Lukáš Hejl
86fadfc08e SPE-2194: Split Voronoi cells generated by vertexes into two polygons of equal area instead of selecting just one of the edges based on heuristics. 2025-02-14 11:57:04 +01:00
Lukáš Hejl
36f64d9dd7 SPE-2194: Improve filtering of projected colors in multi-material segmentation. 2025-02-14 11:57:04 +01:00
Lukáš Hejl
c044b310ee SPE-2194: Snap places where there is a change in projected colors to the nearest sharp angles in multi-material segmentation. 2025-02-14 11:57:04 +01:00
David Kocik
79afab4467 SPE-2681: Safely close app in webview callback.
+ handle unused event from Printables.
2025-02-14 11:55:25 +01:00
rtyr
fe108a4d68 Sync with settings-prusa-fff 2025-02-13 15:05:15 +01:00
Lukáš Hejl
ba4116577c Fix building of tests in RelWithDebInfo mode on Windows. 2025-02-13 14:11:45 +01:00
Lukáš Hejl
082003274b SPE-2654: Revert "SPE-2615: Fix missing layers and printing in the air on tiny parts with Arachne."
This reverts commit 671d0c9b3de44d8444a621f9fbc5792cd1a93927.
2025-02-13 10:45:47 +01:00
Lukáš Hejl
53199bccf7 Fix compilation of test_gcodewriter.cpp. 2025-02-13 10:31:39 +01:00
Martin Šach
9c9e578c76 Build arrange also for CLI 2025-02-12 19:19:06 +01:00
Martin Šach
2f863d52de Rename the no gui build job 2025-02-12 19:06:07 +01:00
Martin Šach
07b67142c3 Add workflow to enable building without GUI 2025-02-12 18:31:07 +01:00
Lukas Matena
98bb570090 Merge branch 'ys_tilt_next' 2025-02-12 17:13:37 +01:00
Lukas Matena
6e650bb682 Fixed tilt_down_delay legacy value 2025-02-12 17:13:25 +01:00
Lukas Matena
ba00b27dcd Revert "handle_legacy_sla() is moved into handle_legacy_composite()"
This reverts commit 1bc395cac25aa61b2ba6492fb3114675d57cc6e3.
2025-02-12 17:13:25 +01:00
Lukas Matena
0968ffee65 Parameter tower_hop_height type changed from int to float 2025-02-12 17:13:25 +01:00
YuSanka
9896788693 Added buttons for set default tilt values
SPE-2666
2025-02-12 17:13:25 +01:00
Lukas Matena
7e4ac102f4 Follow-up to 963f96b - fixed crash when one of the partial meshes was degenerate (SPE-2661) 2025-02-12 17:12:32 +01:00
Lukas Matena
9b8790e4d8 Merge branch 'jalapeno_z_skip' (PR #14060 by @jalapenopuzzle, also related to SPE-2675) 2025-02-12 17:11:13 +01:00
Martin Šach
57e984b083 SPE-2636 Enforce z generation after layer change
There can be custom gcode that modifies the print head position.
2025-02-12 17:05:19 +01:00
jalapenopuzzle
419d857a4b #13420 GCodeWriter Correct Z speed too high and add unit tests
#13402 test_gcodewriter.cpp add travel_speed_z tests

These tests fail with the legacy implementation of GCodeWriter::travel_to_xyz_force() because it does not decompose the speed into it's components according to the movement unit vector.

#13420 Correct Z speed too high
2025-02-12 17:05:19 +01:00
jalapnopuzzle
462758153b const prevents calling GCodeGenerator::travel_to functions which change the m_pos internal state.
These methods allow travel moves to be made without checking the distance against XYZ_EPSILON, which may prevent the move from being emitted. This is useful when we want an important comment to be emitted, like a layer change.

get_travel_to_gcode() functions don't maintain m_pos, which later causes incorrect speed calculations as the movement vector is measured incorrectly.

Ensure that client code can't make moves without maintaining m_pos.
2025-02-12 17:05:19 +01:00
jalapnopuzzle
c83f164ed5 #13420 GCodeWriter separate XYZ_EPSILON consistent with XYZF_EXPORT_DIGITS and add unit tests
#13420 test_gcodewriter.cpp add tests for XYZF_EXPORT_DIGITS

Check that movement GCodes are emitted / not emitted according to XYZF_EXPORT_DIGITS.
The new tests demonstrate that XYZF_EXPORT_DIGITS is NOT respected.

#13420 GCodeWriter separate XYZ_EPSILON consistent with XYZF_EXPORT_DIGITS

The value of EPSILON=1e-4 (0.0001) in libslicer3r.h is inconsistent with XYZF_EXPORT_DIGITS=3 (0.001).
This change addresses the inconsistency by introducing XYZ_EPSILON which is computed from XYZ_EXPORT_DIGITS, and changing all relevant GCodeWriter functions which used EPSILON to use XYZ_EPSILON instead.
2025-02-12 17:05:19 +01:00
Lukas Matena
5c3c8a6e70 SPE-2539: CLI slicer now only considers instances fully on the first bed 2025-02-12 16:58:34 +01:00
Jan Bařtipán
cbd4dbc58f Fixed slic3r_jobs_tests.cpp include 2025-02-11 17:22:02 +01:00
Martin Šach
877d7381fc Add debug symbols to the flatpak asan build 2025-02-11 13:22:14 +01:00
Lukas Matena
ccfcb4bf9d Improve error message when SLA-slicing a broken mesh (SPE-2680) 2025-02-10 16:06:02 +01:00
Martin Šach
dba7c3baaa Fix SPE-2464: Always retract before layer change travel
If retrac_layer_change is not forced check if the retraction is needed
otherwise always retract
2025-02-07 11:40:55 +01:00
Jan Bařtipán
2aab8f1245 test_infill_above_bridges: migrated to newer catch2 2025-02-07 10:29:49 +01:00
Jan Bařtipán
b72d9a4c58 Merge branch 'jb_catch2_update_to_v3.8' 2025-02-07 10:25:04 +01:00
YuSanka
4cfd8e896b Follow-up 4be7eeabb4: Fixed a typo caused disable to start GcodeViewer as a separate application
SPE-2670
2025-02-06 23:21:31 +01:00
Lukas Matena
120f33e6f9 Merge branch 'spe2632' 2025-02-06 23:19:59 +01:00
Enrico Turri
32b5cfb1f5 Show bed numbers when the camera is below the bed 2025-02-06 23:19:41 +01:00
Enrico Turri
f8dc44d12c SPE-2632 - Fixed rendering of bed numbers (#13814) 2025-02-06 23:19:40 +01:00
Martin Šach
9490ae242f SPE-2542: Add first_layer_infill_speed 2025-02-06 23:18:05 +01:00
Lukas Matena
5430596a7e Merge branch 'ms_infill_above_bridges' 2025-02-06 23:14:16 +01:00
Martin Šach
20687bc27a Use slowdown above bridges 2025-02-06 23:13:50 +01:00
Martin Šach
fc7ab914a1 Create method for infill above bridges identification 2025-02-06 23:13:50 +01:00
Jan Bařtipán
2a593e6d29 Tests: added missing headers 2025-02-06 16:59:53 +01:00
Jan Bařtipán
2b8dc48b6d Patched wxWidgets to be compilable on OSX 14.4+ 2025-02-06 16:09:13 +01:00
Jan Bařtipán
2b01d14f7b Catch2 updated to v3.8, all tests migrated 2025-02-06 15:55:09 +01:00
YuSanka
8e7e26289d ConfigWizard: Fixed loading of the default empty "PRINTER_PLACEHOLDER" image, if path contains diacritical symbols 2025-02-06 14:23:32 +01:00
Lukas Matena
88e9b91def Merge branch 'dk_ys_memory_leaks' 2025-02-06 13:18:55 +01:00
David Kocik
292885e9d1 Timer unique pointer 2025-02-06 13:18:46 +01:00
David Kocik
f1261f8e01 PresetUpdaterWrapper as resetable unique pointer. 2025-02-06 13:18:46 +01:00
YuSanka
254776dd6c Fixed some of detected memory leaks 2025-02-06 13:18:46 +01:00
YuSanka
ee98a1c31b wxWidgest are updated for v.3.2.6
+ Fixed compilation issues
+ Disable libpng compilation on linux
2025-02-05 16:45:55 +01:00
David Kocik
9ba6541a89 delete error log line 2025-02-05 14:09:14 +01:00
Martin Šach
c438e564c0 Fix SPE-2650: Respect z offset for wipe tower first layer
Wipe tower bases its position on current writer position.
It was not properly set on the first layer.
2025-02-04 11:05:41 +01:00
Lukáš Hejl
f156c459f7 SPE-2645: Fix issue with not including the wipe tower into the convex hull of the first layer after adding the extruder change. 2025-02-04 11:04:16 +01:00
Lukas Matena
2f602b3ca8 Merge branch 'ms_fix_invalid_scarf' 2025-02-04 11:01:39 +01:00