Commit Graph

3668 Commits

Author SHA1 Message Date
chunmao.guo 860ea9b097 FIX: optimize batch update object list on macOS
Change-Id: I92e24cc53c0b3bf0658d15abc64292f0e17c0a82
Jira: STUDIO-5440 STUDIO-5515
2024-03-25 10:42:29 +08:00
chunmao.guo adfcddd329 FIX: show video size in stat
Change-Id: I29df549e5ed573bb7b9a96d9a0897f3ce96ec87f
Jira: none
(cherry picked from commit 4cf79f34ad8f16331c597ad49234e0401826c34a)
2024-03-25 10:42:29 +08:00
chunmao.guo 6a56c04e67 FIX: copy live555 dll
Change-Id: Idf727b8e26107e93aa9934299e87dc71531d1c63
Jira: STUDIO-4480
2024-03-25 10:42:29 +08:00
tao wang c91514f3e0 ENH:keep an unload logic
jira:[for unload]

Change-Id: Id30ec71ffa5b2dac89346ea47ca48a62479e3ab1
2024-03-25 10:42:29 +08:00
zhou.xu b6775abae6 NEW:remember custom color
Jira: STUDIO-5635
Change-Id: I439080f6a8ddb6fde3899cffbabc3b6e66afbd96
2024-03-25 10:42:29 +08:00
zhou.xu 473d675411 FIX:make sort_volumes right
Jira: STUDIO-5645
Change-Id: If324c9115bfaaf0c1b7b4be7c7ee96ba6b8ac890
2024-03-25 10:42:29 +08:00
chunmao.guo aaf09c00ee FIX: update model mall on switch env
Change-Id: I5a9a51fd1f400ed45cebce485c35b392aaea8a5e
Jira: STUDIO-5048
2024-03-25 10:42:29 +08:00
chunmao.guo e6fa314948 FIX: register bambusource dll path
Change-Id: Ic99750f667c58b3e531909c08d74c2b17e52d7ce
Github: 3171
2024-03-25 10:42:29 +08:00
chunmao.guo 930109877d ENH: show liveview stat
Change-Id: I70d1f458aa2ed379ad7fe07dee76fbe035316420
Jira: none
2024-03-25 10:42:29 +08:00
chunmao.guo 9319440d74 FIX: Prefer old selection when sync AMS not compatible
Change-Id: I6b18db51887132a997cf78d70fff9a92e23bc44a
Jira: STUDIO-5416
2024-03-25 10:42:29 +08:00
chunmao.guo 3527950e14 FIX: use t_utc for debug only
Change-Id: Ia05d8969d4de3dd38908980d6e17a3ebb11ca279
Github 3045

Change-Id: I77935df53bbf2772b1146e5c330c537165a3a2e6
2024-03-25 10:42:29 +08:00
chunmao.guo eaf5748742 FIX: set WEBKIT_DISABLE_COMPOSITING_MODE=1 for linux gtk
Change-Id: I8a500585ca815948bab1210578ba5c45858ed78e
Jira: STUDIO-5199
2024-03-25 10:42:29 +08:00
chunmao.guo 818416d081 FIX: SwitchButton auto scale font
Change-Id: If4004c0963cc8bb2f41e8e71c304d5239bf252ab
Jira: STUDIO-4969 STUDIO-4921
2024-03-25 10:42:29 +08:00
chunmao.guo 2564c51b36 ENH: support turn off liveview auto retry
Change-Id: I24b39f74e0a40a13277d6eae3830c95c5c9de333
Jira: none
(cherry picked from commit f6ceb3fb8e4df3f876c50a1c4ba96b4a1be60190)
2024-03-25 10:42:29 +08:00
chunmao.guo cc7ef50bd0 FIX: sync whole preset vendor directory
Change-Id: I191dbe979a87ff35d38cab1149b7975664344838
Jira: STUDIO-5534
2024-03-25 10:42:29 +08:00
zorro.zhang da89b56129 NEW: Load Printer-Image First System Second Profiles
JIRA None

Change-Id: I183a5e4ed3e8e8ba6b3d8d7cde378e2ae853a5fb
(cherry picked from commit b1ea8183c67644e3a6421ad5dc634907a93c8f33)
2024-03-25 10:42:29 +08:00
chunmao.guo a9227daca1 FIX: MediaFilePanel error state
Change-Id: I318ef59fb97478ffee16dff594022b2b9029964a
Jira: STUDIO-5638
2024-03-25 10:42:29 +08:00
maosheng.wei dc47541220 FIX: add log for base_id and filament_id
github: #3087

Change-Id: Iebfbd0f224fce49f33fc81c71e6108f6e3abb5ff
2024-03-25 10:42:29 +08:00
maosheng.wei eddfd4b7b9 FIX: add dialog of 3mf version newer cloud version
Jira: XXXX

Change-Id: Ia903e58fd37191b957196da5a84de920ac975b07
2024-03-25 10:42:29 +08:00
tao wang 87ff0b8da8 ENH:calibration support p1p plus
jira:[plus]

Change-Id: Ia290d3a8a8b9adaac7a6ee26d9a8b5ea0c1b3aee
2024-03-25 10:42:29 +08:00
lane.wei 4579623c18 ENH: CLI: add mk information support
JIRA: no jira
Change-Id: Idd89b143d439de50d9f52eb8aec95b262d66875d
2024-03-25 10:42:29 +08:00
tao wang 77339ffa1c ENH:update support for P1S plus
jira:[for p1s plus]

Change-Id: Id577d4e94e2162cb0045d261dfaa5f396ecded2f
2024-03-25 10:42:29 +08:00
Arthur e98caffab1 FIX: auto arranging skip unprintable high items
Jira: STUDIO-5646
Change-Id: I72dc3d8c71a075bab8204f4418e869a7a34c0c8e
(cherry picked from commit 0afdf8361493485da2254c426719594fd9a982ed)
2024-03-25 10:42:29 +08:00
liz.li d58baba184 FIX: duplicated items in comboBox at calibration completed page
jira: new

Change-Id: I4749a2206df16c438e0d3098e36274b2a20f313e
2024-03-25 10:42:29 +08:00
liz.li 8c1ee6643f FIX: cali: custom created filament from AMS displayed as incompatible
jira: new

remove the condition: is_system

Change-Id: Ib1366966bbdbe01bc9e2483d9914d270ebefa976
2024-03-25 10:42:29 +08:00
chunmao.guo e9c4e8fec9 FIX: File panel crash on scroll
Change-Id: I56833a376fa52c960efea5fbd60003367ba410c2
Jira: STUDIO-5337, STUDIO-5513
2024-03-25 10:42:29 +08:00
wenjie.guo f2b8d78230 FIX: remember the flow ratio calibration type
Jira: STUDIO-5181
Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: Id6125d1d4ea58972ce55c2c2498259596b25111e
(cherry picked from commit 1af1038fd4824d989e992cb630cf34e00c787af7)
2024-03-25 10:42:29 +08:00
wenjie.guo 57a9e676a4 NEW: display bitmap when calibrating
Jira: STUDIO-4661

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I60cf4f9769feca74699012418880e93fcfe34432
(cherry picked from commit 1213aea816694405311dc0c1061655a4c2a1d067)
2024-03-25 10:42:29 +08:00
wenjie.guo c9ac1cc04f FIX: Temperature warning is not fully displayed
Jira: STUDIO-5038

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I460cbe2a5d0a092c4257b7bd5192058bf2e4707b
2024-03-25 10:42:29 +08:00
wenjie.guo f97e8e449e FIX: values are not saved when clicking on an empty space
Jira: STUDIO-4637

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I837050029635f673b3ae671ea1ad049aaf4fdd16
2024-03-25 10:42:29 +08:00
wenjie.guo 5fa9e9fc6b FIX: Groove text ctrl is not wide engough
Jira: STUDIO-5434

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I93c0995473a72b5c19bc413c38c090906e360455
(cherry picked from commit e4a8b0ef5e62ba0053dc782c30ea79b237a46ac3)
2024-03-25 10:42:29 +08:00
wenjie.guo 5fc7dc26fe FIX: White circle is not clear on auto refill page
Jira: STUDIO-3262

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I05ac6257638063d32a9943c09bb7c14cc9229b3a
2024-03-25 10:42:29 +08:00
wenjie.guo 67205a0eee FIX: The warning box still exits when the temperature has reset.
Jira: STUDIO-5562

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I7532db69880449eb3fa0a14fc4dfc61e7f6d518e
(cherry picked from commit 589ed5fe045b5e7ec3effe437c9685085960c0fc)
2024-03-25 10:42:29 +08:00
wenjie.guo d15f49a7c0 FIX: file name is not fully displayed if it is too long
Jira: STUDIO-5230
Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I992fa0c0575afbd2eecb2af02c8a305eda028f7f
(cherry picked from commit d0d7fb0b1394429ee9d28d8ef4060a286ba0112d)
2024-03-25 10:42:29 +08:00
wenjie.guo 70fbd02c53 FIX: AMS info is not fully displayed with Ukraine
Jira: STUDIO-4970

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I6189fa651e9b5612c24abd6e52fa903629abcb5c
2024-03-25 10:42:29 +08:00
wenjie.guo a961e49cd6 FIX: & is not displayed on the sending print page
Jira: STUDIO-5343

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I1736bb97433581ff117bfe09afe8ee70c1b08fc4
2024-03-25 10:42:29 +08:00
zhou.xu 5488b92c2d FIX:Compressing textures causes black when switching textures
cancel compress function
Jira: STUDIO-4629

Change-Id: I184522b2a7cbf409c96f7cb2561141368657c345
2024-03-25 10:42:29 +08:00
zhou.xu 7faa61c5dd FIX:frequent calls to _update_imgui_select_plate_toolbar
Jira: STUDIO-5488
Change-Id: I12e6f37c2fe94de004aa6da43421970d6df10f0f
2024-03-25 10:42:29 +08:00
zhou.xu 1be42a1646 ENH:when plate name has illegal filename character,it is invalid
Jira: STUDIO-5493
Change-Id: I8f8ba95a21bb35e0661f566d4a328fb9f076dec7
2024-03-25 10:42:29 +08:00
zhou.xu fd4c025134 FIX:Repair calculation process of plate_box
Jira: STUDIO-5520
Change-Id: I4c3f9597542ad2dfec4d7849e75fa28272fa4ea3
2024-03-25 10:42:29 +08:00
Arthur 3401ba89db FIX: temperature symbols not shown correctly
Need to use wxString::FromUTF8 to convert unicode symbols to wxString.

jira: none

Change-Id: Ia8b559d437c956a2cc28916d8963823356402d05
2024-03-25 10:42:29 +08:00
Arthur 4a9b31ed77 ENH: remove unnecessary translation labels
Principles of removal:
1. Don't translate common symbols such as mm/s, °C, etc.,
they are the same in most languages.
2. Don't translate professional terminology, such as CoreXY,
   I3, PLA, TPU, HMS, etc.
3. Don't use unicode codes, use symbols instead. Eg. \u2103 -> °C.
   Dont' worry, gettext and modern compilers can recognize them.
4. Fix some encoding warnings (don't use GB2312, use UTF-8 instead).

jira: none

Change-Id: Ifa847d4f32a6f8dcba660ae2026ad09fc914c7fb
2024-03-25 10:42:29 +08:00
Arthur f6ea300aa0 FIX: global arrange setting is wrong
global arrange setting is wrong if a plate's setting is changed from object list

jira: STUDIO-5438
Change-Id: Iaa7f35837edbacff9b97ca17a8ab34c8e6bb023d
(cherry picked from commit fa2f56575b2e4305e35dd59ff55e0881720de025)
2024-03-25 10:42:29 +08:00
Arthur da1b9bd747 FIX: do not touch the plate with different printing sequence
jira: STUDIO-5424
Change-Id: I8ad00fa991b753de126a5bef0d320c452033e2e7
(cherry picked from commit c4adfe16e285f238f2c5cd8938b2167fdfb6b1b0)
2024-03-25 10:42:29 +08:00
lane.wei 9b47f26f20 FIX: fix the compiling error under macos for previous patches
/Users/ci.slave/slicer/patch_build/1/bamboo_slicer/src/libslic3r/GCode/GCodeProcessor.cpp:486:33: error: cannot pass non-trivial object of type 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char>>') to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
                                  get_time_dhms(machine.time));
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~

