24441 Commits

Author SHA1 Message Date
Martin Šach
bc0fc8a789 Fix missing deretraction coused by caching gcode writer. Use find and replace to remove the retraction if not required 2024-02-19 15:27:38 +01:00
Martin Šach
3ba0b386ea Fix rect layer change missing first point 2024-02-19 15:24:48 +01:00
Martin Šach
e5656a80c2 Fix wipe before ramping travel 2024-02-19 15:24:48 +01:00
Martin Šach
12755cd374 Fix layer change smoothing 2024-02-19 15:24:48 +01:00
Martin Šach
0b4e406b28 Add missing point to the rectangular travel 2024-02-19 15:24:48 +01:00
Merill
aa5573e8b9 fix remove_invalid_keys on an erased config instead of the preset config (PR #12127 from @supermerill, SPE-2127):
see supermerill/SuperSlicer/issues/4079
2024-02-16 11:43:57 +01:00
Lukas Matena
1c6282ce03 Fixed missing cooling slowdown when z travel speed was zero (#12258, SPE-2163) 2024-02-16 11:38:34 +01:00
YuSanka
282ed377e9 Translations: Fix for some phrase
+ Updated POT and community dictionaries
2024-02-15 16:18:36 +01:00
Lukas Matena
78f307766b Fix of #12248: Incorrectly applied variable layer height limits 2024-02-15 11:29:11 +01:00
Martin Šach
5f9f5be614 Add lift to first travel move on layer. Add retraction_length 0 to test, to avoid lifting back up and going back down. 2024-02-14 16:58:47 +01:00
Martin Šach
088212cc7a Add missing lift after simple layer change 2024-02-14 16:58:47 +01:00
Martin Šach
8f192b67b5 Fix retract only if travel is long enough and add wipe 2024-02-14 16:58:47 +01:00
Martin Šach
b2e8580fd8 Add retraction for any travels that would happen during layer change 2024-02-14 16:58:47 +01:00
YuSanka
1975e45f69 Localization: Updated POT
+ community dictionaries are merged with new POT
2024-02-13 11:18:26 +01:00
Lukas Matena
a20fb3bfdd Fixes in phrases 2024-02-13 11:09:31 +01:00
Andy
3ed43609f5 Russian translation update
Russian translation update PrusaSlicer 2.7.2-alpha2
2024-02-13 10:29:57 +01:00
dzmitry
68dbdab538 Update for BE translation 2024-02-13 10:26:43 +01:00
Jero on Github
247f8e491f Update for FI translations 2024-02-13 10:16:10 +01:00
Robert Schiele
be31ac103b add missing boost/log/trivial.hpp include in VoronoiUtils.cpp 2024-02-12 12:36:07 +01:00
Lukas Matena
e09f6e526a Revert "Fix SPE-2129"
This reverts commit 8dc1d70d854a83c473222882e217392d314b264b.
version_2.7.2-alpha2
2024-02-09 14:57:38 +01:00
Lukas Matena
6f7349c2ee Bumped up version to 2.7.2-alpha2 2024-02-09 14:15:50 +01:00
Lukas Matena
44993613f3 Merge remote-tracking branch 'public/master' into master_27x 2024-02-09 11:22:20 +01:00
enricoturri1966
f6027deca9 SPE-1814: Fixed legend not automatically switching to color print view when color change is set in layer height bar for mmu printers 2024-02-09 11:09:49 +01:00
enricoturri1966
542397140a SPE-1813: Do not force object to stay on top of bed when scaling a single volume from an instance 2024-02-09 11:08:44 +01:00
Lukas Matena
11f61037a4 Merge branch 'lm_invalid_3mf_crash_SPE-2135' into master_27x 2024-02-08 16:23:00 +01:00
Filip Sykala - NTB T15p
ee87330859 Add check on existing exactly one .model file in 3mf 2024-02-08 16:22:45 +01:00
Lukas Matena
83a98d43bf Fixed crash when loading invalid 3MFs (SPE-2135)
The crash was introduced in 040a846, which completely threw away handling of the return value
of the importer.load_model_from_file function and replaced it with weaker condition. The purpose
of that change was to solve #8401 (missing error message when loading different invalid 3MF).

This commit reverts that change (and reintroduces #8401). Handling of 3MF loading errors
should be inside the importer.load_model_from_file function, where the check should be
added later.
2024-02-08 16:22:45 +01:00
Lukáš Hejl
054e932d34 Merge branch 'lh_voronoi_refactoring' into master_27x 2024-02-08 15:41:02 +01:00
Lukáš Hejl
76435e7add SPE-1840: Rework multi-material segmentation to work directly on the Voronoi diagram without creating a copy of it.
Previous algorithms assume that they can get an invalid Voronoi diagram. Because of that, during the multi-material segmentation, a copy of the Voronoi diagram was created, and there were several attempts to fix missing vertices and edges. But as it shows, this wasn't a good enough approach and sometimes led to several issues like bleeding layers.

After generalization, our approach for detection and repairs of invalid Voronoi diagrams from Arachne, we could assume that multi-material segmentation gets non-invalid Voronoi diagrams.
With this assumption, we reimplement multi-materials segmentation to work directly on the Voronoi diagram. That should make multi-material segmentation more stable.

So, this should fix several issues like bleeding layers. Also, memory consumption should decrease by a lot. Also, there should be some speedup of multi-materials segmentation.
2024-02-08 15:40:20 +01:00
Lukáš Hejl
24a497e445 Make the VoronoiUtils::compute_segment_cell_range() function to take a constant reference to VoronoiDiagram::cell_type instead of a mutable reference. 2024-02-08 15:40:20 +01:00
Lukáš Hejl
8784ca0ecf SPE-1729: Try to compute the Voronoi diagram again on modified ExPolygon when an invalid Voronoi diagram is produced during the calculation of the medial axis.
There are several ExPolygons with very thin lines and holes formed by very close (1-5nm) vertices that are on the edge of our resolution. Those thin lines and holes are both unprintable and cause the Voronoi diagram to be invalid.
So, we filtered out such thin lines and holes and tried to compute the Voronoi diagram again.
2024-02-08 15:40:20 +01:00
Lukáš Hejl
a358f13de2 Generalize fixing of invalid Voronoi diagram by rotating back and forth.
Now, this fixing operation can be applied to any Voronoi diagram constructed from segments.
2024-02-08 15:40:02 +01:00
Lukáš Hejl
227e82a6ba Generalize all detection on invalid Voronoi diagrams to not depend on Arachne data structures.
Also, all detections are moved from SkeletalTrapezoidation.cpp to Voronoi class.
2024-02-08 15:40:02 +01:00
Lukáš Hejl
78108e647c Generalize VoronoiUtilsCgal to not depend on Arachne data structures. 2024-02-08 15:40:02 +01:00
Lukáš Hejl
ac33876796 Generalize all functions in VoronoiUtils to not depend on Arachne data structures.
Also, move VoronoiUtils from Arachne namespace to Geometry namespace.
2024-02-08 15:40:02 +01:00
Lukáš Hejl
23b7c41857 Move ColoredLine struct and related boost traits into the header file of MultiMaterialSegmentation. 2024-02-08 15:40:02 +01:00
Lukáš Hejl
fb84f3113a Introduce wrapper class around boost::polygon::voronoi_diagram. 2024-02-08 15:40:02 +01:00
Lukáš Hejl
4b6a6379fc Refactoring of VoronoiUtils::discretizeParabola() to remove PointMatrix. 2024-02-08 15:40:02 +01:00
Lukáš Hejl
5f37d422f0 Switch orientation of passed into Voronoi generator, because previously were opposite.
So previously, SOURCE_CATEGORY_SEGMENT_START_POINT and SOURCE_CATEGORY_SEGMENT_END_POINT were swapped.
2024-02-08 15:40:02 +01:00
rtyr
530f3b93d2
Sync with PrusaSlicer-settings. 2024-02-08 14:36:21 +01:00
rtyr
0773b5c766
Resources for X3 and X4 2024-02-08 14:35:25 +01:00
Lukas Matena
3ef556f43c Fix of missing invalidation on object name change (#8059, #12193, SPE-2139) 2024-02-08 09:27:27 +01:00
Filip Sykala - NTB T15p
8dc1d70d85 Fix SPE-2129
https://github.com/prusa3d/PrusaSlicer/issues/12157

(cherry picked from commit 309ec8c5fbcc0754f165b51e39e7c291da13ab77)
2024-02-07 14:27:23 +01:00
Martin Šach
f64aea6499 Fix: Cap speed by max_volumetric_speed even for dynamic overhangs. 2024-02-07 10:12:43 +01:00
YuSanka
78f4a6febb Fix for #11991 - Filament selections do not appear on custom printer
(SPE-2094)
2024-02-07 10:00:36 +01:00
Lukas Matena
69808c3b12 Fixed arrange which put the wipe tower slightly out of bed (#11367, #11410, SPE-1966) 2024-02-07 09:59:41 +01:00
Lukas Matena
7fa632f8ef Merge branch 'lm_wipe_tower_weight' into master_27x 2024-02-07 09:59:24 +01:00
Lukas Matena
601d61ca86 Fixed placeholders extruded_volume and similar: wipe tower was not included 2024-02-07 09:55:37 +01:00
Lukas Matena
642535eecb Added const Print backpointer into GCodeGenerator 2024-02-07 09:55:37 +01:00
Lukas Matena
e4030321f7 Calculate wipe tower filament consumption per layer 2024-02-07 09:55:37 +01:00