25966 Commits

Author SHA1 Message Date
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
Martin Šach
6494a3badd Fix #13870: Prefer a corner if there is one clearly rearest corner to be picked when placing rear seam 2025-02-04 11:01:09 +01:00
Martin Šach
6176dcc540 SPE-2639: Fix invalid scarf seam direction leading to whole perimeter scarfs 2025-02-04 11:01:09 +01:00
Martin Šach
ceb9950e35 SPE-2635: Fix picking the rear seam line 2025-02-04 11:01:09 +01:00
Martin Šach
02779e211f SPE-2639: Ensure no scarf seam is generated when a point fail to project to the perimeter 2025-02-04 11:01:09 +01:00
Martin Šach
f3d736ab63 SPE-2639 Make seam placing tolerate invalid data.
Even if the seam placer generates invalid scarf seam
that has start_point == end_point, deal with it
gracefully.
2025-02-04 11:01:09 +01:00
jalapenopuzzle
944844131c Fix fff_print_tests and add documentation (PR#13886 from @jalapenopuzzle)
PrusaSlicer/src/libslic3r/GCodeReader.cpp:24: char Slic3r::get_extrusion_axis_char(const Slic3r::GCodeConfig&): Assertion `axis.size() <= 1' failed.
The set_deserialise_strict() method converts 'A' to the string "65" instead of "A". Perhaps this should be fixed more robustly.

Fix fff_print_tests test name Temeperatures -> Temperatures

Fix fff_print_tests All travel moves happen within skirt

Remove the last travel_moves point which returns to the origin (0,0) which is outside the convex hull. This point was causing CHECK(convex_hull.contains(travel_move)) to fail.

Fix fff_print_tests "Used Filament" test Assertion `std::abs(length) < 1000.0' failed

The test configured a retract_length of 10000000 which is larger than the asserted maximum retraction length of 1000.
PrusaSlicer/src/libslic3r/GCode/GCodeWriter.cpp:473: std::string Slic3r::GCodeWriter::_retract(double, double, std::string_view): Assertion `std::abs(length) < 1000.0' failed.
Fixed by doing the print with two different (legal) retraction lengths and checking that the total_used_filament agrees in both cases.

Fix fff_print_tests "Slicing with retraction and lifting" remove illegal negative restart_extra test case

Negative restart_extra is asserted against at PrusaSlicer/src/libslic3r/Extrucer.cpp:58

How to build - add instructions on how to run the unit tests
2025-02-04 09:24:12 +01:00
rtyr
4c5f3502cb HartSmartProducts sync with settings repo 2025-02-03 12:10:37 +01:00
rtyr
eb44ca9fee Sync with settings repo and C1 resources. 2025-02-03 12:05:43 +01:00
YuSanka
23a5e2ad81 Follow-up 61618d63aa - Fixed SPE-2649 : "Reacalculate the dimension of object from inches to mimimeters (The object is too small) 2025-02-03 10:51:16 +01:00
Lukas Matena
2d54db2e35 SPE-2665: Incorrect size of thumbnails when slicing using CLI 2025-01-30 09:41:51 +01:00
Martin Šach
cf7a01b3f0 Fix SPE-2642: Select the bed the currently painted on instance is on when doing automatic painting (#13952) 2025-01-29 15:24:34 +01:00
Lukáš Hejl
8fc4e241d3 SPE-2627: Pass information if the perimeter is a loop or not into the GCodeGenerator::extrude_smooth_path(). (#13753) 2025-01-29 15:21:49 +01:00
Lukas Matena
8976250fb9 Merge branch 'dk_tools' 2025-01-29 15:19:36 +01:00
David Kocik
034f1ba851 revert with comment 2025-01-29 15:19:18 +01:00