github pull request: https://github.com/bambulab/BambuStudio/pull/3360
Change-Id: If13ee145b20ef9532b23a58bb3b0a29f30d8c0a8

Change-Id: I98fd87417c432c3afae67a3d2bc29c79f8bffa3c
2024-01-19 18:17:39 +08:00
Dmytro Chystiakov 10e53651b3 fix: lower case of function name call 2024-01-17 17:08:15 +08:00
Dmytro Chystiakov f0831aebcf fix: 'print' was not declared in this scope 2024-01-17 17:08:15 +08:00
Dmytro Chystiakov 5e0e675f7d add: support gcode estimated printing time for klipper 2024-01-17 17:08:15 +08:00
Bastien Nocera 62006bba30 unix: Fix "Open in BambuStudio" button on MakerWorld
Make the "Open in BambuStudio" button on MakerWorld works by informing
the system that BambuStudio is the application to handle URLs with the
bambustudio scheme, and that it can handle URLs, not just local files.

This fixes this error message visible in Firefox' console when clicking
the button on the website:
Prevented navigation to “bambustudio://open?file=https%3A%2F%2Fmakerworld.bblmw.com[...]bambu_scraper_grip_ams.3mf” due to an unknown protocol.
2024-01-15 21:33:23 +08:00
LiZ-Li-BBL 4d15a586b4
Merge pull request #3271 from lllucius/master
Fix garbled text when display scalling > 300%
2024-01-08 12:13:33 +08:00
Gregor Riepl c161cda0d7 FIX: Fix build error with wxWidgets 3.2.4
Make initializers explicit to avoid ambiguous wxArrayString overloads.

src/slic3r/GUI/PhysicalPrinterDialog.cpp: In member function ‘void Slic3r::GUI::PhysicalPrinterDialog::build_printhost_settings(Slic3r::GUI::ConfigOptionsGroup*)’:
src/slic3r/GUI/PhysicalPrinterDialog.cpp:332: error: call of overloaded ‘set_values(<brace-enclosed initializer list>)’ is ambiguous
  332 |         choice->set_values({ m_config->opt_string("printhost_port") });
      |

See https://github.com/prusa3d/PrusaSlicer/pull/11769
2024-01-08 08:39:03 +08:00
Leland Lucius 2b6800b026 Only use modified scaling on Windows
And only if the system's scaling factor is greater than 300%.
2024-01-05 22:36:18 -06:00
Bastien Nocera f96b6cd433 Fix system() declaration
[380/471] Building CXX object src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/HttpServer.cpp.o
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/HttpServer.cpp.o
/run/ccache/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_FILE_OFFSET_BITS=64 -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/run/build/BambuStudio/deps/build/destdir/usr/local/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/sysprof-6 -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/include/fribidi -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -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 /run/build/BambuStudio/deps/build/destdir/usr/local/lib/wx/include/gtk3-unicode-static-3.2 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/wx-3.2 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -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/HttpServer.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/HttpServer.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/HttpServer.cpp.o -c /run/build/BambuStudio/src/slic3r/GUI/HttpServer.cpp
In file included from /run/build/BambuStudio/deps/build/destdir/usr/local/include/wx-3.2/wx/string.h:36,
                 from /run/build/BambuStudio/src/slic3r/GUI/ImGuiWrapper.hpp:9,
                 from /run/build/BambuStudio/src/slic3r/GUI/GUI_App.hpp:6,
                 from /run/build/BambuStudio/src/slic3r/GUI/HttpServer.cpp:4:
/run/build/BambuStudio/deps/build/destdir/usr/local/include/wx-3.2/wx/wxcrt.h: In function ‘int wxSystem(const wxString&)’:
/run/build/BambuStudio/deps/build/destdir/usr/local/include/wx-3.2/wx/wxcrt.h:1037:51: error: reference to ‘system’ is ambiguous
 1037 | inline int wxSystem(const wxString& str) { return wxCRT_SystemA(str.mb_str()); }
      |                                                   ^~~~~~~~~~~~~
In file included from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/system/detail/error_code.hpp:13,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/system/error_code.hpp:13,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/beast/core/error.hpp:14,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/beast/core/detail/bind_handler.hpp:13,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/beast/core/bind_handler.hpp:14,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/beast/core/async_base.hpp:14,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/beast/core.hpp:15,
                 from /run/build/BambuStudio/src/slic3r/GUI/HttpServer.hpp:8,
                 from /run/build/BambuStudio/src/slic3r/GUI/HttpServer.cpp:2:
/run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/system/is_error_code_enum.hpp:16:11: note: candidates are: ‘namespace boost::system { }’
   16 | namespace system
      |           ^~~~~~
In file included from /usr/include/c++/13.2.0/cstdlib:79,
                 from /run/build/BambuStudio/src/slic3r/GUI/HttpServer.cpp:1:
/usr/include/stdlib.h:923:12: note:                 ‘int system(const char*)’
  923 | extern int system (const char *__command) __wur;
      |            ^~~~~~
2024-01-02 17:42:37 +08:00
Bastien Nocera 79291b89cd Fix ModelObject declaration
Forward declare ModelObject in bbs_3mf.hpp so this header can be
included in ModelObject.hpp where the class is actually defined,
the same way bbs_3mf.hpp also forward declares "class Model" and
others.

[274/471] Building CXX object src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Printer/PrinterFileSystem.cpp.o
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Printer/PrinterFileSystem.cpp.o
/run/ccache/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_FILE_OFFSET_BITS=64 -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/run/build/BambuStudio/deps/build/destdir/usr/local/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/sysprof-6 -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/include/fribidi -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -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 /run/build/BambuStudio/deps/build/destdir/usr/local/lib/wx/include/gtk3-unicode-static-3.2 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/wx-3.2 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -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/Printer/PrinterFileSystem.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Printer/PrinterFileSystem.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Printer/PrinterFileSystem.cpp.o -c /run/build/BambuStudio/src/slic3r/GUI/Printer/PrinterFileSystem.cpp
In file included from /run/build/BambuStudio/src/slic3r/GUI/Printer/PrinterFileSystem.cpp:3:
/run/build/BambuStudio/src/libslic3r/Format/bbs_3mf.hpp:264:13: error: variable or field ‘save_object_mesh’ declared void
  264 | extern void save_object_mesh(ModelObject& object);
      |             ^~~~~~~~~~~~~~~~
/run/build/BambuStudio/src/libslic3r/Format/bbs_3mf.hpp:264:30: error: ‘ModelObject’ was not declared in this scope
  264 | extern void save_object_mesh(ModelObject& object);
      |                              ^~~~~~~~~~~
/run/build/BambuStudio/src/libslic3r/Format/bbs_3mf.hpp:264:43: error: ‘object’ was not declared in this scope; did you mean ‘nlohmann::detail::value_t::object’?
  264 | extern void save_object_mesh(ModelObject& object);
      |                                           ^~~~~~

