Commit Graph

1912 Commits

Author SHA1 Message Date
lane.wei 4ffa7b505a ENH: CLI: add allow_mix_temp option
jira: no-jira
Change-Id: Idff6ff2f11b4b0a1fb3a4a410fa46c78d38d1a6e
2025-03-28 21:13:34 +08:00
xun.zhang b3793dd812 FIX: effiency issue in some cases with slope enhance
github:6186

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I534a71475ea9ebe0f6467e27e43cc2e3f9348f48
2025-03-28 21:13:34 +08:00
xun.zhang 274a053673 FIX: filament savings not consider flush multiplier
github:6214

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I9cb9f8d172bfa501732bb50f437e261793e18972
2025-03-28 21:13:34 +08:00
qing.zhang b122af7b8f ENH: update tooltips
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ia78809b6f68acbc9a8c69425171970dd3e858168
2025-03-28 21:13:34 +08:00
lane.wei cd4fcb292a ENH: updater: refine the config update logic
add more logic to process error
jira: no-jira

Change-Id: I7a23a25648f6965cd7ebe2d32212675ff11aa60e
2025-03-28 21:13:34 +08:00
jiaxi.chen 7ac6cedff8 FIX: crash when xy_dist=0 in organic tree
jira: STUDIO-11158
Change-Id: Id98a196daf5fdc128e0c10de7d0a8f19c9014c3b
2025-03-28 21:13:34 +08:00
Bastien Nocera bba6fa71a4 FIX: Fix missing std::regex declaration
/run/build/BambuStudio/src/libslic3r/FilamentGroupUtils.cpp: In lambda function:
/run/build/BambuStudio/src/libslic3r/FilamentGroupUtils.cpp:92:18: error: ‘regex’ is not a member of ‘std’
   92 |             std::regex r1(R"(^Sup.(\w+)$)");
      |                  ^~~~~
2025-03-26 08:18:12 +08:00
Bastien Nocera 059e18aa38 FIX: Fix missing std:: declarations in ToolOrderUtils
/run/build/BambuStudio/src/libslic3r/GCode/ToolOrderUtils.hpp:14:26: error: ‘numeric_limits’ is not a member of ‘std’
   14 |     const int INF = std::numeric_limits<int>::max();
      |                          ^~~~~~~~~~~~~~
