Bridge detection is not accurate. Let's be conservative.
jira: STUDIO-7116
Change-Id: I92ed02e655a1a824169ad261336c65cfb4b53248
(cherry picked from commit 77fd0c5214b2ddab956d1779908872633364779f)
jira 6984
Fix the layer shift cauculating error while reducing wrapping after importing the improvement from orca.
Change-Id: I1af1b29a6578836e5715685a4478a5b1d29f4ecf
JIRA: STUDIO-9551
Change-Id: Ife612ddd24a7b3247167be04c3fbfa9219a15777
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit c66e4e54096c93aaa56956b1d59859fa6e602961)
1.Caused by round(), if purge volume is small, flush count may be 0 due
to round()
Github:#4738
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I382ab3021761c2fcc84d3537a18bd619637985b8
1.Fix no retraction after extruding compensation for multiple
data lines in N1/N2S execution
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I05ef647a164aea6bfa9085e0eafed8d921796f06
The existing implementation did only read the new Z position from the injected timelapse_gcode and flagged the position as unsafe because of this.
This change reads X, Y and Z pos from the timelapgse_gcode and will keep the position state correct to enable safety checks required for using spiral Z hop.
Because of this, spiral Z hop can be used everyhwere now. The same pattern is also applied for layer_change/toolhead gcode injection.
The set_current_position_clear method is unused but will be kept in implementation for future scenarios.
/run/build/BambuStudio/src/slic3r/GUI/WebViewDialog.cpp: In member function ‘void Slic3r::GUI::WebViewPanel::SetMakerworldPageLoginStatus(bool, wxString)’:
/run/build/BambuStudio/src/slic3r/GUI/WebViewDialog.cpp:818:10: error: ‘regex’ is not a member of ‘std’; did you mean ‘boost::regex’?
818 | std::regex pattern("^https://.*/(.*/){0,1}agree-terms.*");
| ^~~~~
/run/build/BambuStudio/src/libslic3r/Flow.cpp: In static member function ‘static float Slic3r::Flow::rounded_rectangle_extrusion_spacing(float, float)’:
/run/build/BambuStudio/src/libslic3r/Flow.cpp:194:27: error: ‘error’ was not declared in this scope; did you mean ‘nlohmann::detail::cbor_tag_handler_t::error’?
194 | BOOST_LOG_TRIVIAL(error)<< __FUNCTION__ << boost::format("negative extrusion : width %1% height %2%") % width % height;
| ^~~~~
| nlohmann::detail::cbor_tag_handler_t::error
/run/build/BambuStudio/src/libslic3r/PerimeterGenerator.cpp: In function ‘double Slic3r::random_value()’:
/run/build/BambuStudio/src/libslic3r/PerimeterGenerator.cpp:31:76: error: ‘thread’ is not a member of ‘std’
31 | thread_local std::mt19937 gen(rd.entropy() > 0 ? rd() : std::hash<std:🧵:id>()(std::this_thread::get_id()));
| ^~~~~~
/run/build/BambuStudio/src/libslic3r/PerimeterGenerator.cpp:15:1: note: ‘std::thread’ is defined in header ‘<thread>’; did you forget to ‘#include <thread>’?
14 | #include "libslic3r/AABBTreeLines.hpp"
+++ |+#include <thread>
15 | static const int overhang_sampling_number = 6;