Closes: #3141
2024-01-02 17:42:37 +08:00
Bastien Nocera d310e4ca34 slic3r: Fix missing includes
Fix a lot of "undeclared" errors during compilation on top of the
current GNOME 45 Flatpak SDK.
2024-01-02 17:42:37 +08:00
Bastien Nocera 4c836314a6 libslic3r: Fix Slic3r::format declaration 2024-01-02 17:42:37 +08:00
Bastien Nocera f54fb4a1cf libslic3r: Fix missing includes
Fix a lot of "undeclared" errors during compilation on top of the
current GNOME 45 Flatpak SDK.
2024-01-02 17:42:37 +08:00
Leland Lucius a77847c2ad Fix garbled text when display scalling > 300%
On Windows, if your display scaling is greater than 300%,
the text rendered by imgui will be garbled. Allowing imgui
to do the scaling instead of making the font to large
corrects the issue.
2023-12-31 18:48:45 -06:00
Ricky M 7ce38201c8 Update PrintConfig.cpp to fix typo 2023-12-21 11:14:50 +08:00
Dmytro Chystiakov d12181bf3d fix: macos icns issue when icon was not attached 2023-12-18 07:59:43 +08:00
Bastien Nocera 9445cc83e1 Fix tbb declaration
[114/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o -c /run/build/BambuStudio/src/libslic3r/Format/STEP.cpp
/run/build/BambuStudio/src/libslic3r/Format/STEP.cpp: In function ‘bool Slic3r::load_step(const char*, Model*, bool&, ImportStepProgressFn, StepIsUtf8Fn)’:
/run/build/BambuStudio/src/libslic3r/Format/STEP.cpp:269:5: error: ‘tbb’ has not been declared
  269 |     tbb::parallel_for(tbb::blocked_range<size_t>(0, namedSolids.size()), [&](const tbb::blocked_range<size_t> &range) {
      |     ^~~
/run/build/BambuStudio/src/libslic3r/Format/STEP.cpp:269:23: error: ‘tbb’ has not been declared
  269 |     tbb::parallel_for(tbb::blocked_range<size_t>(0, namedSolids.size()), [&](const tbb::blocked_range<size_t> &range) {
      |                       ^~~
2023-12-15 09:58:21 +08:00
Bastien Nocera 97355ed49d Fix std::setw and std::setfill declarations
[128/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/GCode/ConflictChecker.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/GCode/ConflictChecker.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/GCode/ConflictChecker.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/GCode/ConflictChecker.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/GCode/ConflictChecker.cpp.o -c /run/build/BambuStudio/src/libslic3r/GCode/ConflictChecker.cpp
In file included from /run/build/BambuStudio/src/libslic3r/GCode/ConflictChecker.hpp:4,
                 from /run/build/BambuStudio/src/libslic3r/GCode/ConflictChecker.cpp:1:
/run/build/BambuStudio/src/libslic3r/GCode/../Utils.hpp: In function ‘std::string Slic3r::convert_to_full_version(std::string)’:
/run/build/BambuStudio/src/libslic3r/GCode/../Utils.hpp:110:24: error: ‘setw’ is not a member of ‘std’
  110 |             ss << std::setw(2) << std::setfill('0') << items[i];
      |                        ^~~~
/run/build/BambuStudio/src/libslic3r/GCode/../Utils.hpp:15:1: note: ‘std::setw’ is defined in header ‘<iomanip>’; did you forget to ‘#include <iomanip>’?
   14 | #include "libslic3r.h"
  +++ |+#include <iomanip>
   15 |
/run/build/BambuStudio/src/libslic3r/GCode/../Utils.hpp:110:40: error: ‘setfill’ is not a member of ‘std’
  110 |             ss << std::setw(2) << std::setfill('0') << items[i];
      |                                        ^~~~~~~
/run/build/BambuStudio/src/libslic3r/GCode/../Utils.hpp:110:40: note: ‘std::setfill’ is defined in header ‘<iomanip>’; did you forget to ‘#include <iomanip>’?
2023-12-15 09:58:21 +08:00
Bastien Nocera 5e1ee1d2a1 Fix boost::nowide::remove declaration
[111/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o -c /run/build/BambuStudio/src/libslic3r/Format/STEP.cpp
/run/build/BambuStudio/src/libslic3r/Format/STEP.cpp: In member function ‘bool Slic3r::StepPreProcessor::preprocess(const char*, std::string&)’:
/run/build/BambuStudio/src/libslic3r/Format/STEP.cpp:49:20: error: ‘remove’ is not a member of ‘boost::nowide’
   49 |     boost::nowide::remove(temp_step_path.c_str());
      |                    ^~~~~~
2023-12-15 09:58:21 +08:00
Bastien Nocera 5094b5a1cd Fix tbb::parallel_for and tbb::blocked_range declaration
[115/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/Format/bbs_3mf.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/Format/bbs_3mf.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/Format/bbs_3mf.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/Format/bbs_3mf.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/Format/bbs_3mf.cpp.o -c /run/build/BambuStudio/src/libslic3r/Format/bbs_3mf.cpp
/run/build/BambuStudio/src/libslic3r/Format/bbs_3mf.cpp: In member function ‘bool Slic3r::_BBS_3MF_Importer::_load_model_from_file(std::string, Slic3r::Model&, Slic3r::PlateDataPtrs&, std::vector<Slic3r::Preset*>&, Slic3r::DynamicPrintConfig&, Slic3r::ConfigSubstitutionContext&, Slic3r::Import3mfProgressFn, Slic3r::BBLProject*, int)’:
/run/build/BambuStudio/src/libslic3r/Format/bbs_3mf.cpp:1594:18: error: ‘parallel_for’ is not a member of ‘tbb’
 1594 |             tbb::parallel_for(
      |                  ^~~~~~~~~~~~
/run/build/BambuStudio/src/libslic3r/Format/bbs_3mf.cpp:1595:22: error: ‘blocked_range’ is not a member of ‘tbb’
 1595 |                 tbb::blocked_range<size_t>(0, m_object_importers.size()),
      |                      ^~~~~~~~~~~~~
2023-12-15 09:58:21 +08:00
Bastien Nocera 0930aa76c7 Fix Slic3r::BoundingBox declaration
[120/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/GCode/RetractWhenCrossingPerimeters.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/GCode/RetractWhenCrossingPerimeters.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/GCode/RetractWhenCrossingPerimeters.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/GCode/RetractWhenCrossingPerimeters.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/GCode/RetractWhenCrossingPerimeters.cpp.o -c /run/build/BambuStudio/src/libslic3r/GCode/RetractWhenCrossingPerimeters.cpp
In file included from /run/build/BambuStudio/src/libslic3r/GCode/RetractWhenCrossingPerimeters.cpp:2:
/run/build/BambuStudio/src/libslic3r/GCode/../Layer.hpp:153:29: error: field ‘loverhangs_bbox’ has incomplete type ‘Slic3r::BoundingBox’
  153 |     BoundingBox             loverhangs_bbox;
      |                             ^~~~~~~~~~~~~~~
In file included from /run/build/BambuStudio/src/libslic3r/GCode/../ExPolygon.hpp:4,
                 from /run/build/BambuStudio/src/libslic3r/GCode/../ClipperUtils.hpp:7,
                 from /run/build/BambuStudio/src/libslic3r/GCode/RetractWhenCrossingPerimeters.cpp:1:
/run/build/BambuStudio/src/libslic3r/GCode/../Point.hpp:17:7: note: forward declaration of ‘class Slic3r::BoundingBox’
   17 | class BoundingBox;
      |       ^~~~~~~~~~~
2023-12-15 09:58:21 +08:00
Bastien Nocera 29976649a1 Fix missing boost::nowide::ifstream declaration
119/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/Format/STEP.cpp.o -c /run/build/BambuStudio/src/libslic3r/Format/STEP.cpp
/run/build/BambuStudio/src/libslic3r/Format/STEP.cpp: In member function ‘bool Slic3r::StepPreProcessor::preprocess(const char*, std::string&)’:
/run/build/BambuStudio/src/libslic3r/Format/STEP.cpp:39:12: error: ‘boost::nowide’ has not been declared
   39 |     boost::nowide::ifstream infile(path);
      |            ^~~~~~
2023-12-15 09:58:21 +08:00
Bastien Nocera 9fa36e13a1 Fix missing boost::lexical_cast declaration
[113/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/Format/bbs_3mf.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/Format/bbs_3mf.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/Format/bbs_3mf.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/Format/bbs_3mf.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/Format/bbs_3mf.cpp.o -c /run/build/BambuStudio/src/libslic3r/Format/bbs_3mf.cpp
/run/build/BambuStudio/src/libslic3r/Format/bbs_3mf.cpp: In member function ‘bool Slic3r::_BBS_3MF_Importer::load_model_from_file(const std::string&, Slic3r::Model&, Slic3r::PlateDataPtrs&, std::vector<Slic3r::Preset*>&, Slic3r::DynamicPrintConfig&, Slic3r::ConfigSubstitutionContext&, Slic3r::LoadStrategy, bool&, Slic3r::Semver&, Slic3r::Import3mfProgressFn, Slic3r::BBLProject*, int)’:
/run/build/BambuStudio/src/libslic3r/Format/bbs_3mf.cpp:1241:24: error: ‘lexical_cast’ is not a member of ‘boost’
 1241 |                 boost::lexical_cast<std::string>(get_current_pid()));
      |                        ^~~~~~~~~~~~
2023-12-15 09:58:21 +08:00
Bastien Nocera 90ca0cf2e1 Fix missing std::regex declaration
[83/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/Config.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/Config.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer  -std=gnu++11 -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/Config.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/Config.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/Config.cpp.o -c /run/build/BambuStudio/src/libslic3r/Config.cpp
/run/build/BambuStudio/src/libslic3r/Config.cpp: In static member function ‘static size_t Slic3r::ConfigBase::load_from_gcode_string_legacy(Slic3r::ConfigBase&, const char*, Slic3r::ConfigSubstitutionContext&)’:
/run/build/BambuStudio/src/libslic3r/Config.cpp:1100:10: error: ‘regex’ is not a member of ‘std’
 1100 |     std::regex match_pattern("\nN[0-9]* *");
      |          ^~~~~
2023-12-15 09:58:21 +08:00
Bastien Nocera 1d3c90d9c9 Fix std::unordered_set declaration
[79/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/FaceDetector.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/FaceDetector.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer  -std=gnu++11 -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/FaceDetector.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/FaceDetector.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/FaceDetector.cpp.o -c /run/build/BambuStudio/src/libslic3r/FaceDetector.cpp
/run/build/BambuStudio/src/libslic3r/FaceDetector.cpp:33:10: error: ‘unordered_set’ is not a member of ‘std’
   33 |     std::unordered_set<size_t> hit_face_indices;
      |          ^~~~~~~~~~~~~
/run/build/BambuStudio/src/libslic3r/FaceDetector.cpp:5:1: note: ‘std::unordered_set’ is defined in header ‘<unordered_set>’; did you forget to ‘#include <unordered_set>’?
    4 | #include "Model.hpp"
  +++ |+#include <unordered_set>
    5 |
2023-12-15 09:58:21 +08:00
Bastien Nocera ccdd23443f Fix ‘base_class’ is not a member of ‘cereal’ error
[72/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/FaceDetector.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/FaceDetector.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer  -std=gnu++11 -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/FaceDetector.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/FaceDetector.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/FaceDetector.cpp.o -c /run/build/BambuStudio/src/libslic3r/FaceDetector.cpp
In file included from /run/build/BambuStudio/src/libslic3r/Model.hpp:7,
                 from /run/build/BambuStudio/src/libslic3r/FaceDetector.cpp:4:
/run/build/BambuStudio/src/libslic3r/ObjectID.hpp: In member function ‘void Slic3r::CutObjectBase::serialize(Archive&)’:
/run/build/BambuStudio/src/libslic3r/ObjectID.hpp:187:20: error: ‘base_class’ is not a member of ‘cereal’
  187 |         ar(cereal::base_class<ObjectBase>(this));
      |                    ^~~~~~~~~~
2023-12-15 09:58:21 +08:00
Bastien Nocera 66e1c8c65f Fix its_make_cube() not declared in scope
[80/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/BuildVolume.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/BuildVolume.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/BuildVolume.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/BuildVolume.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/BuildVolume.cpp.o -c /run/build/BambuStudio/src/libslic3r/BuildVolume.cpp
/run/build/BambuStudio/src/libslic3r/BuildVolume.cpp: In member function ‘indexed_triangle_set Slic3r::BuildVolume::bounding_mesh(bool) const’:
/run/build/BambuStudio/src/libslic3r/BuildVolume.cpp:426:16: error: ‘its_make_cube’ was not declared in this scope
  426 |         return its_make_cube(scale_(max_pt3.x()), scale_(max_pt3.y()), scale_(max_pt3.z()));
      |                ^~~~~~~~~~~~~
/run/build/BambuStudio/src/libslic3r/BuildVolume.cpp:429:16: error: ‘its_make_cube’ was not declared in this scope
  429 |         return its_make_cube(max_pt3.x(), max_pt3.y(), max_pt3.z());
      |                ^~~~~~~~~~~~~
2023-12-15 09:58:21 +08:00
Bastien Nocera 8e6e68de3f Fix missing BOOST_LOG_TRIVIAL declaration
/run/build/BambuStudio/src/libslic3r/Brim.cpp: In function ‘void Slic3r::make_brim(const Print&, PrintTryCancel, Polygons&, std::map<ObjectID, ExtrusionEntityCollection>&, std::map<ObjectID, ExtrusionEntityCollection>&, std::vector<std::pair<ObjectID, unsigned int> >&, std::vector<unsigned int>&)’:
/run/build/BambuStudio/src/libslic3r/Brim.cpp:1656:23: error: ‘debug’ was not declared in this scope
 1656 |     BOOST_LOG_TRIVIAL(debug) << "brim_width_max, num_loops: " << brim_width_max << ", " << num_loops;
      |                       ^~~~~
/run/build/BambuStudio/src/libslic3r/Brim.cpp:1656:5: error: ‘BOOST_LOG_TRIVIAL’ was not declared in this scope
 1656 |     BOOST_LOG_TRIVIAL(debug) << "brim_width_max, num_loops: " << brim_width_max << ", " << num_loops;
      |     ^~~~~~~~~~~~~~~~~
/run/build/BambuStudio/src/libslic3r/Brim.cpp: In function ‘Slic3r::ExtrusionEntityCollection Slic3r::make_brim(const Print&, PrintTryCancel, Polygons&)’:
/run/build/BambuStudio/src/libslic3r/Brim.cpp:1675:23: error: ‘debug’ was not declared in this scope
 1675 |     BOOST_LOG_TRIVIAL(debug) << "brim_width_max, num_loops: " << brim_width_max << ", " << num_loops;
      |                       ^~~~~
/run/build/BambuStudio/src/libslic3r/Brim.cpp:1675:5: error: ‘BOOST_LOG_TRIVIAL’ was not declared in this scope
 1675 |     BOOST_LOG_TRIVIAL(debug) << "brim_width_max, num_loops: " << brim_width_max << ", " << num_loops;
      |     ^~~~~~~~~~~~~~~~~
2023-12-15 09:58:21 +08:00
Bastien Nocera 11953924ea Fix std::mutex declaration
/run/build/BambuStudio/src/libslic3r/Preset.hpp:772:10: error: ‘mutex’ in namespace ‘std’ does not name a type
  772 |     std::mutex          m_mutex;
      |          ^~~~~
/run/build/BambuStudio/src/libslic3r/Preset.hpp:14:1: note: ‘std::mutex’ is defined in header ‘<mutex>’; did you forget to ‘#include <mutex>’?
   13 | #include "ProjectTask.hpp"
  +++ |+#include <mutex>
   14 |
2023-12-15 09:58:21 +08:00
Bastien Nocera e88948a684 Fix Slic3r::Polyline and Slic3r::MultiPoint declarations
[61/471] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/ArcFitter.cpp.o
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/ArcFitter.cpp.o
/run/ccache/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 -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -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/libslic3r -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 -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -fext-numeric-literals -Wall -Wno-reorder -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/libslic3r/CMakeFiles/libslic3r.dir/ArcFitter.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/ArcFitter.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/ArcFitter.cpp.o -c /run/build/BambuStudio/src/libslic3r/ArcFitter.cpp
/run/build/BambuStudio/src/libslic3r/ArcFitter.cpp: In static member function ‘static void Slic3r::ArcFitter::do_arc_fitting(const Slic3r::Points&, std::vector<Slic3r::PathFittingData>&, double)’:
/run/build/BambuStudio/src/libslic3r/ArcFitter.cpp:51:99: error: invalid use of incomplete type ‘class Slic3r::Polyline’
   51 |         can_fit = ArcSegment::try_create_arc(current_segment, target_arc, Polyline(current_segment).length(),
      |                                                                                                   ^
In file included from /run/build/BambuStudio/src/libslic3r/Circle.hpp:5,
                 from /run/build/BambuStudio/src/libslic3r/ArcFitter.hpp:4,
                 from /run/build/BambuStudio/src/libslic3r/ArcFitter.cpp:1:
/run/build/BambuStudio/src/libslic3r/Line.hpp:15:7: note: forward declaration of ‘class Slic3r::Polyline’
   15 | class Polyline;
      |       ^~~~~~~~
/run/build/BambuStudio/src/libslic3r/ArcFitter.cpp: In static member function ‘static void Slic3r::ArcFitter::do_arc_fitting_and_simplify(Slic3r::Points&, std::vector<Slic3r::PathFittingData>&, double)’:
/run/build/BambuStudio/src/libslic3r/ArcFitter.cpp:108:30: error: incomplete type ‘Slic3r::MultiPoint’ used in nested name specifier
  108 |         points = MultiPoint::_douglas_peucker(points, tolerance);
      |                              ^~~~~~~~~~~~~~~~
/run/build/BambuStudio/src/libslic3r/ArcFitter.cpp:130:48: error: incomplete type ‘Slic3r::MultiPoint’ used in nested name specifier
  130 |             straight_or_arc_part = MultiPoint::_douglas_peucker(straight_or_arc_part, tolerance);
      |                                                ^~~~~~~~~~~~~~~~

Closes: https://github.com/bambulab/BambuStudio/issues/3074
2023-12-15 09:58:21 +08:00
zhou.xu ebf5dae0ba FIX: bed_type not follow machine preset
Jira: STUDIO-5578
when direct open project from https://makerworld.com/

Change-Id: I3281cf45e3057d766008487975b4585d2e277110
2023-12-14 22:08:53 +08:00
maosheng.wei ce5c00d943 FIX: translation: vendor can not be number
Jira: XXXX

Change-Id: I7bd45de944e8b25b30c88ab742b35d996c933966
2023-12-14 22:08:53 +08:00
zhimin.zeng e8573d723a FIX: slice error: WipeTowerIntegration::append_tcr
when print by object with multi-color
Jira: XXXX

Change-Id: Ic9ee2f6de45abb4a118fdb4cf89dea9ca7335094
2023-12-14 22:08:53 +08:00
hu.wang 09dce5bc04 NEW:display beta version
JIRA: XXXX
Change-Id: I78d748e53b266c3397b1c038c3425a52c573cc88
2023-12-14 22:08:53 +08:00
Arthur 697a7bbee3 FIX: crash when support type and style are inconsistent
jira: STUDIO-5428
Change-Id: Ib1e79c71736810099e15282c30524e55e8f60f34
(cherry picked from commit aefb7fbaf25146c03bd2eb336f58ed2eb0e83ea6)
2023-12-14 22:08:53 +08:00
lane.wei 91036d0b28 FIX: CLI: fix the wipe tower issue while mapping to one filament
JIRA: STUDIO-5550
Change-Id: I0b8d3af09d16bdfc45cdc5951d182f7e33dc9b93
2023-12-14 22:08:53 +08:00
maosheng.wei a6a3f443d7 FIX: Allow vendors that are not entirely numerical
github: #3082

Change-Id: I318f4df7f65c934ab6703e0970d775b754b24276
2023-12-14 22:08:53 +08:00
zhou.xu 52ccbe0209 ENH:comment out two line code
Jira: STUDIO-5535
Change-Id: I5475e4f9ec6fb7e4abdb3d950da34fadead3b606
2023-12-14 22:08:53 +08:00
zhou.xu 4b8f9a4cc6 NEW:add "bed type to follow machine preset" function
Jira: STUDIO-5535
Change-Id: I2ef99a0a783a074d9379685adde11fddfd6f8cec
2023-12-14 22:08:53 +08:00
lane.wei ece83b13c8 ENH: linux: refine the d-bus name
github: #3075
Change-Id: Icf997f4f9203f4d429e3b6058d6d6e5f23bf29ac
(cherry picked from commit 5c766bff445cefee488ba9d057121b04c8e1445d)
2023-12-14 22:08:53 +08:00
zhou.xu 53d8085833 ENH:After cutting,fix non manifold edges needed confirmed by user
Jira: STUDIO-5217
Change-Id: I52ba0db27ebe0b7b763c49311c7aa305bc4dcd5a
2023-12-14 22:08:53 +08:00
Stone Li ce0a4b7ace ENH: do not cancel printing job when timeout
JIRA: STUDIO-5009

Change-Id: I067470173acc26d7ecd8ceb6f0e04ac7f03e3a4d
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 7ab5817c7229c5179adca026ffacb97c2affd292)
2023-12-14 22:08:53 +08:00
lane.wei a9a43606d1 ENH: update: remove the comment which is not used when updating preset
JIRA: no jira
Change-Id: Ic930eea50a7beb78aa6dc7c53fbb5c366857e825
(cherry picked from commit e0225fc147702cf73e6eda4830a2592c7598901c)
2023-12-14 22:08:53 +08:00
zhou.xu 3e1ef0174e FIX: big window's scaling causes incomplete display
Jira: STUDIO-5530
Change-Id: I1d69e60658e49e43d4b3de718f2fd6739bab73ce
2023-12-14 22:08:53 +08:00
xun.zhang 873f4bc90f FIX: excpetion when plate center is negative
jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia1066bd7457181711d0a59b9544d65ed502410e0
2023-12-14 22:08:53 +08:00
tao wang 4542ccae63 NEW:installed & supported p1p(plus)
jira:[pip plus]

Change-Id: I0a69f8629749e3076465b85f28aa39d5e7ae6277
2023-12-14 22:08:53 +08:00
tao wang b6e0049bea NEW:compatible with p1p (plus)
jira:[p1p]

Change-Id: I7b30903dc0a728604c4f33c325aa79fd3bd08f68
2023-12-14 22:08:53 +08:00
zhou.xu 955d62fdf1 FIX:backup iterator location
Jira: STUDIO-5267
Change-Id: Id035c9225a858bb551aa4f09870fc4c6bb30b255
2023-12-14 22:08:53 +08:00
xun.zhang bc65d69911 ENH: modify default head detect zone
1. Set default head detect to empty

jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I686c4c3115041471bc016cf3b0972ed730af64d3
2023-12-14 22:08:53 +08:00
xun.zhang 99bb1c213b ENH: support for head wrap detect
1.Add "in_head_wrap_detect_zone".Detect if the model projection enters
a specified area.

jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I6aed5a782d2f33f023bdc19cf06dff0957828eeb
2023-12-14 22:08:53 +08:00
xun.zhang 0060459cae ENH: refine description of interface not for base
jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ibe11e845b90ef2caf96d5780eaaf8764755cce1d
2023-12-14 22:08:53 +08:00
lane.wei 2631ce1d7c ENH: CLI: allow height shrink when printer switch
to let the error generated at validate
JIRA: no jira

Change-Id: I94db90db858659a9254dfdc0a6eed04fd40d3768
2023-12-14 22:08:53 +08:00
lane.wei 59e67c0b10 ENH: CLI: refine some logic
1. set wipe tower position to default when duplicate object
2. add cli_safe check logic when switch printers

JIRA: no jira
Change-Id: Iebe62f8be6acd6f44743abf3b0fe92ec04c94197
2023-12-14 22:08:53 +08:00
maosheng.wei 82fcd8122d FIX: [5451]Directly crash when memory is low
Jira: 5451

Change-Id: I5c75994e2bd556bec7ce8de6be44888e6924ff56
2023-12-14 22:08:53 +08:00
maosheng.wei b554f86675 FIX: [5504] Optimization description
Jira: 5540

Change-Id: I9379f2c69b6724ec1ef5294dd3c404b0e3189486
2023-12-14 22:08:53 +08:00
wenjie.guo 270e3724a2 FIX: the preset is the same with the first one when switching printers
Jira: STUDIO-5433

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: Icf1979f2bcffbc9c59a072924df5073fc3eac363
2023-12-14 22:08:53 +08:00
lane.wei b0842857ca FIX: CLI: fix the wipe tower disappear issue
JIRA: no jira
Change-Id: I547a8468b0bea06912d5d9ceee1c8deead85e28f
2023-12-14 22:08:53 +08:00
zhimin.zeng 13ba53b592 FIX: Close scan_first_layer when PA line cali
Jira: XXXX
Change-Id: Ide5c0038f4028b8f1d445a6b2d09b705d7872fb8
2023-12-14 22:08:53 +08:00
Bastien Nocera dc38cf7d53 unix: Use canonical mime-type for 3MF files
model/3mf is the canonical mime-type, but keep the
application/vnd.ms-3mfdocument alias.

See for details:
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/179
2023-12-08 09:17:33 +08:00
maosheng.wei a1a7b77b0b FIX: fix combobox and delete btn in filament setting enabled
Jira: XXXX

Change-Id: I8b659bd77ceb97c8cea9d3e5e931f4ea50822721
2023-12-05 15:55:37 +08:00
liz.li a4cd80ae2f FIX: meshboolean transform result issue
jira: STUDIO-5425

Change-Id: If66fe909ce4458c1b3192e4fd8a3d758fe7c7eaa
2023-12-05 15:55:37 +08:00
liz.li b295ba35ee FIX: custom filament preset display in cali history issue
jira: new

Change-Id: I4145450a231adff542ab1a7428b3479f4074e06a
2023-12-05 15:55:37 +08:00
mia f8c718fd1f GUI/Field: Fix crash in color picker init (#2220)
wxButton->GetBitmap() may return an invalid wxBitmap.
Guard against this.
2023-12-05 15:55:37 +08:00
chunmao.guo e866c8321c FIX: sync user preset notify crash on exit
Change-Id: I88f5dbcbd487293ea847ea6092efb61744399541
Jira: STUDIO-5413
2023-12-01 20:17:04 +08:00
chunmao.guo f6b2305ae3 FIX: locale loading user preset
Change-Id: I88521e4b10cb802d9253eb79a6b78b3286f15a33
Jira: STUDIO-5436
2023-12-01 20:17:04 +08:00
tao wang 02ec94b6f8 ENH:add preset check for sending files
Change-Id: Ia3313d281b5ce91e277b380498014ffdac5debd3
2023-12-01 20:17:04 +08:00
zhimin.zeng fd00d28027 FIX: The maximum value is not printed in PA line mode
Jira: 5046  4951
Change-Id: Ic81f9a75ce7f088fe950fdde283ff5c942cd6e83
2023-12-01 20:17:04 +08:00
zhimin.zeng af69cf1264 FIX: the flow rate ratio crashes after load model
for third party printer
Jira: 5244

Change-Id: Idd829c9d99eeba9d180653ac8de4e51b9a0d6370
2023-12-01 20:17:04 +08:00
maosheng.wei fed7de93e6 FIX: scrolled window / del preset / edit filament issue
Jira: 5092
GitHub: 1936
edit filament: just one preset, the scroll bar obscures the preset name
edit filament: delete selected preset, click no, but preset be deleted
from UI
edit filament: serial sometimes displays incorrectly

Change-Id: Ibc91609e252179de0c05ca065099756da6631165
2023-11-30 09:51:52 +08:00
lane.wei 3aa1539339 ENH: CLI: re-compute flush_volumes_matrix when it is missed
Change-Id: Ie8f53c6bef003b1434de02ea14de5787b376484f
2023-11-30 09:51:52 +08:00
zhou.xu ed126ae10c FIX:Reorganize the assignment of variables of "m_editing_window_width"
Jira: STUDIO-5238
Change-Id: If369916f3f5c21510f5f297bfd05c1230bdda7a4
2023-11-30 09:51:52 +08:00
maosheng.wei b5aed4dede FIX: delete preset prompt
Jira: XXXX

Change-Id: I6511c806c56393d4f6bd72d1c506da59675d49ff
2023-11-30 09:51:52 +08:00
lane.wei a958f2f576 FIX: CLI: add object config when assemble
JIRA: no jira
Change-Id: I945f820fb58f2f643170b4b0b66742f6bbbdfd29
2023-11-30 09:51:52 +08:00
Arthur 1106ff8253 FIX: organic support not work with raft only
There is no raft generated when only raft enabled but no support needed.
jira: none

Change-Id: Ic0c9269e2f98038d85c9bc54e4a85f892dc5d764
2023-11-30 09:51:52 +08:00
maosheng.wei 8ecafa356f FIX: close edit preset paramsDialog, mac unresponsive
Change-Id: Ic816754a20b7f6a5cdb46475750eb301fec3ad3a
2023-11-30 09:51:52 +08:00
maosheng.wei dc9ddade80 FIX: close edit preset paramsDialog, mac unresponsive
Jira: 5298

Change-Id: I021e00567354cfb1f2f5f1f2bf6ba1fc35b164c5
2023-11-30 09:51:52 +08:00
xun.zhang 72ecc39fcd ENH: optimize param description
jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Id0ca9224227a716b21fc0b8430722264dc319344
2023-11-30 09:51:52 +08:00
tao wang a1fb7625ed ENH:handling cases without msgs
jira:[STUDIO-5401 STUDIO-5399]

Change-Id: Iae651d5a19a45b0138a6aa621326a8b4a9649824
2023-11-30 09:51:52 +08:00
liz.li 83407370eb FIX: objectList clone shortcut key issue
jira: new

Change-Id: Ia75bf58a7d53f962e1af6c2fd97497270b7eea84
2023-11-30 09:51:52 +08:00
liz.li 1cfdf4ae5f FIX: dailytips should not change content frequently when slicing all
jira: STUDIO-5234

Change-Id: Icb7e9c28404d9db8ebed58d937e13f89c5403b5c
2023-11-30 09:51:52 +08:00
zhou.xu 6d3572270c ENH:cancel EnterReturnsTrue for imgui in cut
Jira: STUDIO-5269
Change-Id: Ifc4b183a4e4c4fdb4f47742f14f70a1ed93fa056
Signed-off-by: zhou.xu <zhou.xu@bambulab.com>
2023-11-30 09:51:52 +08:00
zhou.xu 6e8ff40ad5 ENH:add reset_cut_by_contours in on_load function
Jira:STUDIO-5269
m_connector_size_tolerance default value is 0.1f

Change-Id: I6c67fff3cb0c1190e9141ed6f68fbfa848679f35
2023-11-30 09:51:52 +08:00
zhou.xu e4cfd78e2c FIX:cancel the variable of "checkbox_size" as a fixed value
Jira: STUDIO-5150
Change-Id: I30d876d141b8b35ab4a3fee4889993d87b7c1741
2023-11-30 09:51:52 +08:00
chunmao.guo 1361357a41 FIX: remove not match printer config ota cache
Change-Id: Ib73fc2ea31fa2186061cfcb5a170bc59b9db84ca
Jira: none
2023-11-30 09:51:52 +08:00
xun.zhang 1d50e208b2 FIX: support do not generate
jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ide9709d95203185538e280517f7aa6136beeda44
2023-11-30 09:51:52 +08:00
maosheng.wei 92e0e3dbda FIX: 5331 rescale btn
Jira: STUDIO-5331

Change-Id: If153424b8480e64b166018e3cd98c17db557d0a8
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-30 09:51:52 +08:00
liz.li 70a9dfedc5 FIX: adjust bed shape dialog button UI style
fix that button text is hard to see in dark mode
jira: STUDIO-5247

Change-Id: I2cf5b3cdd2eff9b821bdf5525bec4f329fc58dd1
2023-11-30 09:51:52 +08:00
liz.li 5c69b1dee3 FIX: calibration manage result dialog issue on macos
jira: STUDIO-4949 STUDIO-5378

Change-Id: I00abefd45a0d274a4b68bb1ab18debe8f91d169e
2023-11-30 09:51:52 +08:00
chunmao.guo 1c26ebe03c FIX: move shutdown wait to OnExit
Change-Id: I70d9a2bb686525ae5273aa9d63e25691da4ab65c
Jira: STUDIO-2884
2023-11-30 09:51:52 +08:00
wenjie.guo ba8458aa0a FIX: Bitmap is way too small on Mac
Jira: STUDIO-5393

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I6b550669fa8cd5fc9bfa6ed96d64d19a949f01b2
2023-11-30 09:51:52 +08:00
zhimin.zeng d92791cb6d FIX: PA for custom filament not available in BL Studio
github: 2971
Change-Id: I6ccd36a183e7367d69557300f7242f5403f4bb33
2023-11-30 09:51:52 +08:00
zhou.xu 8ab180c5e1 FIX:cropping rendering without considering assembly views
Jira: STUDIO-5260
Change-Id: Ia56cf80b305ae05f25f06ec277f85b3c5430a6df
2023-11-30 09:51:52 +08:00
zhou.xu 538c6faebb FIX: array bound happen in TriangleSelector::deserialize
Jira: STUDIO-5170
Change-Id: I92b72a887845b462fad208f13607293b44d3d333
2023-11-30 09:51:52 +08:00
tao wang 742047a642 FIX:nozzle type sync
jira:[STUDIO-5248]

Change-Id: I63d48628832473d8d371ed643dc8528b00382531
2023-11-30 09:51:52 +08:00
zhou.xu 41a5117c93 ENH: Resolve non manifold edges by fixing model interfaces
Jira: STUDIO-5124
Change-Id: I7ea86be44acb80b6c4762a76208b4a031acd0b27
2023-11-30 09:51:52 +08:00
chunmao.guo ffb4326e8e FIX: thread of close BBLUserPresetExceedLimit notify
Change-Id: I9698134ba1cc91fc83eac441f900d68c4c4b556a
2023-11-30 09:51:52 +08:00
chunmao.guo f4b062640d FIX: not cache printer file list on error
Change-Id: I99843aedbf14d3d1d553ccac9b0bd26403274a82
Jira: none
2023-11-30 09:51:52 +08:00
liz.li 5011621ad8 FIX: imgui textinput cannot paste on macos
jira: STUDIO-5070、STUDIO-5365

Change-Id: Iea8f41e12744ecda0fbb95c1a8f2e014a7cdc384
2023-11-30 09:51:52 +08:00
hu.wang 098f319519 FIX:The name of the material in the error prompt is empty
JIRA:STUDIO-4907
Change-Id: I3cf44f099256a51f21a44a89c89c000f734d1f36
2023-11-30 09:51:52 +08:00
Arthur c21a1bf1df ENH: change default tree_support_wall_count to 0
Now normal support also uses this option, so we can't default it to 1, otherwise normal supports will be too hard to remove.

jira: none
Change-Id: Ic5700af5c17e3a7b265c8915f28b0db35c6e06e6
(cherry picked from commit 6b84a9826da108b76569e686bd9def0b23ae29fd)
2023-11-30 09:51:52 +08:00
maosheng.wei ea4a495046 FIX: some translation
Change-Id: Iaabe6087bed3b7d47d911cf4fb51c770804e72fb
2023-11-30 09:51:52 +08:00
maosheng.wei 35e7d8a11d FIX: edit filament dialog: preset name too long to del btn nan't show
Jira: 5336 5174
and verify string normalization

Change-Id: I380c3bed2bf43d01094b68979a8b67f4187c0b93
2023-11-30 09:51:52 +08:00
tao wang 54eed41661 NEW:tracking stl model files
jira:[STUDIO-5372]

Change-Id: Idb1275b07441f0cd06c24588d5f7c20f81f1556c
2023-11-30 09:51:52 +08:00
Arthur b96f1b333e ENH: improve normal support's quality
1. Add a base_interface_layer when using Supp.W
2. Fix a bug where base_angle and interface_angle are wong

jira: STUDIO-5386
Change-Id: I52ab32c63b3cd1e6e2ba6463b01ae26699cf13d3
(cherry picked from commit 92ddd4a10b793572a1fa009da5b9e44fcdf81de2)
2023-11-30 09:51:52 +08:00
Arthur d257c0f90d FIX: Revert "ENH: do not leave a gap for top...
Revert "ENH: do not leave a gap for top interface if the top z distance is 0"

This reverts commit 79ea32c7cbbdb7e689637980af7c36caf42284c9.

Revert reason: the supports are impossible to remove in some cases.
jira: STUDIO-5385

Change-Id: I376a6f4dfd78da6dfea68b9ac3d552cddd0b4272
(cherry picked from commit 34e38b705fde7f5d7f9a3a89c96a3627ce0c998e)
2023-11-30 09:51:52 +08:00
tao wang 879880cc80 FIX:update text for loading or unloading filaments
jira:[STUDIO-5231]

Change-Id: Ic7729c3ec012485b3d87e3d01f11e87502c67895
2023-11-30 09:51:52 +08:00
tao wang 5b4ece44e7 FIX:fixed issue with lan mode
jira:[STUDIO-5189]

Change-Id: I1d0a05f19dcea154cf3ef2b61ed0546d3581905e
2023-11-30 09:51:52 +08:00
tao wang 90910e7d52 FIX:fixed issue with AI monitoring settings
jira:[STUDIO-5082]

Change-Id: I967fe3c1e9da61a55bcbfaa2a8e067dd5af18f72
2023-11-30 09:51:52 +08:00
tao wang 661e12eb1f FIX:fixed failure in updating nozzle type
jira:[STUDIO-5248]

Change-Id: Iad37b5d5b76d37cb1723ef21d7c39b1e3fcaf8d7
2023-11-30 09:51:52 +08:00
hu.wang 3858dfe3d1 FIX:a blank pop-up appears
JIRA:XXXX
Change-Id: Ice92b55204e4897fec024a6d99412eb810bddd4a
2023-11-30 09:51:52 +08:00
Arthur e083a155b1 FIX: auto arranging issues with locked plates
1. global auto arranging may put items overlap with wipe tower if some plates are locked
jira: STUDIO-5329
2. items outside bed may overlap with plate boundary if it's rotated
jira: STUDIO-5329
3. plate-wise auto arranging uses wrong min_obj_distance if the
plate is by-layer printing but global setting is by-object printing
jira: STUDIO-5330

Change-Id: I5dba2f1317e183c9aeec1cb2bd227fbddf4316e6
(cherry picked from commit db1eac41efff5f1e8d5ac0af74c6fc7ab59fc253)
2023-11-30 09:51:52 +08:00
liz.li adc95d91a5 FIX: height range layers displayed in wrong position
jira: STUDIO-5341

Change-Id: I83918b4624f367efa54321f1898e1176cdb04ea9
2023-11-30 09:51:52 +08:00
liz.li 9adcd44411 FIX: a button color didn't response to dark mode change
jira: STUDIO-5315

Change-Id: I95489f01ccd1f77b9e95b0d0f69e5398d2e88487
2023-11-30 09:51:52 +08:00
zhou.xu c53a458942 FIX:add slash_to_back_slash for saving file path
Jira: STUDIO-5287
Change-Id: I9f3c176cd0831c793958f08601c63efac98176a4
2023-11-30 09:51:52 +08:00
zhou.xu 636c7dd048 ENH:editing_window_width's value is small on the laptop
Jira: STUDIO-5238
Change-Id: I9044129f4e0c8ca7469db05b3e547fca4754342a
2023-11-30 09:51:52 +08:00
zhou.xu 9ce7de10f4 FIX:update custom_texture when new_shape=false
Jira: STUDIO-5287
Change-Id: I3add95f9f9345c14a48cc7467513d1b3ce95f4c9
2023-11-30 09:51:52 +08:00
maosheng.wei 85ac3617d2 FIX: create filament dialog: create btn can not show all
Jira: 5310 5331

Change-Id: I185272c90d9ff1c3d6b47abbefbf488d0d965cca
2023-11-30 09:51:52 +08:00
zhou.xu c59e7ca79d ENH:editing_window_width's value is small on the laptop
Jira: STUDIO-5238 STUDIO-5265
Change-Id: Ia958772bcb081817da621115f99328bb62770cd5
2023-11-30 09:51:52 +08:00
zhou.xu 8ddee271ea FIX: reset_cut_by_contours should update_buffer_data
Jira: STUDIO-5376
Change-Id: I5aacb1f7b65822031d7138abd61a45b09c743531
2023-11-30 09:51:52 +08:00
wenjie.guo 274b13d977 FIX: Black spot in the sending printing task page
Jira: STUDIO-5307

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I3bd97c063ec5f0faf7d12047da39f60ce55cae4b
2023-11-30 09:51:52 +08:00
liz.li 21647a8a97 FIX: add height range, modifier in Preview pane will crash
jira: STUDIO-5340

1. fix crash at add height range, modifiers in Preview from objectList
2. fix an assert hit when slicing
3. fix an assert hit when enter AssembleView
4. forbidden popup menu by right-click objectList in Preview

Change-Id: I444bc76b1a4307999b387e4f60386b2d272bd308
2023-11-30 09:51:52 +08:00
liz.li 0dae851dc6 FIX: there is no object can be jumped to in notification
jira: new

Change-Id: Ib81bf49236952ede24a2de126051572d63916e01
2023-11-30 09:51:52 +08:00
wenjie.guo eaddf2c64b FIX: Make the front smaller for Czech in device panel
Jira: STUDIO-5151

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I315174b55f923da069854fb4fed8cf3937b82074
2023-11-30 09:51:52 +08:00
zhou.xu 211f323317 FIX:add slice_facet_for_cut_mesh api for cut tool
and modify section_vertices_map 's traverse
Jira: STUDIO-5267
Change-Id: Ifc4b183a4e4c4fdb4f47742f14f70a1ed93fa056

Change-Id: I52bfaef8926ef967b78a6cb712a1731a1b528a24
2023-11-30 09:51:52 +08:00
chunmao.guo 99f5863ffa ENH: handle printer direct close and not retry
Change-Id: I5dd55f8085cf6383a8420ab41e614ea6ae210c78
Jira: STUDIO-5305
2023-11-23 17:35:33 +08:00
maosheng.wei a5c4801497 FIX: allow input '+' and hide edit preset btn
Change-Id: I97aec7c3ac4cc8b9d6c535f0126aaa1926553d86
2023-11-23 17:35:33 +08:00
hu.wang bbb5396738 FIX:UI stuck due to pop-up window with wrong chamber temperature
JIRA: 5304
Change-Id: I1a49a7219b7a6f5700243704c348724e7930ce1a
2023-11-23 17:35:33 +08:00
zhou.xu 0b84dd5fd6 FIX:cancel is_equal for slicing function
Jira: STUDIO-5267
Change-Id: I66d759aa2c968f8a28a6a5d8378929754f2db689
2023-11-23 17:35:33 +08:00
maosheng.wei 567c35022e FIX: create filament issue
Jira: 5296 5297 5295 5302 5311 5276

5296 create filament: list has same printer
5297 create filament: filament combobox has blank options
5298 edit filament: delete last preset prompt users
5302 create filament: filament combox has cili preset
5311 create filament: printer name too long to can not show all
5276 edit filament: PLA Aero filament type filter issue
add prusa vendor
Revised copy

Change-Id: I5dcc615ce0951b1a9953fa12283f6090f5069045
2023-11-23 17:35:33 +08:00
liz.li 4cb44574fd FIX: calibration selected preset is null in some case
jira: STUDIO-5258

Change-Id: Iee63593c5f833c5a43e3b1d1c9ddb82f8c69569a
2023-11-23 17:35:33 +08:00
zhou.xu fbcc9f58b0 ENH:cancel EnterReturnsTrue for imgui in cut
Jira: STUDIO-5269
Change-Id: I2832e1dccaf9755448debe7b2bd56426f90dfe0d
2023-11-22 11:06:25 +08:00
zhou.xu ba55b9712c ENH:display the euler angle of rotation plane
Jira: STUDIO-5268
Change-Id: I6b7b431931d60f1a9a832908400417781798c472
2023-11-22 08:23:38 +08:00
wenjie.guo aa3be8aa4c FIX: Bitmap will flash when sending printing task
Jira: STUDIO-5278

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: Ib0c8710b8d5d6b98fad043c950f054aa35bea965
2023-11-22 08:23:38 +08:00
wenjie.guo cd02791647 FIX: the word search is not translated
Jira: STUDIO-5224

The world search in the device panel is not translated.

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: Ia3d651c2159a3aad94e10cd0a6da98848f53ee2a
(cherry picked from commit 4a46a0a4750d82d49c9523f4b668a1a00c41ed83)
2023-11-22 08:23:38 +08:00
lane.wei d0a2cc4141 ENH: CLI: remove the warning of layer height
JIRA: no jira
Change-Id: Idaceee4f52611479fc3f4238d016d891b4dc8cd1
2023-11-22 08:23:38 +08:00
xun.zhang 75e8e96846 ENH: set layer range error to warning
1. If layer range exceeds maximum/minimum layer range in printer
settings,pop up a window to warn

jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0304ee790e557ecf967f355c171993d1f51b5057
2023-11-22 08:23:38 +08:00
Arthur d5c12f9b9d ENH: improve support style's tooltip
jira: none
Change-Id: I8ee858d7052f04ce7ea6b226a500c7d1bf8a482f
(cherry picked from commit 665f31c4fcde22bd894cbb4a5fb160635947f2a4)
2023-11-22 08:23:38 +08:00
tao wang c3b5eabacf ENH:nozzle type detection
jira:[STUDIO-5246]

Change-Id: Ic41a2161a0e41d23f56af93ad8ec34cc83ada0e3
2023-11-22 08:23:38 +08:00
zhou.xu 099756fc1a FIX:fix bugs of non manifold edge
Jira: STUDIO-5267

Change-Id: I8ac9a2cf96da0bc07ee00b309e65611b92fd174d
2023-11-22 08:23:38 +08:00
zhou.xu b5bac96e39 ENH:is_equal for min_z and max_z
Jira: STUDIO-5267
Change-Id: I9493883d8be9d44e26ddc9afe62b7e9eb09c5052
2023-11-22 08:23:38 +08:00
zhou.xu 2798ce49ec ENH:add _A and _B for perform_with_groove
Jira: STUDIO-5267
Change-Id: Iee3310dfa1cd8e6680310f0af0eff5c817490813
2023-11-22 08:23:38 +08:00
maosheng.wei 0fa6846eb6 FIX: nozzle_diameter_map data structure adjustment
Change-Id: Ifb724afc0fcf974e6d331e73ecac723107a102cf
2023-11-22 08:23:38 +08:00
chunmao.guo 44c09b8d48 FIX: remove GetUserAgent
Change-Id: I92886e1f0dcb091109231a10da8c19d51178e13b
Jira: STUDIO-5205
2023-11-22 08:23:38 +08:00
wenjie.guo e9e36dc9ab FIX: edit text command resets object settings
Jira: STUDIO-4655

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: Iac25c4e40f1d0d32e6d1f40e62226cc22bc96042
2023-11-22 08:23:38 +08:00
zhou.xu dc8852c8e9 FIX: fix new_bed_shape's calculation process
Jira: STUDIO-5122
Change-Id: I5f3e6a301a297123af28692c90bef6759f425b06
2023-11-22 08:23:38 +08:00
zhou.xu 3fd1c6702a ENH:editing_window_width's value is small on the laptop
Jira: STUDIO-5238 STUDIO-5265
apply_selected_connectors should check_and_update_connectors_state

Change-Id: I8c2c1c920cc4d197d1908815a3e62f4962335451
2023-11-22 08:23:38 +08:00
maosheng.wei dd4d865f88 ENH: first nozzle change to 0.4 and nozzle change to mm
Jira: XXXX

Change-Id: I14defd36442dbd7008e46782b08415b6244224f1
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-22 08:23:38 +08:00
maosheng.wei f38e4339d5 FIX: translation
Jira: XXXX

Change-Id: Id03f0d704aa852632a907ea628d1277400112062
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-22 08:23:38 +08:00
wenjie.guo c11b37c70f FIX: thumbnail is not clear in dark mode
JIRA: STUDIO-5087

Change-Id: Ie86493ed71b5554095927f061509a1f551758b61
Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
2023-11-22 08:23:38 +08:00
tao wang 6e97750dcd ENH:fixed incorrect path prefix
jira:[for file path prefix]

Change-Id: Ie9e3999f02b78272e528ceceb479e746d46a7e6c
2023-11-22 08:23:38 +08:00
Stone Li 16cee32990 NEW: display plate index when printing a task
JIRA: STUDIO-2689

display on the thumbnail of the current task

Change-Id: I5f1f46c56e9d1e9120a66d491551908dfad099d6
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-11-22 08:23:38 +08:00
Kunlong Ma 9588de0de2 FIX:Re-calculate button with White Box displayed in dark mode
JIRA: STUDIO-5098

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I07cc6c72d5dbd03b72573cd27dd5938bb0e6a29a
2023-11-22 08:23:38 +08:00
Kunlong Ma 5bcd363a25 ENH:Add shortcut keys and lists for objects search
JIRA: STUDIO-5157 STUDIO-5158 STUDIO-5240

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: Ic7cfaaa9b4bb8a85208bafab7fe3bafdb78f0045
2023-11-22 08:23:38 +08:00
liz.li 310e68c34c ENH: modify dailytips collapse & expand interaction
jira: STUDIO-5209、STUDIO-5210

Change-Id: Ifb0b998e5004d4b49390ba5a250eaf4743bf3471
2023-11-22 08:23:38 +08:00
liz.li 8b70ae4a65 FIX: custom gcode window cannot paste/ navigate
jira: STUDIO-5208、STUDIO-5070

Change-Id: I4ecb9d06cf5db0ae53a4678181aae9298bac106b
2023-11-22 08:23:38 +08:00
liz.li ac84186368 FIX: clone shortcut key issue on macos
jira: STUDIO-5166

Change-Id: I1967da1d443ed43bd750dad8e11560688d7bd533
2023-11-22 08:23:38 +08:00
Arthur 4bd2b7f96d FIX: compiling error on linux
jira: none
Change-Id: I1a4563503b5ddf74a1979cc0cee7a15b8aced904
(cherry picked from commit de52c6ca62c9f3a6314ddf5a856c1d8534329886)
2023-11-22 08:23:38 +08:00
Arthur bf93fd02fb ENH: open support wall count for normal support
1. open support wall count for normal support
  Enabling this option makes normal support stronger and gives
  better overhang quality, but also more difficult to removal.
  Jira: STUDIO-5192
2. fix a bug where tree support (hybrid style) may get overlapped
  extrusions near the walls.
3. fix a bug where raft layers can't be 1 in tree support
  Jira: STUDIO-5261

Change-Id: Iadc0c67a9b50b5b221c8e83d5aa22ed282018cf8
(cherry picked from commit c0bb0084e386cb70ed6e16edf93190e4b38f5b90)
2023-11-22 08:23:38 +08:00
lane.wei fc24aa6ead FIX: CLI: fix the slicing issue while only one object with multicolor using seq-print
JIRA: no-jira
Change-Id: Iea2d23ff8e484bf2fd58aa2f596a8e4e4292fe39
2023-11-22 08:23:38 +08:00
maosheng.wei a785aa056b FIX: scoreDailog dark mode issue
Jira: 4570

Change-Id: I8be97b306a1494f73e3bba678ecc864e7ff88ca3
2023-11-22 08:23:38 +08:00
wenjie.guo 4e0c22f798 FIX: Filament preset is the same with the first one
Jira: STUDIO-4519

Filament preset is the same wit the first one, it should align with the
last one.

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I304d0ff0fbc1c8948d410ea552e4d42b6a4e8fd9
2023-11-22 08:23:38 +08:00
SoftFever bdaba79455 ENH: add small perimeter speed and threshold
The original param is added by Prusa. Thanks orca for adding threshold.

1. Re add small perimeter speed and threhold.

github: #2221

Change-Id: I35b269b26f085d80f0edca28650bb21fc04898d7
2023-11-22 08:23:38 +08:00
xun.zhang 0ece8534db FIX: scale problem in lift type decide
1. Scale the travel threshhold

jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ib594d640fe63b0919bc9318af88577513f7dbf30
2023-11-22 08:23:38 +08:00
maosheng.wei 9747a1cfa7 FIX: add link for ironing parameter
Change-Id: I451f5549db3ac2205aa5703a2e5edc831e946af8
2023-11-22 08:23:38 +08:00
chunmao.guo 394b65ab5f FIX: skip hold user preset from sync
Change-Id: I2252246e19bd80903ad82170782ea49535d30d05
Jira: STUDIO-5185
2023-11-22 08:23:38 +08:00
hu.wang 6c81f05bf0 FIX:send print job,file name displays error
JIRA:3137
Change-Id: I1c113025d274a13fba1b845a58aada14058fadd4
2023-11-22 08:23:38 +08:00
maosheng.wei 901d6d2936 FIX: enable edit and delete preset btn and fix issue
Jira: XXXX

Change-Id: I724d7236b28fcc4746698f094531948a8fbb5d93
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-22 08:23:38 +08:00
maosheng.wei 417d2eeb90 FIX: 3733 backup time not effective
Jira: 3733

Change-Id: I50c2ce156fcbd0a17aa8a6777bce04aa6093c830
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-22 08:23:38 +08:00
chunmao.guo a888747755 FIX: crash when async delete printer file
Change-Id: I92c5e812d04da263338fb0eea2fd7583cf9ecde0
Jira: STUDIO-5222
2023-11-22 08:23:38 +08:00
hu.wang f4f4286eab ENH:Modifying the Line Color of Transparent Materials
JIRA: STUDIO-4311,5088,4983
Change-Id: I9e63413dc9cd7d523f0f7f1a2e32c4537a84467a
2023-11-22 08:23:38 +08:00
hu.wang c3cc6fc850 FIX:Display garbled code in AmsMaterialsSetting pop-up
Change-Id: I50531e939afa7715ae376bac47172ccf7b248114
2023-11-22 08:23:38 +08:00
maosheng.wei 8a18393789 FIX: 3770 printable checkbox incorrect display in darkUI
Jira: 3770

Change-Id: I97f67d7a0ffc41f6ee625abeecc52ee4e73cf318
2023-11-22 08:23:38 +08:00
wenjie.guo 8fc5704783 FIX: icon issue for copying
Jira: STUDIO-4168

Icon issue when filling bed with copies

Change-Id: I61a03ecae02b75602c236ed2810e9c9cfe5a19f9
(cherry picked from commit b5079f8a2e79f19f65803f23ef4fd83aff17c84a)
2023-11-22 08:23:38 +08:00
lane.wei 72989c8a2f ENH: CLI: skip layer height limit validate when slicing for existing models
JIRA: no jira
Change-Id: I1444a28b500ca7d08ed2606eecfa5cfaf261105e
2023-11-22 08:23:38 +08:00
maosheng.wei ac6cc81591 FIX: correct the strings and move create printer dialog center
Jira: 5221 5183

Change-Id: Ida4eba63f0e962ffcc8000fcc04cf20849577217
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-22 08:23:38 +08:00
enricoturri1966 b77217f33e FIX:Press ESC directly to exit after entering the profile rendering
rendering is not normal,Code from PrusaSlicer,thanks for PrusaSlicer and enricoturri1966
commit a078627552f54497ed0518dc7bc349d243576d19
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Mon Jan 30 14:00:02 2023 +0100

    Follow-up of 1218103fd620b319c56fd08116f81b581c537188 - Fixed gizmo missbehavior when closing a gizmo by resetting the selection clicking on the scene

Jira: STUDIO-5164
Change-Id: I261da9dba2a5ac37f3e263c175fbccd80d8045bd
2023-11-22 08:23:38 +08:00
zhou.xu f5637dac77 FIX: merge the patch from Prusa
Thanks for PrusaSlicer and YuSanka
Jira:STUDIO-5175
commit 510d59687b3b19c4a0f4e6540620d0694dd1b7ac
Author: YuSanka <yusanka@gmail.com>
Date:   Thu Oct 5 14:13:14 2023 +0200
    Follow-up 1b451cdf: Fixed #11415 - Connectors disappear when slicing => only when using multiple cut planes AND excluding parts

Change-Id: I9ccd5b85f482d723d21fccf5e104c9e0a9cc4849
2023-11-22 08:23:38 +08:00
zhou.xu dfa707fc7a FIX: rendered color changes
Jira: STUDIO-4956
during the drag processin connectors editing state

Change-Id: I3027176ea9f93a9ba9d6a2052f41aaa4adef79f1
2023-11-22 08:23:38 +08:00
zhou.xu 4adae5e595 FIX:not TakeSnapshot for m_start_dragging_m
Jira: STUDIO-5176

Change-Id: Ia03e3e2c2664dbdcffa19ec8d0fa97dfd95e6d35
2023-11-22 08:23:38 +08:00
zhou.xu 7d33cb0ff1 FIX:cut imgui has overlapping rendering on Apple
Jira: STUDIO-5150
Change-Id: I7969e19dc189cd617026a183067dad628208955c
2023-11-22 08:23:38 +08:00
Stone Li 86a50da944 ENH: add more status during printing
JIRA: STUDIO-5195

Change-Id: I85b3107839c6e2fdecbc10d90a876463e284468c
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-11-22 08:23:38 +08:00
maosheng.wei 5215da4ce0 FIX: [5174] export configs dialog issue
filament name too long to can not show all

Jira: 5174

Change-Id: I92018c9d7f86009b78b533592d899b4b5d78c3c8
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-22 08:23:38 +08:00
maosheng.wei 461c7072f2 ENH: template filament don't be show in filament list and sort
Jira: 5160 5179

Change-Id: I56a7e1897e1ef3c061dc66d318896413ca25b76b
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-22 08:23:38 +08:00
maosheng.wei f403ea4f78 FIX: can not select user preset when create filament
Jira: XXXX
github: 1936
and fix add preset for printer dialog can not show selected printer

Change-Id: Id4308c6bdca17d52d4aa321db359941aa87e0e45
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-22 08:23:38 +08:00
maosheng.wei c570a2eaab FIX: 5092 edit filament add scrolled window
Jira: 5092

Change-Id: I53ae996b04e4e2f1b1ddce6a858d505001b11615
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-22 08:23:38 +08:00
Kunlong Ma 768fcd164d ENH: Add buried points for cut and meshboolean
JIRA: NONE

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I67ce498d0c335dd7a8582f56b880c2c8314f8541
2023-11-22 08:23:38 +08:00
Arthur 82d5935a5e FIX: align to Y not working
This is a bug introduced in 7fbb650 when solving jira STUDIO-4695.
Now we use a more decent way to solve it.

Change-Id: I92deffcb9fe53e8a24c93fe973446ae37df07375
(cherry picked from commit bd98430dbd15eb6c9bb4b447990e0dcf8a50eef0)
2023-11-22 08:23:38 +08:00
lane.wei 6412bb9b4d ENH: CLI: support load_assemble_list
JIRA: STUDIO-4848
Change-Id: Ife11533740988331ea71eac86c370e625970cb8b
2023-11-22 08:23:38 +08:00
xun.zhang 1d5c7bd442 FIX: scale problem in needs_retraction
jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Idfbe954b22fa6aa5769c55e46874fa6a80ecbf45
(cherry picked from commit 4e853f50b748e3af11e2d64862b6ee557fda361b)
2023-11-22 08:23:38 +08:00
the Raz 23c5fab0a1 Allow line width of nozzle diameter * 2.5
As it were, 1 mm would be disallowed but 0.99 would be allowed for 0.4
nozzle.  1 mm is the sane maximum and 0.99 is unnecessary tedious to write.
2023-11-13 08:52:31 +08:00
maosheng.wei 44a759fc34 FIX: some translation
Change-Id: I9758cbc758030b5a3945697a50ca4898af9fcb1b
2023-11-09 10:09:10 +08:00
chunmao.guo 268fa5dc8b FIX: missing unlock cause device or resource busy
Change-Id: I87563312ea9c6ce4e4e471da7ce7a02b53b64762
2023-11-09 10:09:10 +08:00
zhou.xu 0b68a3ac72 FIX:fix GLmodel deconstruction causing section not to be rendered
Jira: STUDIO-5156
Change-Id: Ibb2f459920989ee54f7b827352dc8893424b4de6
2023-11-09 10:09:10 +08:00
maosheng.wei cb11021a56 FIX: [5159 5165 5171 5172] create printer and filament issue
Jira: 5159 5165 5171 5172
5159 create printer dialog no refresh
5165 create printer 2 step dialog no refersh
5171 change font
5172 edit filament dialog darkUI issue
input special character is prohibited
'/' in preset name translate to '-'
update printer combobox

Change-Id: I5fa27836dab7f604f1a065c65efa099c7a2f0f96
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
tao wang e9661f3fdd ENH:update the description of nozzle detection
Change-Id: Id27b25c69dc11fcf66fc82053af705906ae8c370
2023-11-09 10:09:10 +08:00
hu.wang efedf8b319 FIX:User preset material settings dependent on firmware
JIRA: 5167
Change-Id: I82cf26848594b01155883ad0aa2e9ee77d371fb2
2023-11-09 10:09:10 +08:00
liz.li 433a4b2a7f FIX: clone shortcut key conflict with quit in macos
jira: STUDIO-5166

Change-Id: I548f275bb68d3b0e6bb3cfad6fe93df09d507da3
2023-11-09 10:09:10 +08:00
liz.li 6ab1ee22eb FIX: dailytips text translation
jira: STUDIO-2556

Change-Id: If44e503615b09ee1692f42ba1f998918ec5bd691
2023-11-09 10:09:10 +08:00
chunmao.guo 5f1c4f7803 FIX: print model from sdcard with p1p
Change-Id: If85383ba762022ead3dd754ae02a08817b891114
Jira: none
2023-11-09 10:09:10 +08:00
maosheng.wei 0ff1c20dd1 FIX: [5149 5142 5141 5140 5136] create printer and filament issue
Jira: 5149 5142 5141 5140 5136
5149 process preset name can not show all
5142 improt configs combobox not update
5141 disable modify filament_vendor
5140 disable input Bambu and Generic vendor
5136 preset list window adjust

Change-Id: I111a23996146cc16cc7f533c8616d50223d34c40
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
Kunlong Ma 939f64d90d FIX: Delete and search object outside the plate
JIRA:
1. STUDIO-5132 Deleting object outside the plate will crash
2. STUDIO-5146 The search function cannot search for object outside the plate

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I84cb3fe990a9c2a182e7434c262466a70545280e
2023-11-09 10:09:10 +08:00
liz.li e46f0cace5 FIX: dailytips window and gcodeviwer legend window size issue
reset to original logic of dailytips and legend window size

jira: new

Change-Id: Iacb016bb222ba3f87317cfbe1f2b003802d773a5
2023-11-09 10:09:10 +08:00
chunmao.guo 6e595f251c FIX: show custom filament in AMS filament list
Change-Id: I79b9f8f2f08db8c52bbed76f1ea133baff383c00
Jira: none
2023-11-09 10:09:10 +08:00
chunmao.guo a9ec427259 FIX: upload custom root preset fail
Change-Id: I621c8d542dd604b07cc5df63d97d7a31558d3aba
Jira: none
2023-11-09 10:09:10 +08:00
hu.wang cad6a53a30 NEW:AmsMaterialsSetting Support for user-preset
JIRA: STUDIO-5135
Change-Id: If848047cd5dbd059d440de30989c505c361305a7
2023-11-09 10:09:10 +08:00
zorro.zhang d7aaeb8beb NEW: Open HotModel Link With GetParam-From bambustudio
JIRA: NO JIRA

Change-Id: I4ac49bac5ee0c50988c76a38b00b7ba7dc3201f5
2023-11-09 10:09:10 +08:00
chunmao.guo 8df56cfb60 FIX: Bitmap cache not take effect
Change-Id: I972098fdbda0b4542c6c759a8f5e1f0f2a30852b
Jira: STUDIO-4991
2023-11-09 10:09:10 +08:00
chunmao.guo 0ef0c55070 FIX: user preset sync token
Change-Id: Id2aa865b778ee9ac4cfddb68ceef0374507b519b
Jira: none
2023-11-09 10:09:10 +08:00
xun.zhang fd8daa4b7f ENH: refine display logic of param
1. Refine the display logic of "support_interface_not_for_body".Only
toggle if support_filament is default and support_interface_filament
is specified

jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia2af030c4531ad6b04a198bfe8a1677b3d20a800
2023-11-09 10:09:10 +08:00
maosheng.wei b8ed3d12aa FIX: disable filament_typep
Jira: XXXX

Change-Id: Ib605b33e4474525fbe49e70596fc09aa356f478a
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
maosheng.wei bb31e912ef FIX: Generate UUID from objectID and volumeIndex
Jira: XXXX

Change-Id: I65147ef9b695f8af8de260d722e604b0e0bab563
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
zhimin.zeng 84800a674f ENH: Check the nozzle diameter when sending calibration
Jira: 4977
Change-Id: Iabbba44583bbd9fbaaa889ca546ee0ccbb2aa77f
2023-11-09 10:09:10 +08:00
chunmao.guo 28b71cecbb FIX: not show device page when switch printer preset
Change-Id: I00d8524625a4682b6a39876ddb66bf8bd928dbef
Jira: none
2023-11-09 10:09:10 +08:00
hu.wang 0149d24437 FIX:n1 external feed prompt pop-up without retry button
JIRA: STUDIO-4696
Change-Id: I31069c72e29d3398469d71cdbc2a344a5430fc2c
2023-11-09 10:09:10 +08:00
hu.wang 07abf09601 FIX:Network test dark mode adaptation
JIRA:STUDIO-2468
Change-Id: I20cb7f1fd8eca3ce852acb563c1cc87978e216dc
2023-11-09 10:09:10 +08:00
qing.zhang 525c0464a3 FIX: add skip label before tool change
Jira: 5074
github: 2776

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Icaafd3b45da1e78c1a82e7d17d7505d9439b9100
2023-11-09 10:09:10 +08:00
maosheng.wei 90dd8bbe86 ENH: add 'edit preset' and 'delete preset' btn for each preset
Jira: 5200 5113

Change-Id: I208ad63eb4b895306fa76db424da2e1df10a582e
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
maosheng.wei e0d38f15cb FIX: [4492 4851 4883 5121] create printer issue
Jira: 4492 4851 4883 5121

Change-Id: If252b5f30be0403f79410aa8c00fc14b066d5bbd
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
lane.wei ccdb03c873 ENH: CLI: clear custom gcodes when skip_modified_gcodes
JIRA: STUDIO-5112
Change-Id: I2e7346d2ac57519029a4e80e5492c34d3d91ed77
2023-11-09 10:09:10 +08:00
chunmao.guo c8a9851719 FIX: not jump to preview after first wizard
Change-Id: I8c94d66a91aa15a7874441a300b40438638bd33b
Jira: STUDIO-5018
2023-11-09 10:09:10 +08:00
wenjie.guo f63146e6f4 FIX: failed to limit the max width of DropDown
Jira: STUDIO-4503

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: Id9352d16f4bc016daade72a9c8d3d90164a1cb3d
2023-11-09 10:09:10 +08:00
liz.li 7fa96cfd0d FIX: linux: pressing enter in height range will crash
jira: STUDIO-4391
Change-Id: I6bf990951d1456f5b2605b8d62a05bceb3cc4c10
2023-11-09 10:09:10 +08:00
chunmao.guo 95477babc2 FIX: do user preset sync later on startup
Change-Id: I0653a0438477b1c803ce1cddc66ef47f95616dae
Jira: STUDIO-5106
2023-11-09 10:09:10 +08:00
chunmao.guo 27b3c08156 FIX: cloud use presets limit notify
Change-Id: I6cc7b4e560cb83db0fc30921633b10531957128e
Jira: STUDIO-5091, STUDIO-5104
2023-11-09 10:09:10 +08:00
maosheng.wei 883980e51b FIX: [4483 5003 5109] create printer and edit filament issue
Jira: 4483 5003 5109
4483 dialog blink
5003 preset list too long
5109 encode

Change-Id: I190e12272ca09f36b841f2f85a6cf60f2c2614bd
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
maosheng.wei f7234aa943 FIX: UUID conflict issue when referencing volume
Jira: XXXX
3mf file standard

Change-Id: I953a87294684ea85d03a95e7d2843c096904aeae
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
maosheng.wei 086178fbb4 FIX: [4857 5097] export list and del preset two confirm issue
Jira: 4857 5097

Change-Id: If7cc4967a663f575527a227e9c4ac31e0491930c
2023-11-09 10:09:10 +08:00
liz.li 05d714814f ENH: dailytips modification
1. modify closing behavior
2. dailytips can adjust self size according to the canvas size. And also adjust
   GodeViewer legend window size
3. fix a button text encoding bug
4. support vertical/horizontal layout(horizontal layout currently not used)

jira: new

Change-Id: I8e0b6e85c455d0608d7388fb441829c1991ad01f
2023-11-09 10:09:10 +08:00
wenjie.guo 79eb44635d FIX: Z hop is still enabled when upper boundary is zero.
Jira: STUDIO-4893

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I5f46a02e1fbb15ff43e253e3a184aa6cc38e7598
2023-11-09 10:09:10 +08:00
zhou.xu 8aa0c06137 FIX: missed manually entered values for secondary processing
Jira: STUDIO-4964
Change-Id: I5cf0da1ae77cccd34de05b4a0318a751ac9f6753
2023-11-09 10:09:10 +08:00
lane.wei 48644e1fb4 ENH: CLI: add some params to support more functions
1. uptodate_filaments to support update the original filaments to newest config
2. allow_rotations/avoid_extrusion_cali_region for auto-arrange
3. skip_modified_gcodes to support skip modified gcodes

JIRA: STUDIO-5112
Change-Id: I95c09af1b5462cce3bf27aea32228d6d1d1d201d
2023-11-09 10:09:10 +08:00
chunmao.guo 3c2dfeae5a FIX: push_notification on GUI thread
Change-Id: Iaec347f5684fe0f65d6418759518189b67033c42
Jira: STUDIO-5106
2023-11-09 10:09:10 +08:00
Arthur 0e716584db FIX: do not generate sheath for normal support
Jira: none
Change-Id: I8f3f3e39171055f8d18c06ceee8e245594273238
(cherry picked from commit 93bc7ecf4346f179f502bebc3cf47b0030b56e2c)
2023-11-09 10:09:10 +08:00
Arthur 134f083bdb FIX: modify some default support params in code
1. Modify default values of some supports params, so 3rd party profiles are easier to setup.
3. Fix a bug that organic support may cause crash.

Jira: none

Change-Id: Icae348d8fe5985f4287404e96089198a499283f2
(cherry picked from commit 8889cfc703b72e142f288e525b89c87619f2213c)
2023-11-09 10:09:10 +08:00
chunmao.guo 575f188436 FIX: take custom root as AMS sync candicate
Change-Id: I9c71babcd74238d1533b15d77a978b19997c70c0
Jira: none
2023-11-09 10:09:10 +08:00
chunmao.guo 020338b191 FIX: [STUDIO-4935] plate name edit in object list
Change-Id: I271fa217281d0c7ceca61166497136628a66681e
Jira: STUDIO-4935
2023-11-09 10:09:10 +08:00
maosheng.wei b377f660a8 FIX: some translation
Jira: 5096 5089 5036 5004

Change-Id: I4f1bd6e352b11451f5caf02cbc4eeb31dfa03eee
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
lane.wei c2ee03cebf FIX: fix a plate state not correct issue
JIRA: no-jira
the object and instance states lost after undo

Change-Id: I527df9a7d426d994501a4ed5bbb198c7bbac810b
2023-11-09 10:09:10 +08:00
chunmao.guo 19cee75e48 FIX: [STUDIO-4946] use utf8 path to create sub process
Change-Id: I5873c114e8cd36978a7d50bf13c3aa7bf8b740ca
Jira: STUDIO-4946
2023-11-09 10:09:10 +08:00
Kunlong Ma 8e246b4165 FIX: ObjectSetting changed when search plate
JIRA: STUDIO-5095

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I39b1ad997d51ac4224ff5ad2b3555f56da4bd911
2023-11-09 10:09:10 +08:00
hu.wang 451a60fc1d NEW:p1 and x1 series added motor noise calibration
JIRA: 5085
Change-Id: Id73cc2d34b6130f215d81ffcdc39ba6b241445bf
2023-11-09 10:09:10 +08:00
tao wang 8a0c8ed671 ENH:just don't check the nozzle diameter
jira:[for nozzle check]

Change-Id: I678e7d62832eaa14b9be47d6dce70f29ebd601f6
2023-11-09 10:09:10 +08:00
maosheng.wei d2cec9453c FIX: create printer issue
Jira: 5034 5059 5053
5034 create printer but filament is repeat
5039 create successful dialog remove to center
5053 create existing printer copywriting adjustments and preset updates
Delete printer secondary confirmation dialog

Change-Id: Ifb3822d1e168459d2af11e02b31ecaf3719d338a
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
hu.wang eddd01fa26 FIX:N1 printer image in dark mode
JIRA:STUDIO-4057
Change-Id: I22c001d96839daf213d5096f6ff6e3d6398fa8c4
2023-11-09 10:09:10 +08:00
maosheng.wei 1ac8c3ef19 FIX: fix shard_ptr is null
Change-Id: I0187cf64ffbb08a2265a11900b5c865e9ac9678f
2023-11-09 10:09:10 +08:00
zhou.xu e9dbf52775 ENH:use on_render_rotate_gizmos() replace GLGizmoRotate3D::on_render()
Jira: STUDIO-4227
Change-Id: If9b9ea5596e59472d5fa87ac56aeb7f6ecc65643
2023-11-09 10:09:10 +08:00
zhou.xu 30faa26919 FIX:The plane should rotate around the world coordinate system
Jira: STUDIO-5054
Change-Id: I16e484b38d79cabd9473acf1abf3c5c6b0adc4c6
2023-11-09 10:09:10 +08:00
tao wang 542bc52b92 ENH:modified text with too low version
jira:[for low version]

Change-Id: I862a0defda976a35f326a8805e002330f2ed7fdf
2023-11-09 10:09:10 +08:00
xun.zhang ce2af1e011 ENH: default open support_interface_not_for_body
jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I48e084deb18633f9ec47a8ec4ec643163bf66318
2023-11-09 10:09:10 +08:00
maosheng.wei 342cab756e FIX: delete all compatible presets when delete third printer
Jira: XXXX

Change-Id: I1a294402627e7ab7a8c6701f20679b3d04aff059
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
maosheng.wei 5b5e5be07c FIX: add protection for get_model_task_thread thread
Jira: XXXX

Change-Id: I3cbc17d181a0e13c658f31eaeb6a4df878e6df41
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
tao wang eaa7abf518 ENH:add protection in threads
jira:[for random crash]

Change-Id: I6286012dd77abccba461f7cd72a6fc531a84c95f
2023-11-09 10:09:10 +08:00
tao wang 4fef36e04a ENH:display msg dialog once
jira:[for http error msg]

Change-Id: I12e9c155fdb567cac99c35b6feeef650269ba75d
2023-11-09 10:09:10 +08:00
tao wang 1d41b0a7a7 ENH:try again after subscription failure
jira:[Try again after subscription failure]

Change-Id: Ibfb1e8e26eb166d786a372632a86ef98030db034
2023-11-09 10:09:10 +08:00
Arthur 7efebe6bc6 ENH: improve first layer tree support
First layer support can't be top interface, and
min brim width of auto mode should be larger
than 0.

Jira: STUDIO-5010
Change-Id: I02f8b017b535f8a47965387e8679f692b1966e04
(cherry picked from commit 3e7d54abe352e8ab5f9d6492b5a86a96f9067f94)
2023-11-09 10:09:10 +08:00
tao wang 16881dfb3f ENH:no longer checking nozzle type
jira:[for nozzle type check]

Change-Id: I0e88445a264f21b0c11519e9a22a165d05611d14
2023-11-09 10:09:10 +08:00