/run/build/BambuStudio/src/libslic3r/GCode/ToolOrderUtils.cpp:545:66: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
  545 |     static std::vector<T> collect_filaments_in_groups(const std::unordered_set<unsigned int>& group, const std::vector<unsigned int>& filament_list) {
      |                                                                  ^~~~~~~~~~~~~
2025-03-26 08:18:12 +08:00
Bastien Nocera 58754264c6 FIX: Fix missing union_ex/offset_ex declaration
/run/build/BambuStudio/src/libslic3r/Interlocking/InterlockingGenerator.cpp: In member function ‘std::pair<std::vector<Slic3r::ExPolygon>, std::vector<Slic3r::ExPolygon> > Slic3r::InterlockingGenerator::growBorderAreasPerpendicular(const Slic3r::ExPolygons&, const Slic3r::ExPolygons&, const coord_t&) const’:
/run/build/BambuStudio/src/libslic3r/Interlocking/InterlockingGenerator.cpp:70:56: error: ‘offset_ex’ was not declared in this scope; did you mean ‘offsetof’?
   70 |     const ExPolygons total_shrunk = offset_ex(union_ex(offset_ex(a, min_line), offset_ex(b, min_line)), 2 * -min_line);
      |                                                        ^~~~~~~~~
      |                                                        offsetof
/run/build/BambuStudio/src/libslic3r/Interlocking/InterlockingGenerator.cpp:70:47: error: ‘union_ex’ was not declared in this scope; did you mean ‘union’?
   70 |     const ExPolygons total_shrunk = offset_ex(union_ex(offset_ex(a, min_line), offset_ex(b, min_line)), 2 * -min_line);
      |                                               ^~~~~~~~
      |                                               union
2025-03-26 08:18:12 +08:00
Bastien Nocera d51243b089 FIX: Fix missing std::ofstream/std::ifstream declaration
/run/build/BambuStudio/src/libslic3r/SVG.cpp: In function ‘void Slic3r::dumpExPolygonToJson(const ExPolygon&, const std::string&)’:
/run/build/BambuStudio/src/libslic3r/SVG.cpp:620:32: error: variable ‘std::ofstream file’ has initializer but incomplete type
  620 |     std::ofstream file(filePath);
      |                                ^
/run/build/BambuStudio/src/libslic3r/SVG.cpp:6:1: note: ‘std::ofstream’ is defined in header ‘<fstream>’; this is probably fixable by adding ‘#include <fstream>’
    5 | #include "nlohmann/json.hpp"
  +++ |+#include <fstream>
    6 |
2025-03-26 08:18:12 +08:00
Bastien Nocera bf32b5a489 FIX: Fix missing boost::algorithm::split declaration
/run/build/BambuStudio/src/libslic3r/PrintConfig.cpp: In function ‘std::vector<std::map<int, int> > Slic3r::get_extruder_ams_count(const std::vector<std::__cxx11::basic_string<char> >&)’:
/run/build/BambuStudio/src/libslic3r/PrintConfig.cpp:454:27: error: ‘split’ is not a member of ‘boost::algorithm’
  454 |         boost::algorithm::split(ams_infos, str, boost::algorithm::is_any_of("|"));
      |                           ^~~~~
2025-03-26 08:18:12 +08:00
Bastien Nocera a8d792ecf8 FIX: Fix missing L() localisation helper
/run/build/BambuStudio/src/libslic3r/PresetBundle.cpp: In member function ‘unsigned int Slic3r::PresetBundle::sync_ams_list(std::vector<std::pair<Slic3r::DynamicPrintConfig*, std::__cxx11::basic_string<char> > >&, bool, std::map<int, Slic3r::AMSMapInfo>&, bool, Slic3r::MergeFilamentInfo&)’:
/run/build/BambuStudio/src/libslic3r/PresetBundle.cpp:1973:49: error: ‘L’ was not declared in this scope
 1973 |                     unknowns.emplace_back(&ams, L("The filament model is unknown. Still using the previous filament preset."));
      |                                                 ^
2025-03-26 08:18:12 +08:00
Bastien Nocera c77afa7096 FIX: Fix missing offset() helper declaration
/run/build/BambuStudio/src/libslic3r/GCode/WipeTower.cpp:3327:26: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’?
 3327 |             outer_wall = offset(outer_wall, scaled(spacing)).front();
      |                          ^~~~~~
      |                          off_t
2025-03-26 08:18:12 +08:00
Bastien Nocera ea2c021427 FIX: Fix missing polygon primitives declaration
/run/build/BambuStudio/src/libslic3r/GCode/WipeTower.hpp:31:12: error: ‘TriangleMesh’ does not name a type
   31 |     static TriangleMesh                 its_make_rib_tower(float width, float depth, float height, float rib_length, float rib_width, bool fillet_wall);
      |            ^~~~~~~~~~~~
<snip>
/run/build/BambuStudio/src/libslic3r/GCode/WipeTower.hpp:33:12: error: ‘Polygon’ does not name a type
   33 |     static Polygon                      rib_section(float width, float depth, float rib_length, float rib_width, bool fillet_wall);
      |            ^~~~~~~
<snip>
/run/build/BambuStudio/src/libslic3r/GCode/WipeTower.hpp:200:21: error: ‘Polylines’ was not declared in this scope
  200 |     std::map<float, Polylines> get_outer_wall() const
      |                     ^~~~~~~~~
<snip>
2025-03-26 08:18:12 +08:00
Bastien Nocera f90ab037be FIX: Fix missing Slic3r::format declaration
/run/build/BambuStudio/src/libslic3r/Fill/FillFloatingConcentric.cpp: In lambda function:
/run/build/BambuStudio/src/libslic3r/Fill/FillFloatingConcentric.cpp:430:49: error: ‘format’ is not a member of ‘Slic3r’; did you mean ‘boost::format’?
  430 |             BOOST_LOG_TRIVIAL(error) << Slic3r::format("ZFiller: both point in subject : %d, %d, %d, %d ", e1_a.z(), e1_b.z(), e2_a.z(), e2_b.z());
      |                                                 ^~~~~~
2025-03-26 08:18:12 +08:00
Bastien Nocera 208fc3185b FIX: Fix missing std::stack declaration
/run/build/BambuStudio/src/libslic3r/Fill/FillRectilinear.cpp: In function ‘void Slic3r::adjust_sort_for_segment_intersections(std::vector<SegmentIntersection>&)’:
/run/build/BambuStudio/src/libslic3r/Fill/FillRectilinear.cpp:371:10: error: ‘stack’ is not a member of ‘std’
  371 |     std::stack<IntersectionType> stack;
      |          ^~~~~
/run/build/BambuStudio/src/libslic3r/Fill/FillRectilinear.cpp:36:1: note: ‘std::stack’ is defined in header ‘<stack>’; this is probably fixable by adding ‘#include <stack>’
   35 | #include <cassert>
  +++ |+#include <stack>
   36 |
2025-03-26 08:18:12 +08:00
Bastien Nocera c15d402bde FIX: Fix missing std::accumulate declaration
/run/build/BambuStudio/src/libslic3r/ExPolygon.cpp: In function ‘double Slic3r::get_expolygons_area(const ExPolygons&)’:
/run/build/BambuStudio/src/libslic3r/ExPolygon.cpp:437:17: error: ‘accumulate’ is not a member of ‘std’
  437 |     return std::accumulate(expolys.begin(), expolys.end(), (double)(0), [](double val, const ExPolygon& expoly) {
      |                 ^~~~~~~~~~

/run/build/BambuStudio/src/libslic3r/Polygon.cpp: In member function ‘bool Slic3r::Polygon::is_approx_circle(double, double, Slic3r::Point&, double&) const’:
/run/build/BambuStudio/src/libslic3r/Polygon.cpp:122:28: error: ‘accumulate’ is not a member of ‘std’
  122 |     double avg_dist = std::accumulate(distances.begin(), distances.end(), 0.0) / distances.size();
      |                            ^~~~~~~~~~
2025-03-26 08:18:12 +08:00
Bastien Nocera 159de8dc65 FIX: Fix missing Slic3r::BoundingBox type declaration
In file included from /run/build/BambuStudio/src/libslic3r/ExtrusionEntityCollection.hpp:6,
                 from /run/build/BambuStudio/src/libslic3r/CurveAnalyzer.hpp:4,
                 from /run/build/BambuStudio/src/libslic3r/CurveAnalyzer.cpp:1:
/run/build/BambuStudio/src/libslic3r/ExtrusionEntity.hpp:33:17: error: field ‘bbox’ has incomplete type ‘Slic3r::BoundingBox’
   33 |     BoundingBox bbox;
      |                 ^~~~
2025-03-26 08:18:12 +08:00
Bastien Nocera 864ad1715d FIX: Fix missing ExPolygons type declaration
In file included from /run/build/BambuStudio/src/libslic3r/Clipper2Utils.cpp:1:
/run/build/BambuStudio/src/libslic3r/Clipper2Utils.hpp:11:1: error: ‘ExPolygons’ does not name a type; did you mean ‘Polygons’?
   11 | ExPolygons         union_ex_2(const Polygons &expolygons);
      | ^~~~~~~~~~
      | Polygons
2025-03-26 08:18:12 +08:00
xun.zhang cfa54c5505 ENH: update flush table
1. For cases where light color switch to dark color, multiply the value
with 1.3

jira : NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I6b5b2f8e9578d031bbf830ecf18f0069865af2e6
2025-03-25 08:15:51 +08:00
zhimin.zeng c366876acf FIX: the data and UI are out of sync when creating printer
jira: STUDIO-11080
Change-Id: I4cc86174b4ed847b53c87f85f9e590742e6dd9ff
2025-03-25 08:15:50 +08:00
xun.zhang 8890900f30 ENH: read pre cooling temp from config
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I8447fb5e091d95648871efc4b4ac61094acefc54
2025-03-25 08:15:49 +08:00
zhou.xu 7af3eba500 ENH:Text not centered on mac15
jira: STUDIO-11056
Change-Id: I1c651421f8914a25707ad5b5c1d3e3d56c2df959
2025-03-25 08:15:48 +08:00
xun.zhang 5e1ffe3a2c ENH: play a video for first tpu printing
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0c1e9d97043436c6e74da13b84727706bab71ea3
2025-03-24 11:06:45 +08:00
jiangkai.zhao 6a927ebb55 Fix: error the contact layers of different categories
jira: none
Change-Id: Ife5508427e0c09527489f1ff973d27463650d60a
2025-03-24 11:06:45 +08:00
zhimin.zeng cdd72cd549 ENH: add initial layer travel acceleration
jira: none
Change-Id: I1a9bb6bc8d260cb76a62b18ddaaac54bf74e8602
(cherry picked from commit ab91cb76eb7b3916e4b377ea6a30dcec2ff7bc97)
2025-03-24 11:06:43 +08:00
zhimin.zeng ca36ee8096 FIX:Separate travel acceleration from print acceleration
jira: none
Change-Id: Ie262c38bda2e5fd3df582f0aada2a507444355a4
(cherry picked from commit 6fe4edde0769b5ca6a68402984a1dc156b17215c)
2025-03-24 11:06:43 +08:00
xun.zhang 5fea5e6696 ENH: update flush data for H2D
1.Alsoe set default flush from support to 700

jira: STUDIO-10595

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0d0a85cdac5e63b787c16b35ed6c05afc885a715
2025-03-24 11:06:43 +08:00
jiangkai.zhao d45061b607 ENH:ramming depth can set 0
jira: none
Change-Id: I6498e9a53b4850bed280f0f7bad821906b32464c
2025-03-24 11:06:43 +08:00
jiangkai.zhao 14da1d3063 FIX: wipe_tower max speed
jira: none
Change-Id: If696d8a75af4a7849f52a740d952867e269c9dda
2025-03-24 11:06:43 +08:00
zhimin.zeng 5b056ee0ae FIX: modify some text
jira: none
Change-Id: If3f90adda34bc3088f7a43ccf294d82c14180263
2025-03-24 11:06:43 +08:00
xun.zhang 6231148ef3 ENH: add bridge for beamlocking
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I5126d8e8d327ece7615fdfe536500018dec54b48
2025-03-24 11:06:43 +08:00
zhou.xu aa7fbd4926 ENH:is_bbl_3mf pointer should determine if it is empty
jira: STUDIO-11031
Change-Id: I14c6daeb275a82d019f88246b23013163a14ded1
2025-03-24 11:06:42 +08:00
jiangkai.zhao 0016f5f507 Fix: error skip_point when infill gap greater than 200
jira: none
Change-Id: I0440ebeb57530fbe4914c3b061f4a67d6a6b0e47
2025-03-24 11:06:42 +08:00
jiaxi.chen 8dd8979201 FIX: bottom layer of erSupportTransition dont overlap with base_support
It's because the angle pramater is initialized outside of parallel computing

jira: STUDIO-11015
Change-Id: I2746880683f705cedc5eaca8a41d7b385e22368f
2025-03-24 11:06:42 +08:00
chunmao.guo f1eb5e8292 FIX: show sync ams unknown details
Change-Id: I1febb10b73a87f98a477fea5fbe2583c752ab330
Jira: STUDIO-10969, STUDIO-10973, STUDIO-11011
2025-03-24 11:06:18 +08:00
xun.zhang aafcfd72f4 ENH: add layer num in filament end GCode
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I6f81b86a7b7391048d70f2c4839733a69015e53b
2025-03-24 09:18:39 +08:00
xun.zhang 01be3a51e6 FIX: translation problem
1. add regroup link

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia90c80f5ff86e785e00fb0c38360eb33424a5ddd
2025-03-24 09:18:39 +08:00
zhimin.zeng da3819f52f FIX: fix the error wipe path
jira: none
Change-Id: I34af54711531b208049cbbc3883bca92328b9b5a
2025-03-24 09:18:39 +08:00
huicong.li 96e8fead16 FIX: reduce crossing perimeters fix
jira: none

Change-Id: I634dfbcc8875c81fb6a8b62bfa89c8e3f7b778b6
2025-03-24 09:18:37 +08:00
zhimin.zeng 6fc5643353 FIX: filament shrinkage causing color loss
jira: STUDIO-10837 & STUDIO-10960
Change-Id: I379ad68dd821208a8de4b2c462a1bb324235f8d3
2025-03-24 09:18:36 +08:00
jiangkai.zhao 3215eb3639 Fix: crash by single_extruder's printable_height
jira: none
Change-Id: I2604693323236b48050560911e3a579c9918664d
2025-03-24 09:18:36 +08:00
lane.wei 5869d33d51 ENH: CLI: check filament mapping error before process
jira: no-jira
Change-Id: Ie82a1faba93a4f80281615c803a45a93206ddf02
2025-03-24 09:18:36 +08:00
jiangkai.zhao d2c3c7d845 FIX: error ramming reverse travel
jira: none
Change-Id: I71bcfc6df777ffc8e658b827bdc7225133731ca1
2025-03-24 09:18:36 +08:00
jiangkai.zhao e76a46159d ENH: Cancel the ramming for the last layer
if it exceeds the print height

jira: none
Change-Id: I427d6a0718f2a65ab2e59af448ee1a613c488596
2025-03-24 09:18:36 +08:00
zhou.xu 4b368cb2ec ENH:the "distance" var should init to 0 in the release environment of Mac
jira: STUDIO-10967
Change-Id: I85b1e87dc80846f50c3bd29c7aa05f89c39d17de
2025-03-24 09:18:36 +08:00
lane.wei 2ccc72f16e FIX: config: add some error process logic when loading 3mf
jira: STUDIO-7956
Change-Id: I13084cfe5233da9e928dc8eb10d8ffe1bc38080c
2025-03-24 09:18:36 +08:00
jiangkai.zhao beaffaffe3 ENH: updata some tooltips
and remove fdm_filament_tpu useless configuration
jira:none

Change-Id: Ib2f35701af687b22c39bf8aff4dc6be62f80e32a
2025-03-24 09:18:35 +08:00
jiaxi.chen 47a30a3e2a FIX: crash sometimes when using ipLightning in Organic tree
jira: STUDIO-10957
Change-Id: I8126540bd04f1c74a39171161ee29c7b6ace9f18
2025-03-24 09:18:35 +08:00
zhimin.zeng 9b81b9e2d4 FIX: apply unprintable filament type to limit filament map
jira: none
Change-Id: I81e22dc28bc416a1b26c242fab4e054f597b064e
2025-03-24 09:18:35 +08:00