Momin Al-Ghosien
da29408504
Updated to fix the handling of the capacity change, and removed the code I previously added to reserve upfront since it is not really needed
2024-05-06 14:38:59 +08:00
Momin Al-Ghosien
306b09b4f5
Fix use after free bug in LinesBucketQueue::emplace_back_bucket
...
I found a use after free bug in LinesBucketQueue::emplace_back_bucket. This was found by enabling address sanitizer.
The LinesBucketQueue class has two related members:
std::vector<LinesBucket> line_buckets;
std::priority_queue<LinesBucket *, std::vector<LinesBucket *>, LinesBucketPtrComp> line_bucket_ptr_queue;
line_bucket_ptr_queue holds pointers into line_buckets. However, since items are inserted into line_buckets one at a time, existing pointers that were stored inside line_bucket_ptr_queue become invalid. Specifically:
void LinesBucketQueue::emplace_back_bucket(ExtrusionLayers &&els, const void *objPtr, Point offset)
{
auto oldSize = line_buckets.capacity();
line_buckets.emplace_back(std::move(els), objPtr, offset); <--- Causes a reallocation, making previous pointers invalid
line_bucket_ptr_queue.push(&line_buckets.back()); <-- priority queue compares against old, now invalid pointers
...
The proposed fix is to calculate the required number of entries in ConflictChecker::find_inter_of_lines_in_diff_objs, and then calling line_buckets.reserve(count). This ensures that sufficient buffer is allocated up front and the pointers are stable as items are added.
2024-05-06 14:38:59 +08:00
Bastien Nocera
8e647d701c
slic3r: Fix missing BOOST_LOG_TRIVIAL declaration
...
[427/494] Building CXX object src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/opencv4 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o -c /run/build/BambuStudio/src/slic3r/Utils/FontUtils.cpp
/run/build/BambuStudio/src/slic3r/Utils/FontUtils.cpp: In function ‘std::unique_ptr<Slic3r::FontFile> Slic3r::create_font_file(const char*)’:
/run/build/BambuStudio/src/slic3r/Utils/FontUtils.cpp:127:27: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
127 | BOOST_LOG_TRIVIAL(error) << "Couldn't open " << file_path << " for reading.";
| ^~~~~
| perror
[447/494] Building CXX object src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/TaskManager.cpp.o
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/TaskManager.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/opencv4 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/TaskManager.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/TaskManager.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/TaskManager.cpp.o -c /run/build/BambuStudio/src/slic3r/GUI/TaskManager.cpp
In file included from /run/build/BambuStudio/src/slic3r/GUI/TaskManager.cpp:1:
/run/build/BambuStudio/src/slic3r/GUI/TaskManager.hpp: In member function ‘void Slic3r::TaskStateInfo::set_state(Slic3r::TaskState)’:
/run/build/BambuStudio/src/slic3r/GUI/TaskManager.hpp:40:9: error: ‘BOOST_LOG_TRIVIAL’ was not declared in this scope
40 | BOOST_LOG_TRIVIAL(trace) << "TaskStateInfo set state = " << get_task_state_enum_str(ts);
| ^~~~~~~~~~~~~~~~~
2024-04-26 08:46:02 +08:00
Bastien Nocera
c417fb650f
slic3r: Fix wxFont being undefined
...
[427/494] Building CXX object src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/opencv4 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o -c /run/build/BambuStudio/src/slic3r/Utils/FontUtils.cpp
In file included from /run/build/BambuStudio/src/slic3r/Utils/FontUtils.cpp:1:
/run/build/BambuStudio/src/slic3r/Utils/FontUtils.hpp:51:21: error: ‘wxFont’ does not name a type
51 | bool can_load(const wxFont &font);
| ^~~~~~
2024-04-26 08:46:02 +08:00
tao wang
7c8aa16d17
ENH:Added two entrances for adding devices
...
jira:[multi device]
Change-Id: Ieb6197e067d422979606f93b22b337a2399aec74
2024-04-25 20:57:09 +08:00
tao wang
7bf39fbbf1
NEW:add multiple printer restrictions
...
jira:[for multiple]
Change-Id: I0bb5a0c1062a543c42f8d67a9347efa358b0864a
2024-04-25 20:57:09 +08:00
zhou.xu
3fa678d42e
FIX:cancel obj import restrictions
...
jira: none
Change-Id: Iaf3e799ca982ad6aeb3ec76e9a416c4c8e4d100c
2024-04-23 21:22:42 +08:00
zhou.xu
36b547cf2b
FIX:not init m_current_active_imgui_id in gizmo assembly
...
jira: none
Change-Id: I694f4fc54c2d6be7b4cc21265f00387d343dfb88
2024-04-23 20:07:49 +08:00
Arthur
0d57da5530
FIX: organic support may crash with some model
...
bad function call when calling empty function throw_on_cancel.
jira: STUDIO-6927
Change-Id: Ib37530b5cf155973d4e21d088e07d3110c2d36e4
(cherry picked from commit 53f27f5968a481bab1666fe0053f9753d585f0da)
2024-04-23 20:07:49 +08:00
tao wang
71bbb371ba
ENH:update wiki url for Pin Code
...
jira:[pin code]
Change-Id: I95faaa396a839b5b159119ef235b650c76706a84
2024-04-23 20:07:49 +08:00
qing.zhang
c5bc499f4e
ENH: translation
...
Jira: none
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: If86ef981837146f9a198abf1ff1833364ee6dc6f
2024-04-23 20:07:49 +08:00
zhou.xu
50ccc926f5
ENH: enhance render assembly combox
...
jira: none
Change-Id: I84d83a8baf639ae609247928c457d6363bb84dc3
2024-04-23 20:07:49 +08:00
zhou.xu
f525c6ae35
FIX: add filament should reset ComboBox
...
jira: STUDIO-6937
Change-Id: Ifabd27d1d74369245edbb47b095fcd448b6626fc
2024-04-23 20:07:49 +08:00
zhou.xu
a446c7aae6
ENH:translate texts
...
jira: none
Change-Id: Ibb105e95bef7afb8fb620617e0bf16704148a10c
2024-04-23 20:07:49 +08:00
tao wang
b4003f1632
ENH:Subscription list deduplication
...
jira:[for mulit]
Change-Id: I10e9d849986c9661b587c7b1a509180c2451816e
2024-04-23 20:07:49 +08:00
tao wang
c5c0fa3303
FIX:fixed backspace error on macos
...
Change-Id: I76066391783c04857c1a60a6f8438111501b6d7c
2024-04-23 20:07:49 +08:00
tao wang
924ba50bfc
ENH:Set the default nozzle diameter to 0.4
...
jira:[for nozzle]
Change-Id: I74a5c9b0460046496b897eae3d9f917ac1b99052
2024-04-23 20:07:49 +08:00
zhou.xu
b6154d4014
FIX:fix bugs of algo and read quad in obj file
...
Jira: STUDIO-6805
Change-Id: I6c33e8197225f27dccdfa0681e64d76d1df14f61
2024-04-23 20:07:49 +08:00
liz.li
037f31e12d
FIX: air printing and nozzle blob detection issue
...
jira: STUDIO-6897
Change-Id: I008ddb24b74119d7e4124ae26310b4b86c42a799
2024-04-23 20:07:49 +08:00
Kunlong Ma
89c72781f8
FIX: error code pop-up window without retry button in some code
...
JIRA: STUDIO-6922
Change-Id: I67464bebaba4558618301592c455db8824bbfe30
2024-04-23 20:07:49 +08:00
Kunlong Ma
2e1bf04f65
ENH: translation
...
JIRA: none
Change-Id: I916e574df4dee363eb9a15bc44ab682242f79dbd
2024-04-23 20:07:49 +08:00
zhou.xu
0db285a2f7
NEW:split measure function to measure and assembly function
...
Jira: none
Change-Id: Id88ed94251ee51b64e7a1574862b269a2ff6358b
2024-04-23 20:07:49 +08:00
Kunlong Ma
1b4380a43d
FIX: the bug of incorrect button without restarting
...
JIRA: STUDIO-6824
The bug can cause the user to not restart when opening the multi-device option, but the button of send multi-devices appears
Change-Id: I0837fa79ecc1d8ab5ce98273ad134fa2f830421e
2024-04-23 20:07:49 +08:00
zhou.xu
a8965f7dcd
FIX:use default_strategy after modifed cluster number
...
jira: STUDIO-6915
Change-Id: I4e0c3d62f5a766f73d48d1e06c4364fc6babe1ac
2024-04-23 20:07:49 +08:00
zhou.xu
21de7a9b22
FIX:change the strategy of merge_ka_kd
...
Upgrade ui, users can directly ok to proceed to the next step
jira: STUDIO-6805
Change-Id: Ia81019c2eacb503666680c0b8583d026baa0134c
(cherry picked from commit 38a2434753c8e3b422267283b16c75f6ad195b14)
2024-04-23 20:07:49 +08:00
zhou.xu
e3407b3c17
NEW:import vertex and mtl color from obj file
...
Jira: STUDIO-6805
Change-Id: Iaacb13ee2451effdb83e5aba4b7fe1637b7fc95f
2024-04-23 20:07:49 +08:00
Stone Li
db98556fe8
ENH: use designTitle when designId > 0
...
JIRA: STUDIO-6072
Change-Id: I8342df053edeab16f930522e099e2eef91e5c5a4
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-04-23 20:07:49 +08:00
Kunlong Ma
60077e83e6
FIX: Clicking to continue printing does not take effect in error code
...
JIRA: STUDIO-6830
Detected an incomplete printing task error pop-up when power outage occurred. Clicking to continue printing did not take effect
Change-Id: Ie85a1602093dabac861cd1f41ea21e1c312c83e9
2024-04-23 20:07:49 +08:00
Kunlong Ma
2ab668db50
ENH: local task sort by send time by default
...
JIRA: STUDIO-6885
Change-Id: I03b5881a39ab2e90c5b9cf46052ba465ee707ccc
2024-04-23 20:07:49 +08:00
Kunlong Ma
57a807d7fc
FIX: Fix some bugs in maintaining the selected status of local tasks
...
JIRA: STUDIO-6824
Change-Id: I12c4da3fc56ac5077b3ccd7e89a4b57c3675eaf5
2024-04-23 20:07:49 +08:00
Kunlong Ma
32276788c7
FIX: fix ui bug in send multi machine page for mac
...
JIRA: STUDIO-6882
Incorrect background color when renaming during multi machine printing
Change-Id: I6c551f5023ffe747e7a7e2f5703b0707c9505922
2024-04-23 20:07:49 +08:00
tao wang
ab44e643bb
ENH:Play video after redirecting to device page
...
jira:[STUDIO-6884]
Change-Id: Ia5e2ac84e3d71baacfcf941b782dab2325f35d54
2024-04-23 20:07:49 +08:00
tao wang
984f88979f
FIX:fixed the task of padding cannot be cancelled
...
Change-Id: I401a22118c14ca7601be7a925cfd8e4796dfc1e9
2024-04-23 20:07:49 +08:00
tao wang
15b3fb3a54
FIX:fixed can't popup pinbind win on macos
...
jira:[STUDIO-6895]
Change-Id: I664bba78cf27420d736b586df19e3c09c6f8ed21
2024-04-23 20:07:49 +08:00
tao wang
c1376b76cb
ENH:update pre print options
...
jira:[for multi]
Change-Id: I2e9bb8a09436a71749af98a0bad94e9922f95c81
2024-04-23 20:07:49 +08:00
liz.li
2d6a75f557
FIX: all plates stats data missing issue
...
jira: new
Change-Id: I137a2b6d69ad08791f5a9a9788653621960dc63f
2024-04-23 20:07:49 +08:00
zorro.zhang
62a0ad5234
FIX: Resume Get Makerlab function
...
JIRA: none
Change-Id: Ifcde937d7c9a192984ee884a6cf77c5b2fd6ea38
2024-04-23 20:07:49 +08:00
Stone Li
7104d2ff60
ENH: modify the default config for multi-device
...
JIRA: STUDIO-6072
Change-Id: If6e7582a8274eb5e685b8b8545f6eab5d17de3f5
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-04-23 20:07:49 +08:00
gerrit
0fa52a7322
ci: update network module based on commit c879144
...
Change-Id: Id6a7b76afeb5afffc6f154baa919985078098e09
(cherry picked from commit 0846c9417ead467083786cf3d06980f5a9747ae1)
2024-04-23 20:07:49 +08:00
jianjia.ma
6540855ff7
ENH: Improve CrossHatch transation layers
...
jira: 6701
Change name from Flippingline to CrossHatch.
Reduce noise, improve speed by 6.5%. Improve transation layers by
gradually increasing rotation angle and overshoot the transation
layer while direction changed.
Change-Id: I17fcc45b409074d121bf5bb5702e15553d925b51
2024-04-23 20:07:49 +08:00
zhimin.zeng
1bd02c6aa6
ENH: load more fonts
...
this feature is according to Prusa by Filip Sykala<filip.sykala@prusa3d.cz>, thanks to Filip Sykala
jira: none
Change-Id: I55e92f184f750c0b93b679d4382aaa5b164ec5c3
(cherry picked from commit d05522c4cc5d7ee4cac42de398b88d347a55f74b)
2024-04-23 20:07:49 +08:00
zhimin.zeng
b34cffa437
FIX: add more fonts
...
jira: none
Change-Id: I6bafed3563083858f29e92a3d84906a2e53dcb5c
(cherry picked from commit afbea693e807dcc1c406a59aa5376b9ea2a5d606)
2024-04-23 20:07:49 +08:00
tao wang
0c972155a6
ENH:add printable check for devices
...
Change-Id: I672988fa9cfa986d924bfc64331752f4aef68067
(cherry picked from commit 69de9e5b8334ec94eec7fcee31038b8ff42d1d3b)
2024-04-23 20:07:49 +08:00
tao wang
b424de749c
NEW:support pin code binding
...
Change-Id: Ida5d47881fbd83f3ffedc80369cfe377114d7f13
2024-04-23 20:07:49 +08:00
tao wang
1a7c32c984
FIX:fixed some multi job issue
...
Change-Id: I338078ad8fcf809888db9d8daeb470a9bf4eab46
2024-04-23 20:07:49 +08:00
Kunlong Ma
d7db83812f
NEW: support hms error code
...
Change-Id: Ic256a83cf501fb05bb9d3203f3d24cb1d1290fa4
2024-04-23 20:07:49 +08:00
Kunlong Ma
91ad448f00
FIX: fix Issues with sending multiple devices
...
JIRA: STUDIO-6876
Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I33c6a932863fc715c3f0eb5dfd4b299f980a4918
2024-04-23 20:07:49 +08:00
Kunlong Ma
a8e7c63113
ENH: refine ui for multi machine
...
JIRA: STUDIO-6819 STUDIO-6824
1. Shrink the Send Print dialog box
2. add input box for flipping panel
Change-Id: I4174c79ecd239c374ee11478951e12be399c57ce
2024-04-23 20:07:49 +08:00
xun.zhang
2ff0581cdd
ENH: add filament id in slice info
...
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ic5fe4632bca8acacc9ffd072ee2ed207c1da37aa
2024-04-23 20:07:49 +08:00
xun.zhang
3006b163d0
FIX: always have 0th filament in ams mapping
...
1. Only set the filament id in map when flush length is not 0
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I6e0aeaf010f6e6dcbdc3bca5c0034aa60750bb67
2024-04-23 20:07:49 +08:00
Stone Li
e4288407b9
NEW: support multi device
...
JIRA: STUDIO-6072
Change-Id: Ic514c4097767b0a728368c9ea48ee103c031fbb0
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-04-23 20:07:49 +08:00
xun.zhang
95106f3523
FIX: wrong chain sequence caused by narrow bridge
...
1.Add filtration for bridge area
github:#3873
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I03f7c1ef5bfb86aafdc15065008f0eedfb1a0036
2024-04-23 20:07:49 +08:00
zhimin.zeng
11b7796faf
FIX: the status is not correct when change nozzle
...
jira: none
Change-Id: I8bb99c260234f07b8ef5bdc389e15a455770130b
2024-04-23 20:07:49 +08:00
xun.zhang
cf146f4fed
FIX: can't use support filament in gcode.3mf
...
1. Add total_filament_volumes, directly access it to get used filaments
github:#3865
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I4fae4f1947b4ebd16e394e0f3cf5fb0e9f979717
2024-04-23 20:07:49 +08:00
lane.wei
37d49a4bf5
FIX: CLI: fix the crash issue caused by get_min_flush_volumes
...
JIRA: no jira
Change-Id: I0d5bfd605e51ebddac8fddc4d83dab5055b0fbf2
2024-04-23 20:07:49 +08:00
zhimin.zeng
ffd292a62c
FIX: Error "Voronoi cell doesn't contain a sourcepoint"
...
github: 3859
Change-Id: Idca84992bcba5380bfe05e63ac9a5e40419dcfdf
2024-04-23 20:07:49 +08:00
zhimin.zeng
8bdda5afb9
FIX: the error display when reset virtual slot
...
jira: none
Change-Id: I5ae5899baf1bfc2aaadb832083b277855a669fd5
2024-04-23 20:07:49 +08:00
jianjia.ma
427deda14e
FIX: Top surface bridging fail on 3DHC & FL infill
...
Add 45 degree angle offset when processing the bridge.
Need to raise infill_direction to invalidate posPrepareInfill
jira: 6774
Change-Id: I5e6bef3aa814b01c5f30398ac745937a67e3ef4c
(cherry picked from commit 7b12cab10b88f432a11414f8caa1c6427777a1ba)
2024-04-23 20:07:49 +08:00
liz.li
c5d9b3a3a7
ENH: add nozzle blob detection and air printing detection
...
jira: new
Change-Id: Ie4a19a7ad7d0b10a021c516cbc3a84b4ae734302
2024-04-23 20:07:49 +08:00
Arthur
cd9305e3e0
FIX: blockers not working for sharp tails of tree support
...
also change default style to tree organic
jira: STUDIO-6801
Change-Id: Iab1d8c6117139c9a7a4c1fa71de0a13bcb356dd5
(cherry picked from commit d2c4efad58f16b23bef49bd47d3b70bf322d6f55)
2024-04-23 20:07:49 +08:00
jianjia.ma
1389862ad8
NEW: FlipLines infill
...
jira:6701
New infill pattern that combine block lines infill and switching layers for smooth transition.
Change-Id: I2608a2d39b14efcdfe9d39a9437280da350b94c0
(cherry picked from commit 8d0a09c8b763dfc924cbba9913c241e6afadbc7f)
2024-04-23 20:07:49 +08:00
Kunlong Ma
1957f3ed1e
FIX: fix can't enter ',' in multiplicator
...
github: #3805
Change-Id: I6dd70822d1c2e79d66c70514d6dd580ab029c7ea
2024-04-23 20:07:49 +08:00
zhimin.zeng
01fb301f6c
FIX: fix some cali problem of P series
...
jira: none
Change-Id: Id57ea8d65da22ab653cca49509cb923ff065e43f
2024-04-23 20:07:49 +08:00
zhou.xu
558eb037d9
FIX: active_inst is -1 cause crashed by "return" button
...
jira: none
Change-Id: I3ce1725b671c3dc5e7321385010b219b3af99e6f
2024-04-23 20:07:49 +08:00
Arthur
a14a8d9c8f
FIX: auto-arranging incorrect with rotation enabled
...
auto-arranging incorrect with rotation enabled and the objects already have been rotated.
jira: STUDIO-6022
Change-Id: I349d663efb1fc71367c8a77aa8ed5047a0bf2017
(cherry picked from commit 75fe40257a274ed83886e1ee20ce8dedd0de48f6)
2024-04-23 20:07:49 +08:00
xun.zhang
0e1eafecbe
FIX: redo prepare_infill when change infill dir
...
As title
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I1f59ea5ab44835ea14e690d836e76b5c1ef7340e
2024-04-23 20:07:49 +08:00
Arthur
ea838d3cc1
FIX: auto-orient unstable due to numerical accuracy
...
jira: STUDIO-6464
Change-Id: I644bba2eea8cba6c73d2997c9399718b12eab9f2
(cherry picked from commit cccf57c75c3c348f918ededfbabb1eede5ac2ebd)
2024-04-10 20:03:44 +08:00
tao wang
d14f37b00f
NEW:Update data only on device pages
...
jira:[STUDIO-6776]
Change-Id: I33b0c9f35c1dc6df2db3b6bd4f446f46b31ecf6c
2024-04-10 20:03:44 +08:00
xun.zhang
7ee6e62ec4
FIX: unable to map if filament not used in model
...
1.Fix filament can not map if it's not used in model body
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ibd2685ffd198b2e17dbf44289d0144b5b7c25788
2024-04-10 20:03:44 +08:00
qing.zhang
b40cf28a83
FIX: seam and unretarct pos error on smooth vase
...
Jira: none
casused by invalid path of smooth vase mode
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ib597e8c05760886aae2c42e42e8d46e82b844578
2024-04-10 20:03:44 +08:00
zhou.xu
1804290caa
FIX:force_native_colol should be false in gizmo text
...
Jira: STUDIO-6778
Change-Id: Ib3b75ed3160f3ec41d3130cd37d14d77afc30f64
2024-04-10 20:03:44 +08:00
maosheng.wei
1938842ee2
ENH: When creating a custom Filament, use the system Filament type.
...
Jira: 6301
Change-Id: I1bfddcf43d2ebaebca4eb494d1f64165c3d59e9e
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2024-04-10 20:03:44 +08:00
maosheng.wei
c62d9b6674
FIX: fix not popping up a prompt when the temperature is set to 0
...
Jira: 6497
Change-Id: I6498fc6962e7da376d4c652dab0a99a161932eef
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2024-04-10 20:03:44 +08:00
andrewboktor
449cb0b27c
ENH: Full re-write of spiral vase
...
Github: 2744
* Practically full re-write of spiral vase
- Adds transition out to prevent sharp edge at the top of spiral vase.
- Adds XY interpolation
- Adds option to turn XY interpolation on/off
* - Increasing E to 5 decimal digits (I observed uneven flow with less than that)
- Excluding all travel moves (I saw a bug where somehow we ended up with travel moves within the print so excluding all travel moves)
* - max_xy_smoothing is now configurable, default is 200% of nozzle_diameter
- fixed no-op travel moves in the middle of spiral that now show up as defects when Smooth Spiral is enabled!
* - Avoiding namespace pollution
- Fixing dist_XY == 0 bug
---------
Co-authored-by: Andrew Boktor <aboktor@microsoft.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
Change-Id: I4e982b6192f730037ff497389454313af3905e82
2024-04-10 20:03:44 +08:00
qing.zhang
88db3a9124
FIX: has E0 on extrude cmd
...
Jira: 5789
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I866eb0f09053094cd2bd54902a06d8cac709a605
2024-04-10 20:03:44 +08:00
zhou.xu
78327146cc
FIX:clear clip position when exit paint gizmo
...
Jira: STUDIO-6748
Change-Id: I2995bb17fdfc26453d8235b4c01a78449b2a085e
2024-04-10 20:03:44 +08:00
Alex Boyd
5c6b8812a5
ENH: display filament labels in "change filament" context menus
2024-04-09 08:19:56 +08:00
tao wang
30ee6b0d31
ENH: remove long retraction warning
...
jira:NEW
Signed-off-by: tao wang <tao.wang@bambulab.com>
Change-Id: If60236b3282991a2d94df7d125427cff86899536
2024-04-08 21:16:06 +08:00
xun.zhang
385e7ffe3e
FIX: crash when change infill pattern
...
1. Fix crash when change infill pattern. Now change infill pattern will
influence prepare infill
2. Remove with loop param, no longer use now
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ibee8808e462bd418d83b7e5781dd2bc5cc772eb1
2024-04-08 19:50:03 +08:00
lane.wei
839db8ec94
ENH: sync the missed codes before
...
Change-Id: Idc79a0fe401f1c7fbf8825a28556286089b46d54
2024-04-08 19:50:03 +08:00
xun.zhang
e447ef5256
ENH: add tooltip for uncommon profiles
...
1. Add profile description for uncommon profiles
2. Add some translations
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ib1d40d0ffe55adde74e66d9e696861463429e49d
2024-04-08 19:50:03 +08:00
Stone Li
b364495e7e
FIX: fix hms display in tr language
...
JIRA: STUDIO-6743
1. fix display tr luanguage in home page
Change-Id: I672d46b1349078ab8e3fc59e124d2f583f09e8e9
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-04-08 19:50:03 +08:00
xun.zhang
609a133336
ENH: disable internal_bridge_support_thickness
...
1.In the new algorithm,we no longer use this param
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ie7660c0f9744cb1f33bce4fa1ccbfef06b3df712
2024-04-08 19:50:03 +08:00
xun.zhang
7116c5a7c5
ENH: add default params for long retraction
...
1. Only auto calculate flush when enabled
2. Add default params for long retraction
3. Disable filament override for unsupport machines
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ib5d51505b58101839527e944f9a237483951f9fe
2024-04-08 19:50:03 +08:00
xun.zhang
081ac40f38
ENH: readd ensure vertical thickness option
...
1.The new algorithm still generate unnessary infill some time.
So we readd the option
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I65fdd58e19db85582d89facb5038adf8e87f299a
2024-04-08 19:50:03 +08:00
jianjia.ma
712b724d2a
ENH: Add rotation support for 3D Honeycomb, improve stability
...
jira: 6701
Change-Id: I0552f7a7f59d1476f081044411557c96036a2c70
(cherry picked from commit 646fa84d42b926fe9e127a60da9c395baf39fac1)
2024-04-08 19:50:03 +08:00
zhimin.zeng
43f766a462
FIX: P1P/S can not modify the k value in old version
...
jira: 6745
Change-Id: I5c9dffe8e998213e6af6e1d01a6b0ae82521e8db
2024-04-08 19:50:03 +08:00
zhimin.zeng
300b3b77c1
FIX: do not need reset bed_type for pa calibration
...
jira: none
Change-Id: I411064cf14d94a9bd1f0f6668ee23aa10d372f3d
2024-04-08 19:50:03 +08:00
zhou.xu
d02f9561a8
FIX:not need deal SINKING logic in assembly view
...
jira: STUDIO-6730
Change-Id: Idca375293377ec219f79873d29e963b50cafa8df
2024-04-08 19:50:03 +08:00
enricoturri1966
c211a9c53a
FIX:rotate model volume use world coordinate system by default
...
jira:STUDIO-6730
most of code is from PrusaSlicer,thanks for PrusaSlicer and enricoturri1966
commit 7f6f5dab83db71d165959f48a27c952c258812fb
Author: enricoturri1966 <enricoturri@seznam.cz>
Date: Tue Oct 12 11:07:31 2021 +0200
Tech ENABLE_WORLD_COORDINATE - Gizmo rotate oriented in dependence of the selected coordinate system
Change-Id: Ia3691a848ef2c4dd4dde5d84289f482f8874956f
2024-04-08 19:50:03 +08:00
qing.zhang
60bc535e59
FIX: scarf angle only check seam point angle
...
Jira: 6681
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I2d7a3e76c2a307bef8d6816814e7fef4bb6909ff
2024-04-08 19:50:03 +08:00
xun.zhang
b0ed0c44ae
ENH: add wiki links
...
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I72409d6c6617772ab98826513533d3f5b5f02380
2024-04-08 19:50:03 +08:00
xun.zhang
3564daaef1
FIX: invalid support weight per extruder
...
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0e4b857c9c758ab7c54ef13aee1bf596f975640b
2024-04-08 19:50:03 +08:00
liz.li
7ec14b3f63
ENH: add support for gcodeviewer statistics
...
jira: new
Change-Id: Ied6d61e8c48ac82daf16579d9caed9723cf8e29d
2024-04-08 19:50:03 +08:00
XunZhangBambu
74702b2c6c
ENH: seperate support weight from model
...
jira:NEW
Signed-off-by: XunZhangBambu <xun.zhang@bambulab.com>
Change-Id: I86bb34941269bf1aa29436a94ebbdff675497e85
2024-04-08 19:50:03 +08:00
zhou.xu
469a431869
FIX:need update first.feature when at same model object
...
due to ensure on bed
Jira:STUDIO-6712
Change-Id: Ie3090444f430347ef8097f2026f41ef92c43bdff
2024-04-08 19:50:03 +08:00
Arthur
eb50f3ee58
FIX: auto arranging gets wrong object height
...
obj->bounding_box().size() is not the real object size if the object has been rotated.
jira: STUDIO-5999
Change-Id: I6553d4c990696efd674e3e57063802127d5d5282
(cherry picked from commit 479ea9fb02f55d24f27c94633f3d852bd5c62c83)
2024-04-08 19:50:03 +08:00
zhou.xu
5a63200c02
FIX:height range cut = volume_count * 2
...
Jira: none
Change-Id: I539c2f9cda7985b4b3c318ca8aa1eb7c52fdce82
2024-04-08 19:50:03 +08:00
zorro.zhang
c11d3c5110
FIX: Homepage bug when network disconnect
...
JIRA: none
Change-Id: I93bb0028332fb167bacabf9b5dc285c73e1870d8
2024-04-08 19:50:03 +08:00
zhou.xu
4cb8bac4e2
FIX:allow some case to modify distance
...
Code fallback:reload scene
in 3D view GLVolume::explosion_ratio = 1.0
hide "Edit to scale" icon
Jira:STUDIO-6727
Change-Id: Ib7079077f5b39930891869af618b93861f3aa178
2024-04-08 19:50:03 +08:00